Function at 0x423cf1
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x1118
call fcn.00502fa0
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x1114], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1124]
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1058], 0
jne 0x423f8a
mov ecx, dword [esi + 0x1054]
cmp ecx, dword [esi + 0x104c]
jb 0x423d1a
mov eax, 1
jmp 0x424152
mov eax, dword [esi + 0x1050]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov edx, dword [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [esi + 0x1054], eax
mov eax, edx
mov dword [esp + 0x1c], edx
jmp 0x423d40
mov edx, dword [esi + 0x1068]
movzx ecx, byte [edx + eax + 7]
movzx eax, byte [edx + eax + 6]
shl ecx, 8
dec ecx
add ecx, eax
test ecx, ecx
jle 0x423dfd
cmp ecx, dword [esi + 0x104c]
jae 0x423ece
mov eax, dword [esi + 0x1050]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x1048]
jae 0x423ece
movzx eax, byte [edx + ecx]
push 0x800
push eax
lea eax, [edx + 8]
add eax, ecx
mov ecx, esi
push eax
lea eax, [esp + 0x130]
push eax
call fcn.00423190
mov edi, eax
mov dword [esp + 0x20], edi
test ebx, ebx
je 0x423dc0
lea ecx, [ebx + ebx]
push ecx
lea ecx, [ebp + 2]
lea ecx, [ecx + edi*2]
push ebp
push ecx
call fcn.005043a0
add esp, 0xc
add edi, edi
lea eax, [esp + 0x124]
push edi
push eax
push ebp
call fcn.00504fb0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x18]
inc eax
add ebx, eax
inc edx
mov dword [esp + 0x18], edx
mov eax, 0x5c
mov word [edi + ebp], ax
mov eax, dword [esp + 0x14]
cmp edx, 0x80
jl 0x423d40
mov edi, dword [esp + 0x1c]
lea edx, [ebx*2]
add edi, dword [esi + 0x1068]
add edx, ebp
movzx ecx, byte [edi]
cmp ecx, 2
jbe 0x423e2b
cmp word [edx + ecx*2 - 4], 0x3b
jne 0x423e2b
cmp word [edx + ecx*2 - 2], 0x31
jne 0x423e2b
add ecx, 0xfffffffe
mov eax, 0x800
sub eax, ebx
push eax
push ecx
lea eax, [edi + 8]
mov ecx, esi
push eax
push edx
call fcn.00423190
push 0x7ff
push ebp
lea eax, [esi + 0x106c]
push eax
call fcn.0049ce90
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 0x1088], 0
mov dword [ebp + 0x108c], 0
mov dword [ebp + 0x1080], 0
mov dword [ebp + 0x1084], 0
mov eax, dword [esi + 0x1068]
mov edi, dword [esi + 8]
push 0
mov ecx, dword [ecx + eax + 2]
xor eax, eax
mov edi, dword [edi + 0x10]
shld eax, ecx, 0xb
shl ecx, 0xb
push eax
push ecx
mov ecx, edi
call dword [0x523720]
lea ecx, [esi + 8]
call edi
mov ecx, dword [esi + 0x1030]
cmp ecx, dword [esi + 0x1034]
jae 0x423ed8
mov eax, dword [esi + 0x102c]
movzx ebx, byte [eax + ecx]
lea eax, [ecx + 1]
lea ecx, [esi + 8]
mov dword [ecx + 0x1028], eax
jmp 0x423f03
mov eax, 2
jmp 0x424152
mov eax, dword [esi + 8]
lea ecx, [esp + 0x13]
push 1
push ecx
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x523720]
lea ecx, [esi + 8]
call edi
cmp eax, 1
jne 0x423d10
movzx ebx, byte [esp + 0x13]
lea ecx, [esi + 8]
cmp ebx, 0xffffffff
je 0x423d10
test ebx, ebx
je 0x423d10
mov ecx, dword [ecx]
lea eax, [ebx - 1]
push eax
lea eax, [esp + 0x29]
mov byte [esp + 0x28], bl
push eax
mov edi, dword [ecx + 0xc]
mov ecx, edi
call dword [0x523720]
lea ecx, [esi + 8]
call edi
lea ecx, [ebx - 1]
cmp eax, ecx
jne 0x423d10
mov eax, dword [esp + 0x2e]
mov ecx, esi
sub eax, ebx
mov dword [esi + 0x1058], eax
lea eax, [ebp + 0x1090]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00423960
test byte [esp + 0x3d], 1
mov dword [ebp + 0x10a8], 0x10
mov byte [ebp + 0x10dc], 1
je 0x424132
mov dword [ebp + 0x10a8], 0x12
xor eax, eax
jmp 0x424152
lea edi, [esi + 8]
mov ecx, edi
call fcn.0041ab50
mov ebx, eax
test ebx, ebx
je 0x4240bd
cmp dword [esi + 0x1058], 0
jle 0x424136
cmp ebx, 0xffffffff
je 0x423d10
mov ecx, dword [edi]
lea eax, [ebx - 1]
push eax
lea eax, [esp + 0x29]
mov byte [esp + 0x28], bl
push eax
mov edi, dword [ecx + 0xc]
mov ecx, edi
call dword [0x523720]
lea ecx, [esi + 8]
call edi
lea ecx, [ebx - 1]
cmp eax, ecx
jne 0x423d10
sub dword [esi + 0x1058], ebx
movzx ebx, byte [esp + 0x3d]
test bl, 1
je 0x423ff5
or dword [ebp + 0x10a8], 2
mov eax, dword [esp + 0x2e]
xor ecx, ecx
mov dword [ebp + 0x1080], eax
mov dword [ebp + 0x1088], eax
lea eax, [ebp + 0x1090]
push eax
lea eax, [esp + 0x28]
mov dword [ebp + 0x1084], ecx
mov dword [ebp + 0x108c], ecx
mov ecx, esi
push eax
call fcn.00423960
movzx eax, byte [esp + 0x44]
lea edi, [esi + 0x106c]
push 0x800
push edi
push ebp
mov dword [esp + 0x20], eax
call fcn.0049ce90
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x424044
sub edi, ecx
mov eax, 0x5c
sar edi, 1
mov ecx, 0
setne cl
add ecx, edi
mov word [ebp + edi*2], ax
mov eax, 0x800
sub eax, ecx
push eax
push dword [esp + 0x18]
lea edi, [ecx*2]
mov ecx, esi
lea eax, [esp + 0x4d]
add edi, ebp
push eax
push edi
call fcn.00423190
cmp eax, 2
jbe 0x4240a1
cmp word [edi + eax*2 - 4], 0x3b
jne 0x4240a1
cmp word [edi + eax*2 - 2], 0x31
jne 0x4240a1
sub eax, 2
xor ecx, ecx
mov word [edi + eax*2], cx
test bl, 2
je 0x424119
cmp dword [esi + 0x1058], ecx
je 0x424140
jmp 0x423f8a
cmp dword [esi + 0x1058], 0
jle 0x424136
mov eax, dword [edi]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x523720]
lea ecx, [esi + 8]
call edi
sub eax, 1
push 0
push 0x800
sbb edx, 0
push edx
push eax
call fcn.00503210
mov edi, dword [esi + 8]
mov ebx, 0x800
sub ebx, eax
push 1
mov edi, dword [edi + 0x10]
mov ecx, edi
lea eax, [ebx - 1]
cdq
push edx
push eax
call dword [0x523720]
lea ecx, [esi + 8]
call edi
sub dword [esi + 0x1058], ebx
jmp 0x423f8a
mov eax, dword [esp + 0x26]
xor ecx, ecx
shld ecx, eax, 0xb
shl eax, 0xb
mov dword [esi + 0x1060], eax
mov dword [esi + 0x1064], ecx
xor eax, eax
jmp 0x424152
mov dword [esi + 0x1058], 0
mov eax, dword [esi]
push ebp
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x523720]
mov ecx, esi
call edi
mov ecx, dword [esp + 0x1124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x1118
ret 4