Function at 0x10301160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc4
mov eax, dword [0x1041020c]
xor eax, esp
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xd0]
push ebx
push ebp
mov ebp, dword [esp + 0xd4]
push esi
mov esi, dword [esp + 0xd4]
mov dword [esp + 0xc], 0
push edi
mov dword [esp + 0x58], esi
mov ebx, dword [esi]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x4c], ecx
movzx eax, word [ebx + 0x122]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3c], edi
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0
cmp ecx, eax
jbe 0x103011ca
mov word [ebx + 0x122], cx
test byte [esi + 0x10], 1
mov dword [esi + 0x14], ebp
jne 0x103011e5
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], edx
jmp 0x103011ee
mov ecx, 0x10000
mov dword [esp + 0x2c], ecx
mov eax, dword [ebx + 0x80]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x10301267
mov eax, dword [ecx]
lea edx, [esp + 0x78]
push edx
push ebp
push dword [ecx + 4]
mov eax, dword [eax]
call eax
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10301c0c
mov dword [esp + 0x30], eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x7c]
push eax
push dword [esp + 0x7c]
mov dword [esi + 0x1c], eax
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x27], 1
movups xmmword [esp + 0x8c], xmm0
movups xmmword [esp + 0x9c], xmm0
movq qword [esp + 0xac], xmm0
call fcn.102dfbd0
lea eax, [esp + 0x8c]
mov dword [esi + 0x18], eax
jmp 0x10301276
lea eax, [esi + 0x1c]
push eax
push ebp
push ebx
call fcn.102fba80
mov dword [esp + 0x3c], eax
mov edx, dword [esi + 0x1c]
add esp, 0xc
test edx, edx
jle 0x10301308
mov ecx, dword [ebx + 0x2b0]
test ecx, ecx
jne 0x103012a7
mov eax, dword [ebx + 0x80]
cmp dword [eax + 0x34], ecx
jne 0x103012a7
mov eax, 8
mov dword [esp + 0x10], eax
jmp 0x10301be6
mov eax, dword [esp + 0x30]
push edx
add eax, ecx
push eax
mov eax, dword [ebx + 0x208]
push ebp
push esi
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10301be6
mov eax, dword [ebx + 0x210]
push esi
mov byte [esp + 0x1e], 1
call eax
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10301bd6
push ebp
push esi
call fcn.102ffdb0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10301bd6
cmp byte [esp + 0xe4], al
jne 0x10301bd6
cmp dword [esi + 0x1c], 0
je 0x103019c0
cmp word [esi + 0x20], 0
je 0x103019c0
push esi
call fcn.103010b0
push ebp
push esi
call fcn.102ffe70
movzx eax, word [esi + 0x20]
add esp, 0xc
test ax, ax
jle 0x10301377
mov eax, dword [ebx + 0x214]
push esi
call eax
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10301bcf
mov eax, dword [ebx + 0x20c]
push esi
call eax
push esi
call fcn.10300a20
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10301be6
push edi
call fcn.102de130
jmp 0x10301bdf
cmp ax, 0xffff
jne 0x103019b6
mov eax, dword [ebx + 0x64]
lea ecx, [esi + 0xcc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
test ecx, ecx
jne 0x1030139a
xor edi, edi
jmp 0x103013c2
mov edi, dword [ecx]
test edi, edi
je 0x103013ac
test eax, eax
je 0x103013ae
mov edi, dword [edi + 4]
dec eax
test edi, edi
jne 0x103013a0
xor edi, edi
mov eax, edi
test edi, edi
je 0x103013c2
mov dword [eax + 8], 0xffffffff
mov eax, dword [eax + 4]
test eax, eax
jne 0x103013b4
push ebp
push ecx
call fcn.102e0740
add esp, 8
test eax, eax
je 0x103013da
mov eax, 0x15
jmp 0x10301bcb
test edi, edi
je 0x103013e3
mov dword [edi + 8], ebp
jmp 0x10301417
lea eax, [esp + 0x10]
push eax
push 0xc
push dword [esp + 0x24]
call fcn.102dd9c0
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10301bcf
push ecx
lea eax, [esi + 0xcc]
mov dword [ecx + 8], ebp
push eax
call fcn.102e0770
add esp, 8
mov edi, dword [esp + 0x3c]
push esi
movsx eax, word [edi + 0x16]
mov dword [esp + 0x34], eax
movsx eax, word [edi + 0x14]
mov dword [esp + 0xcc], eax
mov eax, dword [ebx + 0x218]
call eax
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10301bcf
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x20c]
push esi
call eax
add esp, 4
cmp byte [ebx + 0x2bc], 0
jne 0x1030173e
movzx eax, word [edi + 0x54]
mov ecx, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], ecx
add eax, 4
lea ecx, [esp + 0x10]
mov word [esp + 0x5e], ax
push ecx
push 0
mov word [esp + 0x64], ax
cwde
push eax
push 0
push 8
push dword [esp + 0x30]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x4c], eax
call fcn.102dda70
add esp, 0x18
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], 0
jne 0x1030170d
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x3c]
push 0
push 1
push dword [esp + 0x30]
call fcn.102dda70
add esp, 0x18
mov dword [esp + 0x24], eax
cmp dword [esp + 0x10], 0
jne 0x1030170d
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x3c]
push 0
push 2
push dword [esp + 0x30]
call fcn.102dda70
add esp, 0x18
mov dword [esp + 0x20], eax
cmp dword [esp + 0x10], 0
jne 0x1030170d
mov ecx, dword [edi + 0x58]
xor ebp, ebp
xor edx, edx
cmp bp, word [esp + 0x38]
mov ebp, dword [esp + 0x54]
jge 0x10301571
mov ebp, dword [esp + 0x24]
add ecx, 0xc
mov edi, dword [esp + 0x14]
mov ebx, eax
mov esi, dword [esp + 0x38]
nop dword [eax + eax]
mov eax, dword [ecx - 4]
lea edi, [edi + 8]
mov dword [edi - 8], eax
lea ebp, [ebp + 1]
mov eax, dword [ecx]
lea ebx, [ebx + 2]
mov dword [edi - 4], eax
lea ecx, [ecx + 0x20]
mov byte [ebp - 1], 1
mov word [ebx - 2], dx
inc edx
cmp dx, si
jl 0x10301540
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov eax, dword [esi + 0x44]
mov edi, dword [esp + 0x14]
movsx ecx, dx
push dword [esp + 0x34]
mov dword [edi + ecx*8], eax
mov eax, dword [esi + 0x48]
mov dword [edi + ecx*8 + 4], eax
mov eax, dword [esp + 0x28]
mov byte [ecx + eax], 1
mov eax, dword [esp + 0x24]
mov word [eax + ecx*2], dx
inc edx
mov eax, dword [esi + 0x4c]
movsx ecx, dx
mov dword [edi + ecx*8], eax
mov eax, dword [esi + 0x50]
mov dword [edi + ecx*8 + 4], eax
mov eax, dword [esp + 0x28]
mov byte [ecx + eax], 1
mov eax, dword [esp + 0x24]
mov word [eax + ecx*2], dx
inc edx
mov eax, dword [esi + 0xb4]
movsx ecx, dx
mov dword [edi + ecx*8], eax
mov eax, dword [esi + 0xb8]
mov dword [edi + ecx*8 + 4], eax
mov eax, dword [esp + 0x28]
mov byte [ecx + eax], 1
mov eax, dword [esp + 0x24]
mov word [eax + ecx*2], dx
inc edx
mov eax, dword [esi + 0xbc]
movsx ecx, dx
mov dword [edi + ecx*8], eax
mov eax, dword [esi + 0xc0]
mov dword [edi + ecx*8 + 4], eax
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x6c], eax
mov byte [ecx + edi], 1
mov word [eax + ecx*2], dx
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0x18]
push eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x68], ecx
mov ecx, edi
push ebp
push ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x74], ecx
call fcn.102ff6e0
mov edi, dword [esp + 0x4c]
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1030170d
mov eax, dword [esp + 0x38]
xor ebp, ebp
mov ecx, dword [edi + 0x58]
xor edx, edx
cmp bp, ax
jge 0x10301686
mov edx, dword [esp + 0x14]
add ecx, 8
movzx ebp, ax
mov eax, ebp
mov dword [esp + 0x50], eax
test byte [ecx - 4], 2
je 0x10301677
movsx eax, word [edx]
mov dword [ecx], eax
movsx eax, word [edx + 4]
mov dword [ecx + 4], eax
add edx, 8
add ecx, 0x20
sub ebp, 1
jne 0x10301665
mov edx, dword [esp + 0x50]
movsx ecx, dx
mov edx, dword [esp + 0x14]
mov ebp, dword [edx + ecx*8]
mov dword [esi + 0x44], ebp
mov eax, dword [edx + ecx*8 + 4]
mov dword [esi + 0x48], eax
mov edx, dword [edx + ecx*8 + 8]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x4c], edx
mov eax, dword [eax + ecx*8 + 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx*8 + 0x10]
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx*8 + 0x14]
mov dword [esi + 0xb8], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx*8 + 0x18]
mov dword [esi + 0xbc], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx*8 + 0x1c]
mov dword [esi + 0xc0], eax
test byte [ebx + 0x2c0], 2
jne 0x103016f2
sub edx, ebp
mov dword [esi + 0x3c], edx
test byte [ebx + 0x2c0], 0x10
jne 0x1030170d
mov eax, dword [esi + 0xbc]
sub eax, dword [esi + 0xb4]
mov dword [esi + 0xb0], eax
push dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
push ebp
call fcn.102ddbf0
push dword [esp + 0x4c]
push ebp
call fcn.102ddbf0
push dword [esp + 0x58]
push ebp
call fcn.102ddbf0
mov eax, dword [esp + 0x28]
add esp, 0x18
test eax, eax
jne 0x10301be6
test byte [esi + 0x10], 1
jne 0x103017b1
mov ebp, dword [esp + 0x40]
push ebp
push dword [esi + 0x44]
call fcn.102dd040
push ebp
push dword [esi + 0x4c]
mov dword [esi + 0x44], eax
call fcn.102dd040
push ebp
push dword [esi + 0xb4]
mov dword [esi + 0x4c], eax
call fcn.102dd040
push dword [esp + 0x44]
mov dword [esi + 0xb4], eax
push dword [esi + 0xb8]
call fcn.102dd040
push ebp
push dword [esi + 0xbc]
mov dword [esi + 0xb8], eax
call fcn.102dd040
push dword [esp + 0x54]
mov dword [esi + 0xbc], eax
push dword [esi + 0xc0]
call fcn.102dd040
add esp, 0x30
mov dword [esi + 0xc0], eax
test dword [esi + 0x10], 0x400
je 0x103017cf
push edi
call fcn.102de130
mov eax, dword [esi + 8]
mov dword [eax + 0x48], 0x636f6d70
jmp 0x10301bdf
mov ebp, dword [esp + 0x3c]
xor edi, edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
push ebp
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x74], eax
call fcn.102de130
add esp, 4
mov dword [esp + 0x48], edi
cmp dword [esp + 0x44], edi
jbe 0x10301959
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
inc edx
shl ecx, 5
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp + 0x34]
add eax, ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0xb4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0xc0]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x3c]
push 0
push edx
push dword [eax]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0xb0]
mov dword [esp + 0x2c], ecx
movsx ecx, word [ebp + 0x16]
push esi
mov dword [esp + 0x5c], ecx
call fcn.10301160
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10301be6
mov edi, dword [ebp + 0x34]
mov edx, 0x200
mov ecx, dword [esp + 0x1c]
add edi, ecx
test word [edi + 4], dx
jne 0x10301909
mov edx, dword [esp + 0x50]
mov dword [esi + 0x44], edx
mov edx, dword [esp + 0x58]
mov dword [esi + 0x48], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x4c], edx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x50], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0xb4], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0xb8], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0xbc], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0xc0], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x3c], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0xb0], edx
movsx edx, word [ebp + 0x16]
mov dword [esp + 0x28], edx
cmp edx, dword [esp + 0x4c]
je 0x10301939
push dword [esp + 0x4c]
push dword [esp + 0x34]
push edi
push esi
call fcn.10300ca0
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10301be6
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
add ecx, 0x20
inc edx
mov dword [esp + 0x1c], ecx
cmp edx, dword [esp + 0x44]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x24]
jb 0x10301824
jmp 0x1030195d
mov eax, dword [esp + 0x10]
test byte [esi + 0x10], 2
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x70]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x74]
mov dword [esi + 0xa4], ecx
jne 0x10301be6
mov ecx, 0x100
test word [edi + 4], cx
je 0x10301be6
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x28], ecx
jbe 0x10301be6
push dword [esp + 0xc8]
push ecx
push esi
call fcn.10300e80
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x10301be6
mov eax, 0x14
jmp 0x10301bcb
push ebp
push esi
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
call fcn.102ffdb0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10301bcf
cmp byte [esp + 0xe4], al
jne 0x10301bcf
push esi
call fcn.103010b0
push ebp
push esi
call fcn.102ffe70
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x2bc], 0
jne 0x10301b58
mov eax, dword [esi + 0x44]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0xb0], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0xb4], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0xb8], eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 0xbc], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x64], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push 4
push eax
push ebp
push ecx
mov dword [esp + 0x30], 0x1010101
mov dword [esp + 0xd8], 0x10000
mov dword [esp + 0xdc], 0x30002
mov dword [esp + 0x6c], 0x40004
call fcn.102ff6e0
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10301bcf
mov eax, dword [esp + 0xac]
mov edi, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb8]
mov ecx, dword [esp + 0xc0]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0xb4]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0xbc]
mov dword [esi + 0xb8], eax
mov eax, dword [esp + 0xc4]
mov dword [esi + 0xc0], eax
mov eax, dword [esi]
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edx
mov dword [esi + 0xb4], ebp
mov dword [esi + 0xbc], ecx
test byte [eax + 0x2c0], 2
jne 0x10301b47
sub edx, edi
mov dword [esi + 0x3c], edx
test byte [eax + 0x2c0], 0x10
jne 0x10301b58
sub ecx, ebp
mov dword [esi + 0xb0], ecx
test byte [esi + 0x10], 1
jne 0x10301bc9
mov ebp, dword [esp + 0x40]
push ebp
push dword [esi + 0x44]
call fcn.102dd040
push ebp
push dword [esi + 0x4c]
mov dword [esi + 0x44], eax
call fcn.102dd040
push ebp
push dword [esi + 0xb4]
mov dword [esi + 0x4c], eax
call fcn.102dd040
mov edi, dword [esp + 0x44]
push edi
push dword [esi + 0xb8]
mov dword [esi + 0xb4], eax
call fcn.102dd040
push ebp
push dword [esi + 0xbc]
mov dword [esi + 0xb8], eax
call fcn.102dd040
push edi
push dword [esi + 0xc0]
mov dword [esi + 0xbc], eax
call fcn.102dd040
add esp, 0x30
mov dword [esi + 0xc0], eax
xor eax, eax
mov dword [esp + 0x10], eax
cmp byte [esp + 0x1a], 0
je 0x10301be6
mov eax, dword [ebx + 0x20c]
push esi
call eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x10301c0c
mov eax, dword [ebx + 0x80]
lea edx, [esp + 0x78]
push edx
mov eax, dword [eax + 0x34]
mov ecx, dword [eax]
push dword [eax + 4]
mov eax, dword [ecx + 4]
call eax
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1033bd36
add esp, 0xc4
ret