Function at 0x1037d80
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x10383c0
sub esp, 0x58
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
cmp dword [edx + 0x4c], ecx
jne 0x1038366
mov ebx, dword [edx + 0x68]
test ebx, ebx
jne 0x103830d
mov dword [esp + 0x2c], ecx
mov ebx, dword [edx + 0x74]
test ebx, ebx
jne 0x1038252
mov edx, dword [edx + 0x78]
test edx, edx
jne 0x10381f9
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.010629a9
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x3c]
mov dword [ecx + 0x10], edx
lea ebx, [0x1180304]
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.01009c20
lea ecx, [esp + 0x5c]
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.01037860
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x103813d
lea edi, [ecx + 0x14]
movzx ebx, byte [edx + 4]
test bl, bl
je 0x1037e6e
mov ebx, dword [edx + 0x14]
test ebx, ebx
je 0x1037e5b
mov byte [ebx + 0x19], 1
mov dword [edx + 0x14], 0
movzx ebx, byte [edx + 6]
test bl, bl
je 0x10380f0
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
mov byte [edx + 4], 1
lea eax, [esp + 0x3c]
mov dword [edx + 0x14], eax
movzx ebx, byte [edx + 6]
test bl, bl
je 0x103809d
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.01037990
movzx eax, byte [esp + 8]
test al, al
je 0x1038094
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x14]
movzx edx, byte [edx + 0x18]
test dl, dl
je 0x1038066
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x14], ecx
jne 0x10381e3
mov byte [esp + 0x16], al
mov dword [ecx + 0x14], 0
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x18], ebx
mov ebp, dword [ecx + 8]
mov dword [esp + 0x20], ebp
test al, al
jne 0x103800a
movzx ecx, byte [esp + 0x54]
test cl, cl
je 0x1037e36
mov ecx, dword [esp + 0x48]
mov dword [edx + 0x10], ecx
test ecx, ecx
je 0x1037f1f
movzx esi, byte [ecx + 0x1a]
xchg esi, eax
test al, al
xchg esi, eax
je 0x1037f1f
movzx esi, byte [ecx + 0x19]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x10381ad
lea eax, [0x1180304]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.01009c20
movzx eax, byte [esp + 0x16]
test al, al
je 0x1038004
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x14]
xor eax, eax
jmp 0x1037f57
mov ebx, dword [esp + 0x2c]
mov edx, eax
mov eax, ecx
mov ecx, ebx
test edx, edx
je 0x1037fd3
movzx ebx, byte [edx + 6]
test bl, bl
je 0x1037ffa
movzx ebx, byte [edx + 4]
test bl, bl
jne 0x1037fd3
mov dword [esp + 0x24], eax
test eax, eax
je 0x1037fb0
mov ebx, dword [0x1180500]
mov ebp, dword [edx + 0x18]
test ebx, ebx
jne 0x1037fa0
mov dword [eax + 0x18], ebp
mov eax, dword [edx + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp], edx
call fcn.01037210
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
jmp 0x1037f4d
lea edi, [eax + 0x18]
mov ebx, eax
mov eax, ebp
call fcn.01062710
mov eax, ebx
jmp 0x1037f87
mov ebx, dword [0x1180500]
mov ebp, dword [edx + 0x18]
test ebx, ebx
jne 0x1037fc2
mov dword [ecx + 0x14], ebp
jmp 0x1037f87
mov edi, dword [esp + 0x38]
mov ebx, eax
mov eax, ebp
call fcn.01062710
mov eax, ebx
jmp 0x1037f87
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x10], eax
jmp 0x1037fe2
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x10], eax
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x1038163
movzx edx, byte [eax + 0x19]
test dl, dl
jne 0x1037fdc
jmp 0x1038167
mov eax, dword [edx + 0x18]
mov ecx, edx
jmp 0x1037f4d
mov ecx, dword [esp + 0x2c]
jmp 0x1037fd3
mov esi, dword [0x1180500]
test esi, esi
jne 0x1038056
mov dword [ecx + 0x10], 0
mov esi, dword [0x1180500]
mov ebx, dword [ecx + 0x18]
test esi, esi
jne 0x1038049
mov dword [edx + 0x14], ebx
mov dword [esp], ecx
call fcn.01037210
movzx eax, byte [esp + 0x16]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
jmp 0x1037eef
mov edi, dword [esp + 0x38]
mov eax, ebx
call fcn.01062710
jmp 0x103802b
lea edi, [ecx + 0x10]
mov esi, eax
xor eax, eax
call fcn.01062710
mov eax, esi
jmp 0x103801b
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.01037860
movzx eax, byte [esp + 0x17]
mov ecx, dword [esp + 0x34]
jmp 0x1037eb9
mov ecx, dword [esp + 0x34]
jmp 0x1037eb9
mov dword [esp], 0
call fcn.010383d0
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
test ecx, ecx
jne 0x10380ea
xor edx, edx
mov ebx, dword [eax + 0x10]
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
call fcn.010611d0
mov ecx, dword [esp + 0x34]
mov eax, 1
jmp 0x1037eb9
nop
lea edx, [eax + 0x28]
jmp 0x10380bd
mov ebx, dword [0x1180500]
test ebx, ebx
jne 0x1038129
mov dword [edx + 0x10], 0
mov ebx, dword [0x1180500]
mov eax, dword [edx + 0x18]
test ebx, ebx
jne 0x1038122
mov dword [ecx + 0x14], eax
mov dword [esp], edx
call fcn.01037210
mov edx, dword [esp + 0x2c]
jmp 0x1037e36
call fcn.01062710
jmp 0x1038111
lea ebx, [edx + 0x10]
mov eax, edi
mov edi, ebx
mov ebp, eax
xor eax, eax
call fcn.01062710
mov edi, ebp
jmp 0x1038101
mov eax, dword [ecx + 0x10]
mov dword [esp], eax
call fcn.010375e0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call fcn.01038650
xor eax, eax
mov dword [eax], 0
add esp, 0x58
ret
jne 0x1038175
jmp 0x103816b
test eax, eax
jmp 0x1038163
mov dword [ecx + 0x88], 0
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x98], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x9c], eax
lea eax, [0xfbfb98]
mov dword [esp], eax
call fcn.01061040
lea eax, [0xfaac28]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.01038440
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x98], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x9c], eax
lea eax, [0xfbfb98]
mov dword [esp], eax
call fcn.01061040
lea eax, [0xfae486]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.01038440
lea eax, [0xfae456]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.01038440
call fcn.01039cf0
lea eax, [0xfa8626]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0103a590
call fcn.01039d60
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call fcn.0100e4c0
call fcn.01039cf0
call fcn.01039f10
call fcn.01039d60
lea eax, [0xfac47b]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.01038440
call fcn.01039cf0
lea eax, [0xfa8626]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0103a590
call fcn.01039d60
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call fcn.0100e4c0
call fcn.01039cf0
call fcn.01039f10
call fcn.01039d60
call fcn.01039cf0
lea eax, [0xfacb7a]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0103a590
call fcn.01039d60
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0x70]
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0x74]
mov dword [esp + 0x1c], eax
call fcn.01039cf0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.0103a590
call fcn.01039d60
call fcn.01039cf0
call fcn.01039f10
call fcn.01039d60
lea eax, [0xfae020]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.01038440
call fcn.01039cf0
lea eax, [0xfa8626]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0103a590
call fcn.01039d60
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call fcn.0100e4c0
call fcn.01039cf0
call fcn.01039f10
call fcn.01039d60
lea eax, [0xfac455]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.01038440
call fcn.01039cf0
lea eax, [0xfa8626]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0103a590
call fcn.01039d60
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call fcn.0100e4c0
call fcn.01039cf0
call fcn.01039f10
call fcn.01039d60
lea eax, [0xfad0ff]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.01038440
nop
call fcn.010611c0
jmp fcn.01037d80