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

Disassembly:
push 0xffffffffffffffff
push 0x1016c240
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0xfc]
or ebp, 0xffffffff
push ebp
push 0
lea eax, [edi + 0x2c]
push eax
mov ecx, esi
call fcn.10001ec0
push ebp
push 0
lea ecx, [edi + 0x64]
push ecx
lea ecx, [esi + 0x1c]
call fcn.10001ec0
mov ecx, dword [edi + 0x178]
test ecx, ecx
je 0x100384ae
push 0
lea edx, [esp + 0xd4]
push edx
call fcn.1012e36b
push ebp
push 0
push eax
lea ecx, [esi + 0x58]
mov dword [esp + 0x100], 0
call fcn.10001ec0
mov ebx, 0x10
cmp dword [esp + 0xe8], ebx
mov dword [esp + 0xf4], ebp
jb 0x100383cf
mov eax, dword [esp + 0xd4]
push eax
call fcn.10149646
add esp, 4
push 0
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [edi + 0x178]
call fcn.1012e63e
push ebp
push 0
push eax
lea ecx, [esi + 0x74]
mov dword [esp + 0x100], 1
call fcn.10001ec0
cmp dword [esp + 0xe8], ebx
mov dword [esp + 0xf4], ebp
jb 0x1003841b
mov edx, dword [esp + 0xd4]
push edx
call fcn.10149646
add esp, 4
mov ecx, dword [edi + 0x178]
push 0
call fcn.1012d140
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
mov ecx, dword [edi + 0x178]
call fcn.1012df29
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], edx
mov ecx, dword [edi + 0x178]
call fcn.1012d990
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], edx
mov ecx, dword [edi + 0x178]
call fcn.1012da0e
mov dword [esi + 0xc8], eax
mov eax, dword [esi + 0x50]
or eax, dword [esi + 0x54]
mov dword [esi + 0xcc], edx
je 0x100384ae
mov ecx, dword [edi + 0x178]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push 0
call eax
push 0
push 0x3e8
push edx
push eax
call fcn.1014a640
mov ecx, dword [esi + 0x54]
push ecx
mov ecx, dword [esi + 0x50]
push ecx
push edx
push eax
call fcn.1014b2e0
mov word [esi + 0xd8], ax
mov ecx, dword [edi + 0x1f20]
test ecx, ecx
mov ebp, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
je 0x10038651
push 1
call fcn.10043b50
mov ecx, eax
call fcn.100e89e6
mov dword [esi + 0xdc], eax
mov eax, dword [edi + 0x1f20]
add eax, 0x15c8
mov dword [esp + 0x1c], eax
add eax, 8
push eax
mov dword [esp + 0x18], eax
call ebp
mov edx, dword [esp + 0x1c]
movzx eax, byte [edx + 0x20]
mov ecx, dword [esp + 0x14]
push ecx
mov byte [esp + 0x1f], al
call ebx
mov dl, byte [esp + 0x1b]
mov byte [esi + 0xe0], dl
mov eax, dword [edi + 0x1f20]
add eax, 0x15ec
mov dword [esp + 0x14], eax
add eax, 8
push eax
mov dword [esp + 0x20], eax
call ebp
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov cl, byte [eax + 0x20]
push edx
mov byte [esp + 0x1f], cl
call ebx
movzx eax, byte [esp + 0x1b]
mov byte [esi + 0xe1], al
mov eax, dword [edi + 0x1f20]
add eax, 0x1610
mov dword [esp + 0x14], eax
add eax, 8
push eax
mov dword [esp + 0x20], eax
call ebp
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + 0x20]
push eax
mov dword [esp + 0x18], edx
call ebx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xe4], ecx
mov eax, dword [edi + 0x1f20]
add eax, 0x1634
mov dword [esp + 0x14], eax
add eax, 8
push eax
mov dword [esp + 0x20], eax
call ebp
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0x20]
push ecx
mov dword [esp + 0x18], eax
call ebx
mov edx, dword [esp + 0x14]
mov dword [esi + 0xe8], edx
mov eax, dword [edi + 0x1f20]
add eax, 0x1658
mov dword [esp + 0x14], eax
add eax, 8
push eax
mov dword [esp + 0x20], eax
call ebp
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x20]
push edx
mov dword [esp + 0x18], ecx
call ebx
mov eax, dword [esp + 0x14]
mov dword [esi + 0xec], eax
mov eax, dword [edi + 0x1f20]
add eax, 0x167c
mov dword [esp + 0x14], eax
add eax, 8
push eax
mov dword [esp + 0x20], eax
call ebp
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + 0x20]
push eax
mov dword [esp + 0x18], edx
call ebx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xf0], ecx
mov eax, dword [edi + 0x1f20]
add eax, 0x16a0
mov dword [esp + 0x14], eax
add eax, 8
push eax
mov dword [esp + 0x20], eax
call ebp
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0x20]
push ecx
mov dword [esp + 0x18], eax
call ebx
mov edx, dword [esp + 0x14]
mov dword [esi + 0xf4], edx
mov eax, dword [edi + 0x105]
mov dword [esi + 0x90], eax
mov ecx, dword [edi + 0x174]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov byte [esi + 0xf8], al
mov ecx, dword [edi + 0x174]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov byte [esi + 0xf9], al
cmp dword [edi + 4], 0
je 0x10038828
lea ecx, [esp + 0x78]
call fcn.10128965
mov eax, dword [edi + 4]
add eax, 0x1a8c
mov dword [esp + 0x14], eax
add eax, 8
push eax
mov byte [esp + 0x7c], 0
mov dword [esp + 0x20], eax
call ebp
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + 0x20]
push eax
mov dword [esp + 0x18], edx
call ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 4]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0x1ac4]
mov dword [esp + 0x14], eax
add eax, 0x1dc
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x20], eax
call ebp
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1ab8]
push edx
mov dword [esp + 0x18], ecx
call ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x1b98]
mov dword [esp + 0x88], ecx
mov edx, dword [eax + 0x1b9c]
mov dword [esp + 0x14], eax
add eax, 0x1bcc
push eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x20], eax
call ebp
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov cl, byte [eax + 0x1be4]
push edx
mov byte [esp + 0x1f], cl
call ebx
mov al, byte [esp + 0x1b]
mov byte [esp + 0x90], al
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x1ad0]
mov dword [esp + 0x94], ecx
mov edx, dword [eax + 0x1adc]
mov dword [esp + 0x98], edx
mov ecx, dword [eax + 0x1ae8]
mov dword [esp + 0x9c], ecx
mov edx, dword [eax + 0x1af4]
mov dword [esp + 0xa0], edx
mov ecx, dword [eax + 0x1b00]
mov dword [esp + 0xa4], ecx
mov edx, dword [eax + 0x1b0c]
mov dword [esp + 0xa8], edx
mov ecx, dword [eax + 0x1b18]
mov dword [esp + 0xac], ecx
mov edx, dword [eax + 0x1b24]
mov dword [esp + 0xb0], edx
mov ecx, dword [eax + 0x1b30]
mov dword [esp + 0xb4], ecx
mov edx, dword [eax + 0x1b3c]
mov dword [esp + 0xb8], edx
mov ecx, dword [eax + 0x1b48]
mov dword [esp + 0xbc], ecx
mov edx, dword [eax + 0x1b54]
mov dword [esp + 0xc0], edx
mov ecx, dword [eax + 0x1b60]
mov dword [esp + 0xc4], ecx
mov edx, dword [eax + 0x1b6c]
mov dword [esp + 0xc8], edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esi + 0xfc]
call fcn.10037ff0
add byte [esi + 0xfa], 1
cmp dword [edi + 0x180], 0
je 0x100389a3
lea ecx, [esp + 0x20]
call fcn.10128965
mov eax, dword [edi + 0x180]
add eax, 0x1a8c
mov dword [esp + 0x14], eax
add eax, 8
push eax
mov byte [esp + 0x24], 1
mov dword [esp + 0x20], eax
call ebp
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + 0x20]
push eax
mov dword [esp + 0x18], edx
call ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x180]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x1ac4]
mov dword [esp + 0x14], eax
add eax, 0x1dc
push eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
call ebp
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1ab8]
push edx
mov dword [esp + 0x18], ecx
call ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x180]
mov ecx, dword [eax + 0x1b98]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0x1b9c]
mov dword [esp + 0x14], eax
add eax, 0x1bcc
push eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], eax
call ebp
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov cl, byte [eax + 0x1be4]
push edx
mov byte [esp + 0x1f], cl
call ebx
mov al, byte [esp + 0x1b]
mov byte [esp + 0x38], al
mov eax, dword [edi + 0x180]
mov ecx, dword [eax + 0x1ad0]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x1adc]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x1ae8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x1af4]
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 0x1b00]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x1b0c]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 0x1b18]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0x1b24]
mov dword [esp + 0x58], edx
mov ecx, dword [eax + 0x1b30]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0x1b3c]
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 0x1b48]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0x1b54]
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0x1b60]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0x1b6c]
mov dword [esp + 0x70], edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0xfc]
call fcn.10037ff0
add byte [esi + 0xfa], 1
mov cx, word [edi + 0x20c6]
mov word [esi + 0x10c], cx
mov dx, word [edi + 0x20c8]
mov word [esi + 0x10e], dx
mov al, byte [edi + 0x20c4]
mov byte [esi + 0x110], al
cmp byte [edi + 0x20ca], 0
setne cl
mov byte [esi + 0x111], cl
cmp byte [edi + 0x20cb], 0
setne dl
mov byte [esi + 0x112], dl
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 4