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

Disassembly:
push ebp
mov ebp, esp
movzx edx, word [eax + 0x44]
movzx ecx, word [eax + 0x42]
mov dword [ebp - 4], ecx
sub esp, 0x10
test esi, esi
mov dword [ebp - 8], edx
jne 0x10016f31
or eax, 0xffffffff
leave
ret
and dword [ebp - 0xc], 0
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], eax
lea eax, [esi + 4]
push eax
inc ebx
lea eax, [ebp - 0x10]
push 0x31
push ecx
push ebx
push eax
call fcn.10015881
mov edi, eax
lea eax, [esi + 8]
push eax
push 0x32
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0xc]
push eax
push 0x33
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x10]
push eax
push 0x34
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
sub esp, 0xffffffb0
or edi, eax
lea eax, [esi + 0x14]
push eax
push 0x35
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x18]
push eax
push 0x36
push dword [ebp - 4]
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.10015881
push esi
push 0x37
or edi, eax
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x20]
push eax
push 0x2a
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10015881
add esp, 0x50
or edi, eax
lea eax, [esi + 0x24]
push eax
lea eax, [ebp - 0x10]
push 0x2b
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x28]
push eax
lea eax, [ebp - 0x10]
push 0x2c
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x2c]
push eax
lea eax, [ebp - 0x10]
push 0x2d
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x30]
push eax
push 0x2e
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10015881
add esp, 0x50
or edi, eax
lea eax, [esi + 0x34]
push eax
push 0x2f
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x10]
push 0x30
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x38]
push eax
push 0x44
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x3c]
push eax
lea eax, [ebp - 0x10]
push 0x45
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
add esp, 0x50
or edi, eax
lea eax, [esi + 0x40]
push eax
push 0x46
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x44]
push eax
lea eax, [ebp - 0x10]
push 0x47
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x48]
push eax
push 0x48
push dword [ebp - 4]
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x4c]
push eax
push 0x49
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10015881
add esp, 0x50
or edi, eax
lea eax, [esi + 0x50]
push eax
lea eax, [ebp - 0x10]
push 0x4a
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x54]
push eax
push 0x4b
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x58]
push eax
lea eax, [ebp - 0x10]
push 0x4c
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x5c]
push eax
lea eax, [ebp - 0x10]
push 0x4d
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
add esp, 0x50
or edi, eax
lea eax, [esi + 0x60]
push eax
push 0x4e
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x64]
push eax
lea eax, [ebp - 0x10]
push 0x4f
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x68]
push eax
lea eax, [ebp - 0x10]
push 0x38
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x6c]
push eax
push 0x39
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10015881
add esp, 0x50
or edi, eax
lea eax, [esi + 0x70]
push eax
push 0x3a
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x74]
push eax
lea eax, [ebp - 0x10]
push 0x3b
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x78]
push eax
push 0x3c
push dword [ebp - 4]
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x7c]
push eax
lea eax, [ebp - 0x10]
push 0x3d
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
sub esp, 0xffffffb0
or edi, eax
lea eax, [esi + 0x80]
push eax
lea eax, [ebp - 0x10]
push 0x3e
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x84]
push eax
lea eax, [ebp - 0x10]
push 0x3f
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x88]
push eax
push 0x40
push dword [ebp - 4]
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x8c]
push eax
lea eax, [ebp - 0x10]
push 0x41
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
sub esp, 0xffffffb0
or edi, eax
lea eax, [esi + 0x90]
push eax
lea eax, [ebp - 0x10]
push 0x42
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x94]
push eax
push 0x43
push dword [ebp - 4]
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x98]
push eax
push 0x28
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0x9c]
push eax
lea eax, [ebp - 0x10]
push 0x29
push dword [ebp - 4]
push ebx
push eax
call fcn.10015881
sub esp, 0xffffffb0
or edi, eax
lea eax, [esi + 0xa0]
push eax
lea eax, [ebp - 0x10]
push 0x1f
push dword [ebp - 8]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0xa4]
push eax
lea eax, [ebp - 0x10]
push 0x20
push dword [ebp - 8]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [esi + 0xa8]
push eax
lea eax, [ebp - 0x10]
push 0x1003
push dword [ebp - 8]
push ebx
push eax
call fcn.10015881
or edi, eax
lea eax, [ebp - 0x10]
lea ebx, [esi + 0xb0]
push ebx
push 0x1009
mov ebx, dword [ebp - 8]
push ebx
push 0
push eax
call fcn.10015881
sub esp, 0xffffffb0
or edi, eax
mov eax, edi
pop edi
mov dword [esi + 0xac], ebx
pop ebx
leave
ret