Function at 0x4243b0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x1118
call fcn.00507730
mov eax, dword [0x5755c4]
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 0x42466a
mov ecx, dword [esi + 0x1054]
cmp ecx, dword [esi + 0x104c]
jb 0x4243fa
mov eax, 1
jmp 0x424832
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 0x424420
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 0x4244dd
cmp ecx, dword [esi + 0x104c]
jae 0x4245ae
mov eax, dword [esi + 0x1050]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x1048]
jae 0x4245ae
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.00423840
mov edi, eax
mov dword [esp + 0x20], edi
test ebx, ebx
je 0x4244a0
lea ecx, [ebx + ebx]
push ecx
lea ecx, [ebp + 2]
lea ecx, [ecx + edi*2]
push ebp
push ecx
call fcn.0051f100
add esp, 0xc
add edi, edi
lea eax, [esp + 0x124]
push edi
push eax
push ebp
call fcn.0051ff80
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 0x424420
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 0x42450b
cmp word [edx + ecx*2 - 4], 0x3b
jne 0x42450b
cmp word [edx + ecx*2 - 2], 0x31
jne 0x42450b
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.00423840
push 0x7ff
push ebp
lea eax, [esi + 0x106c]
push eax
call fcn.0049dc20
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 [0x540780]
lea ecx, [esi + 8]
call edi
mov ecx, dword [esi + 0x1034]
cmp ecx, dword [esi + 0x1038]
jae 0x4245b8
mov eax, dword [esi + 0x1030]
movzx ebx, byte [eax + ecx]
lea eax, [ecx + 1]
lea ecx, [esi + 8]
mov dword [ecx + 0x102c], eax
jmp 0x4245e3
mov eax, 2
jmp 0x424832
mov eax, dword [esi + 8]
lea ecx, [esp + 0x13]
push 1
push ecx
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x540780]
lea ecx, [esi + 8]
call edi
cmp eax, 1
jne 0x4243f0
movzx ebx, byte [esp + 0x13]
lea ecx, [esi + 8]
cmp ebx, 0xffffffff
je 0x4243f0
test ebx, ebx
je 0x4243f0
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 [0x540780]
lea ecx, [esi + 8]
call edi
lea ecx, [ebx - 1]
cmp eax, ecx
jne 0x4243f0
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.00424010
test byte [esp + 0x3d], 1
mov dword [ebp + 0x10a8], 0x10
mov byte [ebp + 0x10dc], 1
je 0x424812
mov dword [ebp + 0x10a8], 0x12
xor eax, eax
jmp 0x424832
lea edi, [esi + 8]
mov ecx, edi
call fcn.0041b040
mov ebx, eax
test ebx, ebx
je 0x42479d
cmp dword [esi + 0x1058], 0
jle 0x424816
cmp ebx, 0xffffffff
je 0x4243f0
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 [0x540780]
lea ecx, [esi + 8]
call edi
lea ecx, [ebx - 1]
cmp eax, ecx
jne 0x4243f0
sub dword [esi + 0x1058], ebx
movzx ebx, byte [esp + 0x3d]
test bl, 1
je 0x4246d5
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.00424010
movzx eax, byte [esp + 0x44]
lea edi, [esi + 0x106c]
push 0x800
push edi
push ebp
mov dword [esp + 0x20], eax
call fcn.0049dc20
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x424724
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.00423840
cmp eax, 2
jbe 0x424781
cmp word [edi + eax*2 - 4], 0x3b
jne 0x424781
cmp word [edi + eax*2 - 2], 0x31
jne 0x424781
sub eax, 2
xor ecx, ecx
mov word [edi + eax*2], cx
test bl, 2
je 0x4247f9
cmp dword [esi + 0x1058], ecx
je 0x424820
jmp 0x42466a
cmp dword [esi + 0x1058], 0
jle 0x424816
mov eax, dword [edi]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x540780]
lea ecx, [esi + 8]
call edi
sub eax, 1
push 0
push 0x800
sbb edx, 0
push edx
push eax
call fcn.005079a0
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 [0x540780]
lea ecx, [esi + 8]
call edi
sub dword [esi + 0x1058], ebx
jmp 0x42466a
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 0x424832
mov dword [esi + 0x1058], 0
mov eax, dword [esi]
push ebp
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x540780]
mov ecx, esi
call edi
mov ecx, dword [esp + 0x1124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00507712
add esp, 0x1118
ret 4