Function at 0x4997b0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x499c5a
sub esp, 0x50
mov edx, dword [esp + 0x60]
test edx, edx
je 0x499c14
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 0x499c0d
mov ebp, dword [ebx + 0x14]
cmp ebp, eax
jge 0x499c0d
mov esi, ebp
shl ebp, 1
test ebp, ebp
jle 0x499bf0
mov eax, edx
movzx edx, byte [ebx + 9]
test dl, dl
je 0x499bde
movzx edx, byte [ebx + 8]
test dl, dl
je 0x49981d
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 0x499bd7
mov ebp, dword [ebx + 0x10]
cmp ebp, edx
jle 0x499bd0
mov ecx, edx
movzx edx, byte [ebx + 6]
test dl, dl
je 0x499bad
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 0x499ba6
mov ebx, dword [esp + 0x70]
cmp ebx, 0x10
jbe 0x499c4d
mov dword [esp + 0x2c], ebp
lea ebx, [ebp + 2]
mov ebp, dword [esp + 0x6c]
movzx ebp, byte [ebp + 0x10]
cmp ebx, esi
ja 0x499b59
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 0x4998e9
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 0x499b0c
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
movzx edx, byte [edx + 9]
test dl, dl
je 0x499b08
test ebp, ebp
jle 0x499afb
lea edx, [ebx + 1]
cmp esi, edx
jb 0x499aa9
mov ebp, dword [esp + 0x4c]
mov byte [ebp + ebx], 0x20
mov ebx, dword [esp + 0x54]
movzx ebx, byte [ebx + 8]
test bl, bl
je 0x499aa2
mov ebx, dword [esp + 0x70]
cmp ebx, 0x10
jbe 0x499c41
mov dword [esp + 0x38], edx
lea ebx, [edx + 2]
mov edx, dword [esp + 0x6c]
movzx edx, byte [edx + 0x10]
cmp esi, ebx
jb 0x499a55
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 0x499a30
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jbe 0x499c38
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 0x499c26
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 0x499c1d
lea ebp, [edx + 2]
movzx ebx, byte [ebx + esi]
mov esi, dword [esp + 0x30]
cmp ebp, esi
jbe 0x4998b6
mov byte [esp + 0x22], bl
mov dword [esp + 0x2c], edx
lea eax, [0x4b28c0]
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.00441c70
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 0x4998b6
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x5c]
cmp ebx, ebp
jae 0x499c2f
mov ecx, dword [esp + 0x58]
movzx ecx, byte [ecx + ebx]
mov ebp, ebx
mov ebx, ecx
mov ecx, dword [esp + 0x24]
jmp 0x49998e
mov byte [esp + 0x23], dl
lea eax, [0x4b28c0]
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.00441c70
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 0x49995b
test eax, eax
jmp 0x499970
mov dword [esp + 0x34], ebx
lea eax, [0x4b28c0]
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.00441c70
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 0x49991c
test eax, eax
mov edx, ebx
mov ebp, dword [esp + 0x4c]
jmp 0x499970
test eax, eax
jmp 0x499afd
mov ebp, dword [esp + 0x54]
mov edi, dword [ebp]
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
mov ebx, dword [0x579ba0]
test ebx, ebx
jne 0x499b50
mov dword [edi], edx
movzx eax, byte [ebp + 4]
test al, al
je 0x499b3c
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jle 0x499b3c
movzx edx, byte [ebp + 6]
test dl, dl
jne 0x499b40
add esp, 0x50
ret
mov dword [esp], ebp
sub eax, ecx
mov dword [esp + 4], eax
call fcn.004983b0
jmp 0x499b3c
mov eax, edx
call fcn.004593e0
jmp 0x499b25
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
lea eax, [0x4b28c0]
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.00441c70
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 0x49988c
mov ebx, ebp
jmp 0x4998a2
mov dword [esp], ebx
sub ebp, ecx
mov dword [esp + 4], ebp
call fcn.004983b0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
jmp 0x499850
mov ecx, edx
jmp 0x499850
mov ecx, edx
jmp 0x499850
movzx edx, byte [ebx + 8]
test dl, dl
je 0x499be9
add ebp, 2
mov edx, ebp
jmp 0x499821
movzx eax, byte [ebx + 4]
test al, al
jne 0x499bfc
add esp, 0x50
ret
mov eax, dword [ebx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004983b0
jmp 0x499bf8
mov ebp, eax
jmp 0x4997f6
mov eax, dword [esp + 0x5c]
jmp 0x4997d9
mov eax, ebx
mov ecx, ebp
call fcn.00459460
mov eax, ebx
mov ecx, ebp
call fcn.00459460
mov eax, ebx
mov ecx, ebp
call fcn.00459460
mov eax, ebp
mov ecx, ebx
call fcn.00459460
mov eax, 0x10
mov ecx, ebx
call fcn.00459460
mov eax, 0x10
mov ecx, ebx
call fcn.00459460
nop
call fcn.00457e80
jmp fcn.004997b0