Function at 0x5e3c80
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 0x5e42c0
sub esp, 0x60
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x5e4252
mov ecx, dword [esp + 0x64]
movzx edx, byte [ecx + 1]
test dl, dl
je 0x5e4249
cmp eax, 7
je 0x5e4214
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b1870
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x64]
movzx ebx, byte [edx + 0x44]
test bl, bl
jne 0x5e41c8
movzx ebx, byte [edx + 0x34]
test bl, bl
je 0x5e4133
mov ebx, dword [edx + 0x68]
mov ebp, dword [edx + 0x60]
mov esi, dword [edx + 0x64]
lea edi, [edx + 0x60]
mov dword [esp + 0x5c], edi
lea edi, [esi + 1]
cmp edi, ebx
jg 0x5e40bc
lea ebx, [esi + 1]
mov dword [edx + 0x64], ebx
lea ebx, [ebp + esi*8 + 4]
mov dword [ebx], eax
mov ebx, dword [0x9cadb0]
lea ebp, [ebp + esi*8]
test ebx, ebx
jne 0x5e409f
mov dword [ebp], ecx
mov ebx, dword [edx + 0x78]
mov dword [esp + 4], ebx
lea ebx, [0x6cd9c0]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004088c0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x74]
mov edx, dword [eax + 0x70]
mov ebx, dword [eax + 0x6c]
lea ebp, [eax + 0x6c]
lea esi, [edx + 1]
mov edi, dword [esp + 0x10]
mov edi, dword [edi + 4]
cmp esi, ecx
jg 0x5e4022
lea ecx, [edx + 1]
mov dword [eax + 0x70], ecx
mov dword [ebx + edx*4], edi
call fcn.00405e00
mov eax, dword [esp]
mov dword [esp + 0x58], eax
lea ecx, [0x6cae00]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xa
call fcn.00439020
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x54], edx
call fcn.00405e00
mov eax, dword [esp]
mov dword [esp + 0x50], eax
lea ecx, [0x700260]
mov dword [esp], ecx
call fcn.0040e460
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [0x9cadb0]
test ecx, ecx
jne 0x5e4005
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x10], edx
mov ebx, dword [0x9cadb0]
lea ebp, [eax + 0xc]
lea esi, [eax + 0x14]
test ebx, ebx
jne 0x5e3fc8
mov ebx, dword [esp + 0x30]
mov dword [eax + 0xc], ebx
mov ebp, dword [esp + 0x58]
mov dword [eax + 0x14], ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + 0x1c], ebp
mov ebp, dword [esp + 0x28]
mov dword [eax + 0x20], ebp
mov ebp, dword [0x9cadb0]
lea esi, [eax + 0x18]
lea edi, [eax + 0x24]
test ebp, ebp
jne 0x5e3f8f
mov ebp, dword [esp + 0x54]
mov dword [eax + 0x18], ebp
mov ebp, dword [esp + 0x50]
mov dword [eax + 0x24], ebp
mov eax, dword [ecx + 0x78]
mov dword [esp + 4], eax
lea eax, [0x6cd9c0]
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.004088c0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax]
mov eax, dword [eax + 8]
cmp edx, eax
jg 0x5e3f53
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov ebp, dword [0x9cadb0]
lea esi, [ebx + ecx*4]
test ebp, ebp
jne 0x5e3f3e
mov ebp, dword [esp + 0x2c]
mov dword [ebx + ecx*4], ebp
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x78]
mov dword [esp + 4], eax
lea eax, [0x6cd9c0]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004098f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [0x9cadb0]
test ecx, ecx
jne 0x5e3f2c
mov ecx, dword [esp + 0x4c]
mov dword [eax], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
nop
call fcn.00426b00
add esp, 0x60
ret
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040ecd0
jmp 0x5e3f0a
mov dword [esp], esi
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0040ecd0
jmp 0x5e3ebf
mov dword [esp + 0x28], ecx
lea ebp, [0x70fa80]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.004391a0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, ecx
mov ecx, dword [esp + 0x28]
jmp 0x5e3e9b
mov dword [esp + 0x48], edi
mov dword [esp], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0040ecd0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.0040ecd0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
jmp 0x5e3e67
mov dword [esp + 0x44], esi
mov dword [esp], ebp
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.0040ecd0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.0040ecd0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
jmp 0x5e3e37
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.0040ecd0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
jmp 0x5e3e0e
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], ebp
lea eax, [0x6ca540]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.004391a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0x74], edx
mov edx, dword [0x9cadb0]
test edx, edx
jne 0x5e4079
mov dword [ebx + 0x6c], eax
mov edi, dword [esp + 0x28]
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x64]
jmp 0x5e3d8d
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ecd0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x64]
jmp 0x5e4068
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0040ecd0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
jmp 0x5e3d4e
lea eax, [0x6cae00]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
call fcn.004391a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0x68], edx
mov edx, dword [0x9cadb0]
test edx, edx
jne 0x5e410d
mov dword [ebx + 0x60], eax
mov edx, ebx
mov esi, ecx
mov ebp, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
jmp 0x5e3d2d
mov dword [esp + 0x54], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ecd0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x64]
jmp 0x5e40fa
mov ebx, dword [edx + 0x60]
mov ebp, dword [edx + 0x68]
mov esi, dword [edx + 0x64]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005e5be0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x5e416e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
jmp 0x5e3d12
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x78]
mov dword [esp + 4], eax
lea eax, [0x6cd9c0]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004088c0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jbe 0x5e42b9
mov eax, dword [ecx]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
nop
call fcn.00426b00
add esp, 0x60
ret
lea eax, [edx + 0x48]
mov dword [esp + 0x38], eax
mov dword [esp], eax
call fcn.00451ee0
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x74fd04]
mov dword [esp + 4], eax
call fcn.004262e0
test eax, eax
jne 0x5e420a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
jmp 0x5e3d06
nop
call fcn.00426b00
add esp, 0x60
ret
mov edx, dword [esp + 0x68]
mov ebx, dword [edx]
cmp ebx, 0x41464544
jne 0x5e3cd6
movzx ebx, word [edx + 4]
cmp bx, 0x4c55
jne 0x5e3cd6
movzx ebx, byte [edx + 6]
cmp bl, 0x54
jne 0x5e3cd6
mov ecx, edx
jmp 0x5e3cee
mov ecx, dword [esp + 0x68]
jmp 0x5e3cee
lea eax, [0x6d86a0]
mov dword [esp], eax
call fcn.0040e460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
mov ecx, dword [0x9cadb0]
test ecx, ecx
jne 0x5e429d
lea ecx, [0x7249fb]
mov dword [eax], ecx
mov dword [esp + 0x70], 0
lea ecx, [0x79b5e0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
nop
call fcn.00426b00
add esp, 0x60
ret
mov dword [esp + 0x34], eax
mov dword [esp], eax
lea ecx, [0x7249fb]
mov dword [esp + 4], ecx
call fcn.0040ecd0
mov eax, dword [esp + 0x34]
jmp 0x5e427d
call fcn.00426060
ud2
call fcn.0044ae20
jmp fcn.005e3c80