Function at 0x491640
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x491e69
sub esp, 0x48
mov ecx, dword [0x5bd284]
mov ebx, dword [0x5bd280]
test ebx, ebx
jne 0x491e4d
mov ecx, dword [esp + 0x54]
cmp ecx, 4
jge 0x491c04
cmp ecx, 3
jge 0x491ad7
cmp ecx, 2
jne 0x491acb
mov ebx, dword [esp + 0x50]
movzx ebp, word [ebx]
cmp bp, 0x7069
jne 0x4919eb
movzx ebp, byte [esp + 0x58]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4919b9
xor eax, eax
xor edx, edx
mov esi, dword [0x5bcdb8]
test esi, esi
jne 0x49197a
test edx, edx
jne 0x49195e
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x491723
movzx edx, byte [0x5cd831]
test dl, dl
je 0x491723
cmp ecx, 3
jne 0x491954
movzx eax, word [ebx]
cmp ax, 0x6374
jne 0x49194a
movzx eax, byte [ebx + 2]
cmp al, 0x70
jne 0x491940
mov eax, 3
mov byte [esp + 0x2f], al
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
mov byte [esp + 4], al
call fcn.0047ebc0
mov eax, dword [esp + 8]
test eax, eax
je 0x491922
mov ecx, dword [esp + 0x54]
cmp ecx, 3
jne 0x491919
mov edx, dword [esp + 0x50]
movzx ebx, word [edx]
cmp bx, 0x6475
jne 0x491914
movzx ebx, byte [edx + 2]
cmp bl, 0x70
jne 0x4918e5
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 0x9800000c
lea ecx, [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0047e7c0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x4918c7
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x2c], 0x72
mov dword [eax + 0xa0], 0x77
mov ecx, dword [0x5cd9c0]
test ecx, ecx
jne 0x4918af
mov dword [eax + 0x38], eax
mov dword [eax + 0xac], eax
mov ecx, dword [eax + 0xfc]
mov dword [eax + 0x28], ecx
mov ecx, dword [eax + 0xfc]
mov dword [eax + 0x9c], ecx
movzx ecx, byte [0x5cd82f]
test cl, cl
je 0x49182e
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x48
ret
lea eax, [0x4d63c0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00403990
mov eax, dword [0x5cd9c0]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x49189f
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x3c], ecx
lea eax, [0x4d63c0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00403990
mov eax, dword [0x5cd9c0]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x491889
mov eax, dword [esp + 0x4c]
mov dword [eax + 0xb0], ecx
jmp 0x49180a
mov edx, dword [esp + 0x4c]
lea edi, [edx + 0xb0]
mov eax, ecx
call fcn.00449ce0
jmp 0x49180a
mov edx, dword [esp + 0x4c]
lea edi, [edx + 0x3c]
mov eax, ecx
call fcn.00449ce0
jmp 0x491859
lea edi, [eax + 0x38]
call fcn.00449ce0
lea edi, [eax + 0xac]
call fcn.00449ce0
jmp 0x4917ea
lea edx, [0x4f6dac]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], 8
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
add esp, 0x48
ret
cmp ecx, 4
jne 0x4918fb
mov ebx, dword [edx]
cmp ebx, 0x34706475
je 0x49174f
cmp ecx, 4
jne 0x4917be
mov ecx, dword [edx]
cmp ecx, 0x36706475
je 0x49174f
jmp 0x4917be
cmp ecx, 4
jmp 0x4918e8
cmp ecx, 4
mov edx, dword [esp + 0x50]
jmp 0x4918e8
movzx ecx, byte [esp + 0x2f]
test cl, 1
je 0x491723
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x138], 1
jmp 0x491723
mov eax, 2
jmp 0x491700
mov eax, 2
jmp 0x491700
mov eax, 2
jmp 0x491700
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
add esp, 0x48
ret
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], edx
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov edi, dword [esi]
mov edx, esi
call edi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
movzx ebp, byte [esp + 0x58]
jmp 0x4916bf
mov eax, dword [esp + 0x4c]
test byte [eax], al
lea ecx, [eax + 0xfc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00490950
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
movzx ebp, byte [esp + 0x58]
jmp 0x4916b1
cmp ecx, 3
jne 0x491a1c
movzx ebp, word [ebx]
cmp bp, 0x6964
jne 0x491ac3
movzx ebp, byte [ebx + 2]
xchg ebp, eax
cmp al, 0x72
xchg ebp, eax
jne 0x491a19
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x13c], 1
jmp 0x49169e
cmp ecx, 3
jne 0x491a37
movzx ebp, word [ebx]
cmp bp, 0x7069
jne 0x491a37
movzx ebp, byte [ebx + 2]
xchg ebp, eax
cmp al, 0x34
xchg ebp, eax
je 0x49169e
mov dword [esp], 0
lea eax, [0x4fe043]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x25
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.004394e0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
lea edx, [0x4e0540]
mov dword [esp], edx
call fcn.00409680
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x5cd9c0]
test eax, eax
jne 0x491ab8
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x517640]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edi
add esp, 0x48
ret
mov eax, dword [esp + 0x40]
call fcn.00449ce0
jmp 0x491a96
cmp ecx, 3
jmp 0x491a1c
cmp ecx, 3
mov ebx, dword [esp + 0x50]
jmp 0x4919ee
je 0x491bc5
je 0x491b33
jne 0x491b2a
mov ebx, dword [esp + 0x50]
movzx ebp, word [ebx]
cmp bp, 0x6475
jne 0x491b25
movzx ebp, byte [ebx + 2]
xchg ebp, eax
cmp al, 0x70
xchg ebp, eax
je 0x49169e
cmp ecx, 4
jne 0x491a37
mov ebp, dword [ebx]
cmp ebp, 0x656c6966
jne 0x491a37
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x13b], 1
jmp 0x49169e
cmp ecx, 4
jmp 0x491b01
cmp ecx, 4
mov ebx, dword [esp + 0x50]
jmp 0x491b01
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x4f6400]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.00401f30
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x491bb9
mov ecx, dword [esp + 0x54]
cmp ecx, 3
jne 0x491bb3
mov ebx, dword [esp + 0x50]
movzx ebp, word [ebx]
cmp bp, 0x7069
jne 0x491bae
movzx ebp, byte [ebx + 2]
xchg ebp, eax
cmp al, 0x36
xchg ebp, eax
je 0x49169e
cmp ecx, 3
jne 0x491a37
movzx ebp, word [ebx]
cmp bp, 0x6374
jne 0x491a37
movzx ebp, byte [ebx + 2]
xchg ebp, eax
cmp al, 0x70
xchg ebp, eax
je 0x49169e
jmp 0x491a37
cmp ecx, 3
jmp 0x491b86
mov ebx, dword [esp + 0x50]
jmp 0x491b86
mov ecx, dword [esp + 0x54]
cmp ecx, 3
jmp 0x491adf
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x4f63e5]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.00401f30
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x491bf8
mov ecx, dword [esp + 0x54]
jmp 0x491683
mov ecx, dword [esp + 0x54]
cmp ecx, 3
jmp 0x491add
je 0x491e0e
je 0x491d25
cmp ecx, 7
jge 0x491c7a
cmp ecx, 4
jne 0x491c71
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx]
cmp ebp, 0x78696e75
je 0x49169e
cmp ecx, 7
jne 0x491a37
mov ebp, dword [ebx]
cmp ebp, 0x736e6f63
jne 0x491a37
movzx ebp, word [ebx + 4]
cmp bp, 0x6c6f
jne 0x491a37
movzx ebp, byte [ebx + 6]
xchg ebp, eax
cmp al, 0x65
xchg ebp, eax
jne 0x491a37
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x108], 1
jmp 0x49169e
cmp ecx, 7
mov ebx, dword [esp + 0x50]
jmp 0x491c2f
je 0x491ce6
cmp ecx, 8
jne 0x491ce0
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx]
cmp ebp, 0x78696e75
jne 0x491c9e
mov ebp, dword [ebx + 4]
cmp ebp, 0x6d617267
je 0x49169e
cmp ecx, 0xa
jne 0x491a37
mov dword [esp], ebx
lea eax, [0x4f72f3]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402080
movzx eax, byte [esp + 0xc]
test al, al
je 0x491cd3
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x49169e
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x491a37
mov ebx, dword [esp + 0x50]
jmp 0x491c9e
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x4f6aab]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call fcn.00401f30
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x491d1c
mov ecx, dword [esp + 0x54]
cmp ecx, 4
jmp 0x491c18
mov ecx, dword [esp + 0x54]
jmp 0x491c7c
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x4f6590]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00401f30
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x491e05
mov ecx, dword [esp + 0x54]
cmp ecx, 4
je 0x491d92
jne 0x491d8c
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx]
cmp ebp, 0x34706475
je 0x49169e
cmp ecx, 4
jne 0x491a37
mov ebp, dword [ebx]
cmp ebp, 0x36706475
je 0x49169e
jmp 0x491a37
mov ebx, dword [esp + 0x50]
jmp 0x491d73
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x4f6588]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00401f30
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x491df9
mov ecx, dword [esp + 0x54]
cmp ecx, 4
jne 0x491df3
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx]
cmp ebp, 0x34706374
je 0x49169e
cmp ecx, 4
jne 0x491a37
mov ebp, dword [ebx]
cmp ebp, 0x36706374
je 0x49169e
jmp 0x491a37
mov ebx, dword [esp + 0x50]
jmp 0x491dda
mov ecx, dword [esp + 0x54]
cmp ecx, 4
jmp 0x491d5c
mov ecx, dword [esp + 0x54]
jmp 0x491c10
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x4f6538]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00401f30
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x491e41
mov ecx, dword [esp + 0x54]
jmp 0x49167a
mov ecx, dword [esp + 0x54]
cmp ecx, 4
jmp 0x491c0a
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
add esp, 0x48
ret
call fcn.00448580
jmp fcn.00491640