Function at 0x4949a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x494e4a
sub esp, 0x50
mov edx, dword [esp + 0x60]
test edx, edx
je 0x494e04
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 0x494dfd
mov ebp, dword [ebx + 0x14]
cmp ebp, eax
jge 0x494dfd
mov esi, ebp
shl ebp, 1
test ebp, ebp
jle 0x494de0
mov eax, edx
movzx edx, byte [ebx + 9]
test dl, dl
je 0x494dce
movzx edx, byte [ebx + 8]
test dl, dl
je 0x494a0d
mov ebp, esi
shl ebp, 2
lea edx, [ebp + esi - 1]
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], edx
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x494dc7
mov ebp, dword [ebx + 0x10]
cmp ebp, edx
jle 0x494dc0
mov ecx, edx
movzx edx, byte [ebx + 6]
test dl, dl
je 0x494d9d
mov edx, dword [ebx]
mov ebp, dword [edx + 4]
mov edi, esi
mov esi, dword [edx + 8]
mov edx, dword [edx]
movzx ebx, byte [ebx + 8]
test bl, bl
je 0x494d96
mov ebx, dword [esp + 0x70]
cmp ebx, 0x10
jbe 0x494e3d
mov dword [esp + 0x2c], ebp
lea ebx, [ebp + 2]
mov ebp, dword [esp + 0x6c]
movzx ebp, byte [ebp + 0x10]
cmp ebx, esi
ja 0x494d49
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x2c]
mov byte [edx + ebx], 0x30
xchg ebp, eax
mov byte [edx + ebx + 1], al
xchg ebp, eax
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
jmp 0x494ad9
movzx ecx, byte [esp + 0x23]
mov eax, dword [esp + 0x4c]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], bl
mov ecx, dword [esp + 0x28]
inc ecx
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], ecx
mov ebx, ebp
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x70]
mov ebp, dword [esp + 0x28]
cmp edi, ebp
jle 0x494cfc
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
movzx edx, byte [edx + 9]
test dl, dl
je 0x494cf8
test ebp, ebp
jle 0x494ceb
lea edx, [ebx + 1]
cmp esi, edx
jb 0x494c99
mov ebp, dword [esp + 0x4c]
mov byte [ebp + ebx], 0x20
mov ebx, dword [esp + 0x54]
movzx ebx, byte [ebx + 8]
test bl, bl
je 0x494c92
mov ebx, dword [esp + 0x70]
cmp ebx, 0x10
jbe 0x494e31
mov dword [esp + 0x38], edx
lea ebx, [edx + 2]
mov edx, dword [esp + 0x6c]
movzx edx, byte [edx + 0x10]
cmp esi, ebx
jb 0x494c45
test eax, eax
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x38]
mov byte [ebp + ebx], 0x30
mov byte [ebp + ebx + 1], dl
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], ebp
je 0x494c20
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jbe 0x494e28
movzx ebx, byte [eax + ebp]
mov byte [esp + 0x21], bl
shr bl, 4
movzx ebx, bl
mov ebp, dword [esp + 0x70]
cmp ebx, ebp
jae 0x494e16
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x6c]
movzx ebx, byte [ebx + esi]
mov byte [esp + 0x23], bl
movzx ebx, byte [esp + 0x21]
and ebx, 0xf
cmp ebx, ebp
jae 0x494e0d
lea ebp, [edx + 2]
movzx ebx, byte [ebx + esi]
mov esi, dword [esp + 0x30]
cmp ebp, esi
jbe 0x494aa6
mov byte [esp + 0x22], bl
mov dword [esp + 0x2c], edx
lea eax, [0x4cfd80]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00441e00
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add eax, 2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x22]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x4c], ebp
mov ebp, eax
mov eax, dword [esp + 0x60]
jmp 0x494aa6
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x5c]
cmp ebx, ebp
jae 0x494e1f
mov ecx, dword [esp + 0x58]
movzx ecx, byte [ecx + ebx]
mov ebp, ebx
mov ebx, ecx
mov ecx, dword [esp + 0x24]
jmp 0x494b7e
mov byte [esp + 0x23], dl
lea eax, [0x4cfd80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00441e00
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, 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 0x494b4b
test eax, eax
jmp 0x494b60
mov dword [esp + 0x34], ebx
lea eax, [0x4cfd80]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.00441e00
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x4c], edx
mov edx, eax
mov eax, dword [esp + 0x60]
jmp 0x494b0c
test eax, eax
mov edx, ebx
mov ebp, dword [esp + 0x4c]
jmp 0x494b60
test eax, eax
jmp 0x494ced
mov ebp, dword [esp + 0x54]
mov edi, dword [ebp]
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
mov ebx, dword [0x5afef0]
test ebx, ebx
jne 0x494d40
mov dword [edi], edx
movzx eax, byte [ebp + 4]
test al, al
je 0x494d2c
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jle 0x494d2c
movzx edx, byte [ebp + 6]
test dl, dl
jne 0x494d30
add esp, 0x50
ret
mov dword [esp], ebp
sub eax, ecx
mov dword [esp + 4], eax
call fcn.004935a0
jmp 0x494d2c
mov eax, edx
call fcn.004595d0
jmp 0x494d15
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
lea eax, [0x4cfd80]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00441e00
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebx, [eax + 2]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
movzx ebp, byte [esp + 0x23]
mov edi, dword [esp + 0x40]
jmp 0x494a7c
mov ebx, ebp
jmp 0x494a92
mov dword [esp], ebx
sub ebp, ecx
mov dword [esp + 4], ebp
call fcn.004935a0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
jmp 0x494a40
mov ecx, edx
jmp 0x494a40
mov ecx, edx
jmp 0x494a40
movzx edx, byte [ebx + 8]
test dl, dl
je 0x494dd9
add ebp, 2
mov edx, ebp
jmp 0x494a11
movzx eax, byte [ebx + 4]
test al, al
jne 0x494dec
add esp, 0x50
ret
mov eax, dword [ebx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004935a0
jmp 0x494de8
mov ebp, eax
jmp 0x4949e6
mov eax, dword [esp + 0x5c]
jmp 0x4949c9
mov eax, ebx
mov ecx, ebp
call fcn.00459650
mov eax, ebx
mov ecx, ebp
call fcn.00459650
mov eax, ebx
mov ecx, ebp
call fcn.00459650
mov eax, ebp
mov ecx, ebx
call fcn.00459650
mov eax, 0x10
mov ecx, ebx
call fcn.00459650
mov eax, 0x10
mov ecx, ebx
call fcn.00459650
nop
call fcn.00458070
jmp fcn.004949a0