Function at 0x494980
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x494e45
sub esp, 0x50
mov edx, dword [esp + 0x60]
test edx, edx
je 0x494dff
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x54]
movzx ebp, byte [ebx + 5]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x494df8
mov ebp, dword [ebx + 0x14]
cmp ebp, eax
jge 0x494df8
mov esi, ebp
shl ebp, 1
test ebp, ebp
jle 0x494ddb
mov eax, edx
movzx edx, byte [ebx + 9]
test dl, dl
je 0x494dc3
movzx edx, byte [ebx + 8]
test dl, dl
je 0x494dba
mov edx, esi
shl esi, 2
lea ebp, [esi + edx - 1]
mov dword [esp + 0x40], edx
mov dword [esp + 0x24], ebp
movzx esi, byte [ebx + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x494db3
mov esi, dword [ebx + 0x10]
cmp esi, ebp
jle 0x494dac
mov ecx, ebp
movzx ebp, byte [ebx + 6]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x494d89
mov ebp, dword [ebx]
mov esi, dword [ebp + 4]
mov edi, edx
mov edx, dword [ebp]
mov ebp, dword [ebp + 8]
movzx ebx, byte [ebx + 8]
test bl, bl
je 0x494d82
mov ebx, dword [esp + 0x70]
cmp ebx, 0x10
jbe 0x494e38
mov dword [esp + 0x2c], esi
lea ebx, [esi + 2]
mov esi, dword [esp + 0x6c]
movzx esi, byte [esi + 0x10]
cmp ebx, ebp
ja 0x494d35
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x2c]
mov byte [edx + ebx], 0x30
xchg esi, eax
mov byte [edx + ebx + 1], al
xchg esi, eax
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
jmp 0x494ac0
movzx ecx, byte [esp + 0x23]
mov eax, dword [esp + 0x4c]
mov byte [eax + edx], cl
xchg esi, ebx
mov byte [eax + edx + 1], bl
xchg esi, ebx
mov ecx, dword [esp + 0x28]
inc ecx
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov esi, edx
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
cmp esi, edi
jge 0x494ce9
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
movzx edx, byte [edx + 9]
test dl, dl
je 0x494ce5
test esi, esi
jle 0x494cd8
lea edx, [ebx + 1]
cmp edx, ebp
ja 0x494c86
mov esi, dword [esp + 0x4c]
mov byte [esi + ebx], 0x20
mov ebx, dword [esp + 0x54]
movzx ebx, byte [ebx + 8]
test bl, bl
je 0x494c7f
mov ebx, dword [esp + 0x70]
cmp ebx, 0x10
jbe 0x494e2c
mov dword [esp + 0x38], edx
lea ebx, [edx + 2]
mov edx, dword [esp + 0x6c]
movzx edx, byte [edx + 0x10]
cmp ebx, ebp
ja 0x494c32
test eax, eax
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x38]
mov byte [esi + ebx], 0x30
mov byte [esi + ebx + 1], dl
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], esi
je 0x494c0f
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x64]
cmp ebx, esi
jae 0x494e23
movzx esi, byte [eax + ebx]
xchg esi, eax
mov byte [esp + 0x21], al
xchg esi, eax
xchg esi, eax
shr al, 4
xchg esi, eax
xchg esi, eax
movzx eax, al
xchg esi, eax
mov ebx, dword [esp + 0x70]
cmp esi, ebx
jae 0x494e11
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x6c]
movzx esi, byte [ebp + esi]
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
movzx esi, byte [esp + 0x21]
and esi, 0xf
cmp esi, ebx
jae 0x494e08
lea ebx, [edx + 2]
movzx esi, byte [ebp + esi]
mov ebp, dword [esp + 0x30]
cmp ebx, ebp
jbe 0x494a8d
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
mov dword [esp + 0x2c], edx
lea eax, [0x4d8740]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0043e6f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [ecx + 2]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
movzx esi, byte [esp + 0x22]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
jmp 0x494a8d
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x5c]
cmp ebx, esi
jae 0x494e1a
mov ecx, dword [esp + 0x58]
movzx ecx, byte [ecx + ebx]
mov esi, ecx
mov ecx, dword [esp + 0x24]
jmp 0x494b63
mov byte [esp + 0x23], dl
lea eax, [0x4d8740]
mov dword [esp], eax
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0043e6f0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 2]
mov eax, dword [esp + 0x60]
test eax, eax
mov ecx, dword [esp + 0x24]
movzx edx, byte [esp + 0x23]
mov edi, dword [esp + 0x40]
jmp 0x494b31
test eax, eax
jmp 0x494b45
mov dword [esp + 0x34], ebx
lea eax, [0x4d8740]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0043e6f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
jmp 0x494af3
test eax, eax
mov esi, dword [esp + 0x4c]
mov edx, ebx
jmp 0x494b45
test eax, eax
jmp 0x494cda
mov esi, dword [esp + 0x54]
mov edi, dword [esi]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebp
mov ebx, dword [0x5c2e60]
test ebx, ebx
jne 0x494d2c
mov dword [edi], edx
movzx eax, byte [esi + 4]
test al, al
je 0x494d18
mov eax, dword [esi + 0x10]
cmp eax, ecx
jle 0x494d18
movzx edx, byte [esi + 6]
test dl, dl
jne 0x494d1c
add esp, 0x50
ret
mov dword [esp], esi
sub eax, ecx
mov dword [esp + 4], eax
call fcn.004935c0
jmp 0x494d18
mov eax, edx
call fcn.00453fc0
jmp 0x494d01
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
lea eax, [0x4d8740]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0043e6f0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 2]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
movzx esi, byte [esp + 0x23]
mov edi, dword [esp + 0x40]
jmp 0x494a63
mov ebx, esi
jmp 0x494a79
mov dword [esp], ebx
sub esi, ecx
mov dword [esp + 4], esi
call fcn.004935c0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x54]
jmp 0x494a26
mov ecx, ebp
jmp 0x494a26
mov ecx, ebp
jmp 0x494a26
mov edx, esi
mov esi, ebp
jmp 0x4949f1
movzx edx, byte [ebx + 8]
test dl, dl
je 0x494dd7
lea edx, [ebp + 2]
mov ebp, edx
mov edx, esi
jmp 0x4949f5
mov edx, ebp
jmp 0x494dce
movzx eax, byte [ebx + 4]
test al, al
jne 0x494de7
add esp, 0x50
ret
mov eax, dword [ebx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004935c0
jmp 0x494de3
mov ebp, eax
jmp 0x4949c6
mov eax, dword [esp + 0x5c]
jmp 0x4949a9
mov eax, esi
mov ecx, ebx
call fcn.00454040
mov eax, esi
mov ecx, ebx
call fcn.00454040
mov eax, ebx
mov ecx, esi
call fcn.00454040
mov eax, ebx
mov ecx, esi
call fcn.00454040
mov eax, 0x10
mov ecx, ebx
call fcn.00454040
mov eax, 0x10
mov ecx, ebx
call fcn.00454040
nop
call fcn.00452780
jmp fcn.00494980