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

Disassembly:
jmp 0x1000a400
sub esp, 0x58
push ebx
push esi
push edi
mov esi, 1
mov edi, dword [esp + 0x68]
push ebp
mov byte [esp + 0x1c], 0
mov eax, dword [edi + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], eax
push edi
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x1c], eax
nop
mov byte [eax], 0
call fcn.1000b0a0
mov ecx, dword [edi + 0x18]
mov eax, ecx
shl ecx, 3
sub ecx, eax
add esp, 4
mov edx, dword [edi + 4]
lea eax, [edx + ecx*8]
mov ecx, dword [edi + 0x1c]
mov ebx, ecx
mov dword [esp + 0x10], eax
shl ecx, 3
lea eax, [esp + 0x30]
sub ecx, ebx
push eax
lea ebx, [edx + ecx*8]
mov edx, dword [esp + 0x84]
mov ecx, dword [edx]
push ecx
push edi
call fcn.1000afe0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x8c]
add esp, 0xc
nop
mov dword [ecx], eax
mov ecx, eax
mov eax, dword [esp + 0x88]
mov dword [edx], ecx
test eax, eax
je 0x1000a4a0
mov edx, dword [0x1000f1b8]
cmp edx, ecx
je 0x1000a4a2
xor esi, esi
test eax, eax
je 0x1000a4b9
mov eax, dword [0x1000f1b8]
cmp eax, ecx
je 0x1000a4b9
mov dword [esp + 0x24], 1
jmp 0x1000a4c1
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx]
mov edx, dword [edi + 8]
cmp eax, 1
sbb eax, eax
inc eax
mov dword [edi + 0x30], eax
mov eax, dword [ecx]
push eax
push edx
call fcn.1000106e
add esp, 8
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x1000a50b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x7c]
mov eax, dword [ecx]
mov ecx, dword [edi + 0x34]
push eax
push edx
push ecx
mov eax, dword [edi + 0x38]
push eax
mov edx, dword [edi + 8]
push edx
call fcn.10001046
add esp, 0x14
jmp 0x1000a523
mov eax, dword [0x10041538]
mov ebp, 0x64
dec eax
sub edx, edx
imul eax, dword [esp + 0x84]
div ebp
inc eax
mov edx, dword [edi + 0xc]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x34]
push eax
push ecx
push edx
mov eax, dword [edi + 0x10]
push eax
mov ecx, dword [edi]
mov edx, dword [esp + 0x20]
push ecx
push edx
call 0x1005cf97
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
lea eax, [eax + edx - 1]
sub edx, edx
div dword [ecx + 8]
mov ebp, eax
mov edx, dword [ecx + 8]
mov eax, dword [ecx]
lea eax, [eax + edx - 1]
sub edx, edx
div dword [ecx + 8]
imul ebp, eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x34], ebp
test eax, eax
je 0x1000a5a2
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x2c]
mov edx, dword [ecx + 0x14]
push eax
mov ecx, dword [edi + 0x10]
push edx
mov eax, dword [edi + 0x14]
push eax
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
call fcn.10001096
add esp, 0x18
jmp 0x1000a5c7
test esi, esi
jne 0x1000a5c7
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x14]
mov eax, dword [ecx + 0x2c]
mov ecx, dword [edi + 0x10]
push eax
push edx
push ecx
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x7c]
push eax
push edx
call fcn.10001032
add esp, 0x14
mov eax, dword [edi + 0x3c]
mov ecx, dword [esp + 0x10]
test eax, eax
nop
mov edx, dword [ecx + 4]
je 0x1000a5f6
add ecx, 0x34
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 8]
mov eax, dword [ebp]
mov ebp, dword [edx + 4]
push eax
push ecx
push ebp
mov eax, dword [edx]
mov ecx, dword [esp + 0x2c]
push eax
jmp 0x1000a616
add ecx, 0x34
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov eax, dword [ebp]
push eax
mov eax, dword [edx + 8]
shr eax, 1
push eax
mov eax, dword [edx + 4]
shr eax, 1
push eax
mov eax, dword [edx]
shr eax, 1
push eax
mov edx, dword [ecx]
push edx
call 0x1005cf97
add esp, 0x14
mov eax, dword [edi + 0x3c]
test eax, eax
mov eax, dword [edi + 0x34]
je 0x1000a634
mov edx, dword [eax*4 + 0x1000fc58]
jmp 0x1000a63b
mov edx, dword [eax*4 + 0x1000fbd8]
test esi, esi
jne 0x1000a669
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
mov ebp, dword [ebx + 0x2c]
mov ecx, dword [ecx + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push ecx
sub ecx, ebp
push ecx
mov ecx, dword [eax]
push ecx
call fcn.100010af
add esp, 0x18
jmp 0x1000a66d
mov eax, dword [esp + 0x3c]
test esi, esi
jne 0x1000a68a
mov ecx, dword [edi + 0x34]
push ecx
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax]
push edx
push ecx
call section..text
add esp, 0x10
mov eax, dword [0x1000f1c0]
mov ecx, dword [esp + 0x10]
cmp dword [ecx], eax
jne 0x1000a6bb
mov eax, dword [esp + 0x38]
mov esi, dword [0x1000f1cc]
test eax, eax
jne 0x1000a6c1
mov edx, dword [esp + 0x80]
push edi
mov dword [ecx], esi
mov dword [edx], esi
call fcn.1000b0c0
add esp, 4
jmp 0x1000a6c1
mov esi, dword [0x1000f1cc]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x5c]
mov eax, dword [ecx]
lea ecx, [esp + 0x14]
push eax
push edi
push edx
push ecx
call fcn.10001050
mov ecx, dword [esp + 0x20]
add esp, 0x10
cmp dword [ecx], esi
je 0x1000a942
mov esi, dword [ecx + 4]
xor ebp, ebp
mov eax, dword [edi]
add eax, 2
je 0x1000a942
add ecx, 0x14
add ebx, 0x14
xor eax, eax
mov dword [esp + 0x24], ecx
mov al, byte [0x1000f0f8]
mov dword [esp + 0x2c], ebx
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
cmp eax, ebp
jbe 0x1000a7a4
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x1000a766
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp eax, 3
mov eax, dword [esp + 0x30]
push eax
push ebp
push ecx
mov eax, dword [edx]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [ecx]
push edx
mov ecx, dword [eax]
push ecx
push esi
je 0x1000a75c
call fcn.10001087
add esp, 0x1c
jmp 0x1000a79a
call fcn.10001091
add esp, 0x1c
jmp 0x1000a79a
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x24]
lea edx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
mov edx, dword [esp + 0x30]
mov ecx, dword [eax]
push ecx
mov ecx, dword [esp + 0x80]
mov eax, dword [edx]
mov edx, dword [esp + 0x30]
push eax
push ecx
mov eax, dword [edx]
push eax
push esi
call fcn.1000109b
add esp, 0x20
xor ebx, ebx
mov bl, byte [0x1000f05c]
jmp 0x1000a7ee
jne 0x1000a7b4
mov ecx, dword [esp + 0x74]
xor ebx, ebx
mov bl, byte [0x1000f060]
jmp 0x1000a7c0
mov ecx, dword [esp + 0x78]
xor ebx, ebx
mov bl, byte [0x1000f064]
mov eax, dword [esp + 0x30]
mov edx, dword [edi + 0x24]
push eax
push edx
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x34]
push eax
nop
mov eax, dword [edx]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [edx]
push eax
push ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
push edx
push esi
call fcn.1000104b
add esp, 0x20
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
mov eax, dword [ecx]
push eax
push esi
push ebx
push ebp
push edx
call fcn.1000100f
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x28]
add esp, 0x14
mov cl, byte [0x1000f0e8]
push ecx
push 0
push eax
call fcn.1000108c
lea ecx, [esp + 0x20]
add esp, 0xc
push 1
push 1
push ecx
call fcn.1000108c
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x20]
add esp, 0xc
mov cl, byte [0x1000f0f4]
push ecx
push edx
push eax
call fcn.1000108c
lea eax, [esp + 0x20]
lea ecx, [esp + 0x5c]
add esp, 0xc
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
lea edx, [esp + 0x14]
mov dword [ecx + 8], eax
mov cl, byte [0x1000f0fc]
push ecx
push 0
push edx
call fcn.1000108c
lea ecx, [esp + 0x20]
add esp, 0xc
push ecx
call fcn.10001014
add esp, 4
mov ecx, dword [edi + 0x3c]
test ecx, ecx
jne 0x1000a8b1
test ebp, ebp
jne 0x1000a8b1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx]
mov ecx, dword [edx]
lea edx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x38]
push ecx
push eax
push edx
call fcn.10001055
add esp, 0x10
jmp 0x1000a8d2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx]
mov ecx, dword [edx]
lea edx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x38]
push ecx
push eax
push ebp
push edx
call fcn.1000105f
add esp, 0x14
lea eax, [esp + 0x14]
add esi, 0x1c
push eax
inc ebp
call fcn.10001014
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
add esp, 4
mov ecx, dword [edi + 0x20]
sub eax, ecx
push eax
push edx
push ecx
call fcn.1000ac30
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x5c]
add esp, 0xc
add ecx, eax
mov al, byte [0x1000f0fc]
nop
mov dword [esp + 0x14], ecx
push eax
sub ecx, ebx
shr ecx, 3
push ecx
push edx
call fcn.1000108c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
add esp, 0xc
add eax, 4
add ecx, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
mov eax, dword [edi]
add eax, 2
cmp eax, ebp
ja 0x1000a711
mov eax, dword [0x1000f1b8]
mov edx, dword [esp + 0x80]
cmp dword [edx], eax
jne 0x1000a9cd
mov eax, dword [str._r_nVer_4.30.64.01_r_n]
mov ebx, dword [0x10051630]
mov dword [esp + 0x3c], eax
mov ebp, dword [0x10051634]
mov dword [esp + 0x40], ebx
mov eax, dword [0x10051638]
mov bx, word [0x1005163c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], eax
mov ecx, str._r_nVer_4.30.64.01_r_n
mov word [esp + 0x4c], bx
lea edx, [esp + 0x3c]
mov cl, byte [ecx + 0x12]
mov eax, edx
mov byte [edx + 0x12], cl
mov esi, dword [esp + 0x18]
inc esi
mov ecx, 0x13
mov dword [esp + 0x18], esi
mov dl, byte [eax]
mov esi, dword [esp + 0x18]
inc eax
nop
mov byte [esi], dl
mov esi, dword [esp + 0x18]
inc esi
dec ecx
mov dword [esp + 0x18], esi
jne 0x1000a9a3
mov eax, dword [esp + 0x14]
lea ecx, [esi - 1]
add eax, 0x98
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov cl, 0x20
xor eax, eax
mov al, byte [esp + 0x1c]
mov edx, dword [esp + 0x14]
add eax, edx
cdq
xor eax, edx
sub eax, edx
and eax, 0x1f
xor eax, edx
sub eax, edx
xor edx, edx
sub cl, al
mov ebx, dword [esp + 0x18]
mov al, cl
shr al, 3
mov dl, al
add edx, 4
add ebx, edx
mov dword [esp + 0x18], ebx
inc ebx
xor eax, eax
mov dword [esp + 0x18], ebx
mov al, cl
mov byte [ebx], 0
mov ebx, dword [esp + 0x18]
add eax, 0x30
inc ebx
mov dword [esp + 0x18], ebx
mov byte [ebx], 0
mov edx, dword [esp + 0x14]
add edx, eax
xor eax, eax
mov al, byte [esp + 0x1c]
mov dword [esp + 0x14], edx
add eax, edx
mov ecx, dword [esp + 0x90]
cdq
and edx, 7
push 0x18
add eax, edx
lea edx, [esp + 0x60]
sar eax, 3
mov dword [ecx], eax
sub eax, 2
push eax
push edx
call fcn.1000108c
add esp, 0xc
mov ecx, dword [edi + 0x38]
inc ecx
mov eax, dword [edi + 0x30]
mov dword [edi + 0x38], ecx
test eax, eax
je 0x1000aa75
mov ecx, dword [esp + 0x90]
mov edx, dword [edi + 8]
mov eax, dword [ecx]
push eax
push edx
call fcn.10001064
add esp, 8
mov eax, dword [section..rdata]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret