Function at 0x4985a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4989cf
sub esp, 0x34
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4989c6
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
movzx ebx, byte [edx + 5]
test bl, bl
je 0x4989bf
mov ebx, dword [edx + 0x14]
cmp ebx, ecx
jge 0x4989bf
mov dword [esp + 0x28], ebx
mov ecx, ebx
shl ebx, 1
test ebx, ebx
jle 0x4989a2
movzx ebp, byte [edx + 9]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49898a
movzx ebp, byte [edx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49897f
mov ebx, ecx
shl ecx, 2
lea ecx, [ecx + ebx - 1]
mov dword [esp + 0x24], ecx
movzx ebp, byte [edx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49863c
mov ebp, dword [edx + 0x10]
cmp ebp, ecx
jle 0x49863c
movzx esi, byte [edx + 6]
xchg esi, eax
test al, al
xchg esi, eax
je 0x49895c
mov ebp, dword [edx]
mov esi, dword [ebp + 4]
mov dword [esp + 0x30], esi
mov edi, dword [ebp]
mov ebp, dword [ebp + 8]
movzx ecx, byte [edx + 8]
test cl, cl
je 0x498955
mov ecx, dword [esp + 0x54]
cmp ecx, 0x10
jbe 0x49894e
mov ecx, dword [esp + 0x50]
movzx ecx, byte [ecx + 0x10]
mov byte [esp + 0x23], cl
lea eax, [esi + 2]
cmp eax, ebp
jg 0x49890b
mov byte [edi + esi], 0x30
mov byte [edi + esi + 1], cl
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
cmp ecx, ebx
jge 0x498787
movzx esi, byte [edx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4988fa
test ecx, ecx
jle 0x4988e9
lea esi, [eax + 1]
cmp esi, ebp
jg 0x4988a7
mov dword [esp + 0x30], esi
mov byte [edi + eax], 0x20
movzx eax, byte [edx + 8]
test al, al
je 0x49889a
mov eax, dword [esp + 0x54]
cmp eax, 0x10
jbe 0x498893
mov edx, dword [esp + 0x50]
movzx ebx, byte [edx + 0x10]
mov byte [esp + 0x23], bl
lea edx, [esi + 2]
cmp edx, ebp
jg 0x49884e
mov eax, dword [esp + 0x44]
test eax, eax
mov byte [edi + esi], 0x30
mov byte [edi + esi + 1], bl
mov dword [esp + 0x30], edx
je 0x49882e
mov ebx, dword [esp + 0x48]
cmp ecx, ebx
jae 0x498827
movzx esi, byte [eax + ecx]
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 + 0x54]
cmp esi, ebx
jae 0x498820
mov eax, dword [esp + 0x50]
movzx esi, byte [eax + esi]
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
movzx ecx, byte [esp + 0x21]
and ecx, 0xf
cmp ecx, ebx
jae 0x498820
movzx ecx, byte [eax + ecx]
mov byte [esp + 0x22], cl
lea eax, [edx + 2]
cmp eax, ebp
jg 0x4987dc
xchg esi, eax
mov byte [edi + edx], al
xchg esi, eax
mov byte [edi + edx + 1], cl
mov esi, dword [esp + 0x2c]
lea ecx, [esi + 1]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
cmp ecx, ebx
jl 0x498695
mov ecx, dword [edx]
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebp
mov eax, dword [0x77c810]
test eax, eax
jne 0x4987ca
mov dword [ecx], edi
movzx eax, byte [edx + 4]
test al, al
je 0x4987b6
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x4987b6
movzx ebx, byte [edx + 6]
test bl, bl
jne 0x4987ba
add esp, 0x34
ret
sub eax, ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004973d0
jmp 0x4987b6
mov dword [esp], ecx
mov dword [esp + 4], edi
call fcn.0040d580
mov edx, dword [esp + 0x38]
jmp 0x49879b
lea ebx, [0x60ce40]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.00437350
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
add eax, 2
movzx ecx, byte [esp + 0x22]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x54]
movzx esi, byte [esp + 0x23]
jmp 0x49875f
call fcn.00424660
ud2
call fcn.00424660
ud2
mov ebx, dword [esp + 0x40]
cmp ecx, ebx
jae 0x498847
mov esi, dword [esp + 0x3c]
movzx esi, byte [esi + ecx]
mov ebx, dword [esp + 0x48]
jmp 0x498716
call fcn.00424660
ud2
lea eax, [0x60ce40]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00437350
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 2]
mov eax, dword [esp + 0x44]
test eax, eax
mov ecx, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x23]
mov esi, dword [esp + 0x30]
jmp 0x4986f4
call fcn.00424660
ud2
mov eax, dword [esp + 0x44]
test eax, eax
mov edx, esi
jmp 0x4986fc
lea ebx, [0x60ce40]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.00437350
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
jmp 0x4986b6
mov esi, dword [esp + 0x44]
test esi, esi
mov eax, esi
mov edx, dword [esp + 0x30]
jmp 0x4986fc
mov esi, dword [esp + 0x44]
test esi, esi
mov eax, esi
mov edx, dword [esp + 0x30]
jmp 0x4986fc
lea edx, [0x60ce40]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.00437350
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
add eax, 2
movzx ecx, byte [esp + 0x23]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
jmp 0x49867b
call fcn.00424660
ud2
mov eax, esi
jmp 0x498683
sub ebp, ecx
mov dword [esp + 4], ebp
mov dword [esp], edx
call fcn.004973d0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
jmp 0x49863c
mov ecx, ebx
mov ebx, dword [esp + 0x28]
jmp 0x498615
movzx ebp, byte [edx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x498997
add ebx, 2
mov ecx, ebx
mov ebx, dword [esp + 0x28]
jmp 0x498619
movzx eax, byte [edx + 4]
test al, al
jne 0x4989ae
add esp, 0x34
ret
mov eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004973d0
jmp 0x4989aa
mov ebx, ecx
jmp 0x4985e4
mov ecx, dword [esp + 0x40]
jmp 0x4985c9
call fcn.00448420
jmp fcn.004985a0