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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x582765
sub esp, 0x94
call fcn.005816d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp]
mov ebx, dword [esp + 4]
test ecx, ecx
jne 0x58272f
mov dword [esp + 0x70], edx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x98]
xor ecx, ecx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x5826d4
mov esi, dword [esp + 0x58]
mov esi, dword [esi + 8]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x74]
mov edi, ebp
mov ebp, ebx
mov ebx, esi
mov esi, eax
mov eax, dword [esp + 0x98]
test ebx, ebx
je 0x582277
mov dword [esp + 0x90], edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.0049aef0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test edx, edx
jne 0x5821cd
test eax, eax
je 0x5821bc
mov ecx, dword [eax + 8]
cmp ecx, 0x61a1523f
jne 0x5821af
lea edx, [0xa4e520]
cmp edx, eax
jne 0x5821a3
mov ebp, ebx
je 0x581fa4
cmp ecx, 0x98d3a9ba
jne 0x581f99
lea ecx, [0xa4e540]
cmp ecx, eax
jne 0x581f8f
je 0x581de1
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x90]
jmp 0x581d28
mov dword [esp + 0x54], ebp
lea eax, [0x8ebd00]
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call fcn.00440500
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x58]
movzx edx, byte [ecx + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], pe_nt_image_headers32
call fcn.00582da0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x88], edx
lea ebx, [0x91a800]
mov dword [esp], ebx
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
mov dword [eax + 8], 0x10
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x581f7a
mov ecx, dword [esp + 0x8c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x14], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x581f62
mov ecx, dword [esp + 0x88]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
test byte [ecx], al
mov edx, dword [eax + 4]
mov ebx, dword [eax]
cmp edx, 0x10
jle 0x581eb3
mov edx, 0x10
mov dword [esp + 0x60], eax
add ecx, 8
cmp ebx, ecx
je 0x581ece
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004579b0
mov ecx, dword [esp + 0x28]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
ja 0x581f28
mov eax, dword [esp + 0x90]
lea ebp, [eax + ecx*8]
lea esi, [0xa51980]
mov dword [ebp], esi
lea edi, [eax + ecx*8 + 4]
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x581f19
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
lea ecx, [0xa4e540]
mov ebp, eax
mov eax, edx
lea edx, [0xa4e520]
jmp 0x581d28
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.00456fe0
mov eax, ecx
jmp 0x581f04
lea eax, [0x90d900]
mov dword [esp], eax
mov ebp, dword [esp + 0x90]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00440660
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x28]
jmp 0x581ee4
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x88]
call fcn.00456fe0
mov eax, ecx
jmp 0x581e9e
mov edi, eax
mov eax, dword [esp + 0x8c]
call fcn.00456fe0
mov eax, edi
jmp 0x581e78
mov ebp, 0
jmp 0x581dcb
lea ecx, [0xa4e540]
jmp 0x581dcd
movzx eax, byte [ebx + 4]
mov byte [esp + 0x26], al
movzx ecx, byte [ebx + 5]
mov byte [esp + 0x25], cl
movzx edx, byte [ebx + 6]
mov byte [esp + 0x22], dl
movzx ebx, byte [ebx + 7]
mov byte [esp + 0x21], bl
lea ebp, [0x8ebd00]
mov dword [esp], ebp
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call fcn.00440500
mov eax, dword [esp + 0xc]
mov ecx, dword [0xdb9fcc]
mov edx, dword [0xdb9fc8]
cmp ecx, 0x10
jge 0x582199
mov dword [esp + 0x8c], eax
cmp edx, eax
je 0x582016
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004579b0
movzx eax, byte [esp + 0x26]
mov ecx, dword [esp + 0x8c]
mov byte [ecx + 0xc], al
movzx eax, byte [esp + 0x25]
mov byte [ecx + 0xd], al
movzx eax, byte [esp + 0x22]
mov byte [ecx + 0xe], al
movzx eax, byte [esp + 0x21]
mov byte [ecx + 0xf], al
mov eax, dword [esp + 0x58]
movzx edx, byte [eax + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], 0x20
call fcn.00582da0
mov eax, dword [esp + 8]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], edx
lea ebx, [0x91a800]
mov dword [esp], ebx
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
mov dword [eax + 8], 0x10
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x582184
mov ecx, dword [esp + 0x8c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x14], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x58216c
mov ecx, dword [esp + 0x84]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x28]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
ja 0x582121
mov ebp, dword [esp + 0x90]
lea esi, [ebp + ecx*8]
mov edi, edx
lea edx, [0xa51980]
mov dword [esi], edx
lea ecx, [ebp + ecx*8 + 4]
mov esi, dword [0xdd7ec0]
test esi, esi
jne 0x582114
mov dword [ecx], eax
lea ecx, [0xa4e540]
lea edx, [0xa4e520]
mov eax, edi
jmp 0x581d28
mov esi, edi
mov edi, ecx
call fcn.00456fe0
mov edi, esi
jmp 0x582101
mov dword [esp + 0x80], eax
lea eax, [0x90d900]
mov dword [esp], eax
mov ebp, dword [esp + 0x90]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00440660
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x28]
jmp 0x5820e3
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x84]
call fcn.00456fe0
mov eax, ecx
jmp 0x5820cd
mov edi, eax
mov eax, dword [esp + 0x8c]
call fcn.00456fe0
mov eax, edi
jmp 0x5820a7
mov ecx, 0x10
jmp 0x581ffb
mov ebp, ebx
mov ebx, 0
jmp 0x581dab
lea edx, [0xa4e520]
mov ebp, ebx
jmp 0x581db1
lea ecx, [0xa4e540]
lea edx, [0xa4e520]
jmp 0x581dcd
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x34], edx
lea eax, [0x91b820]
mov dword [esp], eax
call fcn.0040ae10
mov edi, dword [esp + 4]
mov dword [edi + 4], 8
mov eax, dword [0xdd7ec0]
test eax, eax
jne 0x58226a
lea ecx, [0x986251]
mov dword [edi], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 8], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x582254
mov eax, dword [esp + 0x6c]
mov dword [edi + 0xc], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0xa4e440]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x6c]
call fcn.00456fe0
mov edi, edx
jmp 0x582218
lea eax, [0x986251]
call fcn.00456fe0
jmp 0x582200
mov edx, dword [edx + 0x14]
jmp 0x582296
mov esi, ebx
mov ebx, dword [esp + 0x5c]
mov ebx, dword [ebx + 8]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x4c]
mov edi, ebp
mov ebp, edx
mov edx, ebx
test edx, edx
je 0x5826c5
mov dword [esp + 0x5c], edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x7c], edi
mov eax, dword [edx + 0xc]
mov dword [esp], eax
call fcn.0049aef0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
test eax, eax
jne 0x58261b
test edx, edx
je 0x58260a
mov eax, dword [edx + 8]
cmp eax, 0x61a1523f
jne 0x5825fd
lea ecx, [0xa4e520]
cmp ecx, edx
jne 0x5825f1
mov ebp, ebx
je 0x582470
cmp eax, 0x98d3a9ba
jne 0x582465
lea eax, [0xa4e540]
cmp eax, edx
jne 0x58245b
je 0x582329
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x7c]
jmp 0x58227c
mov dword [esp + 0x50], ebp
lea eax, [0x8ebd00]
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call fcn.00440500
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
lea ecx, [0x91a7a0]
mov dword [esp], ecx
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
mov dword [eax + 8], 0x10
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x582446
mov ecx, dword [esp + 0x8c]
mov dword [eax], ecx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x50]
test byte [ecx], al
mov edx, dword [eax]
add ecx, 8
cmp edx, ecx
je 0x5823b4
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
call fcn.004579b0
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x40]
cmp edx, ebx
ja 0x58240f
mov eax, dword [esp + 0x7c]
lea ebp, [eax + ecx*8]
lea esi, [0xa51960]
mov dword [ebp], esi
mov ebp, dword [0xdd7ec0]
lea edi, [eax + ecx*8 + 4]
test ebp, ebp
jne 0x582400
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
lea ecx, [0xa4e520]
mov ebp, eax
lea eax, [0xa4e540]
mov edi, edx
mov edx, ebx
mov ebx, edi
jmp 0x58227c
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.00456fe0
mov eax, ecx
jmp 0x5823e7
lea eax, [0x90d900]
mov dword [esp], eax
mov ebp, dword [esp + 0x7c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00440660
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x3c]
jmp 0x5823c7
mov edi, eax
mov eax, dword [esp + 0x8c]
call fcn.00456fe0
mov eax, edi
jmp 0x58238d
mov ebp, 0
jmp 0x582316
lea eax, [0xa4e540]
jmp 0x582318
movzx eax, byte [ebx + 4]
mov byte [esp + 0x27], al
movzx ecx, byte [ebx + 5]
mov byte [esp + 0x24], cl
movzx edx, byte [ebx + 6]
mov byte [esp + 0x23], dl
movzx ebx, byte [ebx + 7]
mov byte [esp + 0x20], bl
lea ebp, [0x8ebd00]
mov dword [esp], ebp
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call fcn.00440500
mov eax, dword [esp + 0xc]
mov ecx, dword [0xdb9fcc]
mov edx, dword [0xdb9fc8]
cmp ecx, 0x10
jge 0x5825e7
mov dword [esp + 0x8c], eax
cmp edx, eax
je 0x5824e2
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004579b0
movzx eax, byte [esp + 0x27]
mov ecx, dword [esp + 0x8c]
mov byte [ecx + 0xc], al
movzx eax, byte [esp + 0x24]
mov byte [ecx + 0xd], al
movzx eax, byte [esp + 0x23]
mov byte [ecx + 0xe], al
movzx eax, byte [esp + 0x20]
mov byte [ecx + 0xf], al
lea eax, [0x91a7a0]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
mov dword [eax + 8], 0x10
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x5825d2
mov ecx, dword [esp + 0x8c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x40]
cmp edx, ebx
ja 0x582593
mov ebp, dword [esp + 0x7c]
lea esi, [ebp + ecx*8]
mov edi, edx
lea edx, [0xa51960]
mov dword [esi], edx
mov esi, dword [0xdd7ec0]
lea ecx, [ebp + ecx*8 + 4]
test esi, esi
jne 0x582586
mov dword [ecx], eax
lea eax, [0xa4e540]
lea ecx, [0xa4e520]
mov edx, ebx
mov ebx, edi
jmp 0x58227c
mov esi, edi
mov edi, ecx
call fcn.00456fe0
mov edi, esi
jmp 0x582571
mov dword [esp + 0x78], eax
lea eax, [0x90d900]
mov dword [esp], eax
mov ebp, dword [esp + 0x7c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00440660
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x3c]
jmp 0x582553
mov edi, eax
mov eax, dword [esp + 0x8c]
call fcn.00456fe0
mov eax, edi
jmp 0x582540
mov ecx, 0x10
jmp 0x5824c7
mov ebp, ebx
mov ebx, 0
jmp 0x5822f7
lea ecx, [0xa4e520]
mov ebp, ebx
jmp 0x5822fd
lea eax, [0xa4e540]
lea ecx, [0xa4e520]
jmp 0x582318
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], ecx
lea eax, [0x91b820]
mov dword [esp], eax
call fcn.0040ae10
mov edi, dword [esp + 4]
mov dword [edi + 4], 8
mov eax, dword [0xdd7ec0]
test eax, eax
jne 0x5826b8
lea ecx, [0x986251]
mov dword [edi], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 8], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x5826a2
mov eax, dword [esp + 0x68]
mov dword [edi + 0xc], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0xa4e440]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x68]
call fcn.00456fe0
mov edi, edx
jmp 0x582666
lea eax, [0x986251]
call fcn.00456fe0
jmp 0x58264e
inc ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x70]
mov edx, ebx
mov ebx, dword [esp + 0x38]
cmp ecx, ebx
jge 0x5826fd
mov edx, dword [edx + ecx*4]
mov ebx, dword [edx + 4]
test ebx, ebx
jne 0x5826e5
mov ebx, dword [edx + 0x48]
test eax, eax
je 0x5826ed
cmp dword [eax], ebx
jne 0x5826c5
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x74], edx
mov ebx, dword [edx + 0x10]
jmp 0x581d46
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x94
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x94
ret
call fcn.004557a0
jmp fcn.00581cd0