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

Disassembly:
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.1000b270
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 ecx, dword [esp + 0x84]
mov edx, dword [ecx]
push edx
push edi
call fcn.1000b1d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x8c]
add esp, 0xc
mov dword [ecx], eax
mov dword [edx], eax
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x1000a8ed
mov edx, dword [0x100931b8]
cmp edx, eax
je 0x1000a8ef
xor esi, esi
test ecx, ecx
je 0x1000a907
mov ecx, dword [0x100931b8]
cmp ecx, eax
je 0x1000a907
mov dword [esp + 0x24], 1
jmp 0x1000a90f
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.10001040
add esp, 8
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x1000a959
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.10001060
add esp, 0x14
jmp 0x1000a971
mov eax, dword [0x1009c138]
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 0x100abf97
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 0x1000a9f0
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.100077f0
add esp, 0x18
jmp 0x1000aa15
test esi, esi
jne 0x1000aa15
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.1000b340
add esp, 0x14
mov eax, dword [edi + 0x3c]
mov ecx, dword [esp + 0x10]
test eax, eax
nop
mov edx, dword [ecx + 4]
je 0x1000aa44
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 0x1000aa64
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 0x100abf97
add esp, 0x14
mov eax, dword [edi + 0x3c]
test eax, eax
mov eax, dword [edi + 0x34]
je 0x1000aa82
mov edx, dword [eax*4 + 0x10093a58]
jmp 0x1000aa89
mov edx, dword [eax*4 + 0x100939d8]
test esi, esi
jne 0x1000aab7
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 0x100abf97
add esp, 0x18
jmp 0x1000aabb
mov eax, dword [esp + 0x3c]
test esi, esi
jne 0x1000aad8
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 0x100abf97
add esp, 0x10
mov eax, dword [0x100931c0]
mov ecx, dword [esp + 0x10]
cmp dword [ecx], eax
jne 0x1000ab09
mov eax, dword [esp + 0x38]
mov esi, dword [0x100931cc]
test eax, eax
jne 0x1000ab0f
mov eax, dword [esp + 0x80]
push edi
mov dword [ecx], esi
mov dword [eax], esi
call fcn.1000b290
add esp, 4
jmp 0x1000ab0f
mov esi, dword [0x100931cc]
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.10001170
mov ecx, dword [esp + 0x20]
add esp, 0x10
cmp dword [ecx], esi
je 0x1000ad90
mov esi, dword [ecx + 4]
xor ebp, ebp
mov eax, dword [edi]
add eax, 2
je 0x1000ad90
add ecx, 0x14
add ebx, 0x14
xor eax, eax
mov dword [esp + 0x24], ecx
mov al, byte [0x100930f8]
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 0x1000abf2
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x1000abb4
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 0x1000abaa
call 0x100abf97
add esp, 0x1c
jmp 0x1000abe8
call 0x100abf97
add esp, 0x1c
jmp 0x1000abe8
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 0x100abf97
add esp, 0x20
xor ebx, ebx
mov bl, byte [0x1009305c]
jmp 0x1000ac3c
jne 0x1000ac02
mov ecx, dword [esp + 0x74]
xor ebx, ebx
mov bl, byte [0x10093060]
jmp 0x1000ac0e
mov ecx, dword [esp + 0x78]
xor ebx, ebx
mov bl, byte [0x10093064]
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 0x100abf97
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.100013c0
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x28]
add esp, 0x14
mov cl, byte [0x100930e8]
push ecx
push 0
push eax
call fcn.10001a7c
lea ecx, [esp + 0x20]
add esp, 0xc
push 1
push 1
push ecx
call fcn.10001a7c
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x20]
add esp, 0xc
mov cl, byte [0x100930f4]
push ecx
push edx
push eax
call fcn.10001a7c
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 [0x100930fc]
push ecx
push 0
push edx
call fcn.10001a7c
lea ecx, [esp + 0x20]
add esp, 0xc
push ecx
call fcn.10001afd
add esp, 4
mov ecx, dword [edi + 0x3c]
test ecx, ecx
jne 0x1000acff
test ebp, ebp
jne 0x1000acff
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.100018c4
add esp, 0x10
jmp 0x1000ad20
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.100016d0
add esp, 0x14
lea eax, [esp + 0x14]
add esi, 0x1c
push eax
inc ebp
call fcn.10001afd
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.1000aed0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x5c]
add esp, 0xc
add ecx, eax
mov al, byte [0x100930fc]
nop
mov dword [esp + 0x14], ecx
push eax
sub ecx, ebx
shr ecx, 3
push ecx
push edx
call fcn.10001a7c
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 0x1000ab5f
mov eax, dword [0x100931b8]
mov ecx, dword [esp + 0x80]
cmp dword [ecx], eax
jne 0x1000ae1b
mov eax, dword [str._r_nVer_4.30.62.01_r_n]
mov ebx, dword [0x100a0884]
mov dword [esp + 0x3c], eax
mov ebp, dword [0x100a0888]
mov dword [esp + 0x40], ebx
mov eax, dword [0x100a088c]
mov bx, word [0x100a0890]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], eax
mov ecx, str._r_nVer_4.30.62.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 0x1000adf1
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.10001a7c
add esp, 0xc
mov ecx, dword [edi + 0x38]
inc ecx
mov eax, dword [edi + 0x30]
mov dword [edi + 0x38], ecx
test eax, eax
je 0x1000aec3
mov ecx, dword [esp + 0x90]
mov edx, dword [edi + 8]
mov eax, dword [ecx]
push eax
push edx
call fcn.10001130
add esp, 8
mov eax, dword [section..rdata]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret