Function at 0x4942a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x38
mov eax, dword [0x5241f0]
push ebx
imul eax, dword [0x5241ec]
push ebp
push esi
push edi
mov dword [esp + 0x28], eax
xor edx, edx
xor eax, eax
mov dword [eax + 0x524298], edx
mov dword [eax + 0x5242e0], edx
sub eax, 0xc
cmp eax, 0xffffffdc
jge 0x4942bb
mov ebp, dword [0x524168]
and ebp, 0xffff
jle 0x494350
mov eax, dword [0x5241e0]
mov ecx, 0x52437c
and eax, 0xffff
mov esi, 0x5241f4
lea edi, [eax*8]
xor eax, eax
mov ax, word [0x5241e2]
lea ebx, [eax*8]
jmp 0x49430b
xor edx, edx
mov eax, dword [esi]
mov word [ecx], dx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
xor edx, edx
add esi, 4
mov dx, word [ecx - 0x1c]
add ecx, 0x34
imul edx, dword [eax + 4]
lea eax, [edx + edi - 1]
xor edx, edx
div edi
xor edx, edx
mov dx, word [ecx - 0x4e]
mov dword [ecx - 0x28], eax
mov eax, dword [esp + 0x4c]
imul edx, dword [eax + 8]
lea eax, [edx + ebx - 1]
xor edx, edx
div ebx
dec ebp
mov dword [ecx - 0x24], eax
jne 0x494309
xor edx, edx
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push edx
push ebx
push ecx
mov dword [esp + 0x4c], edx
call fcn.00495490
xor ebp, ebp
cmp eax, ebp
jne 0x494532
cmp dword [0x524250], 0xffffff9b
je 0x494532
push ebx
call fcn.00494550
cmp eax, ebp
jne 0x494539
call fcn.00494b70
cmp eax, ebp
jne 0x494539
mov al, byte [ebx + 4]
test al, al
jne 0x4943c7
mov al, byte [ebx + 6]
mov edi, 0x494e90
test al, al
je 0x4943ae
mov edi, 0x495130
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x494504
lea esi, [eax]
push ebx
call edi
dec esi
jne 0x4943bc
jmp 0x494504
mov eax, dword [0x524168]
and eax, 0xffff
dec eax
lea edx, [eax + eax*2]
lea ecx, [eax + edx*4]
mov edx, eax
dec eax
test edx, edx
lea esi, [ecx*4 + 0x524360]
je 0x4943fa
xor ecx, ecx
mov cl, byte [ebx + 1]
cmp dword [esi + 0x30], ecx
je 0x4943fa
sub esi, 0x34
mov edx, eax
dec eax
test edx, edx
jne 0x4943eb
mov al, byte [ebx + 6]
mov dword [esp + 0x20], 0x494fc0
test al, al
je 0x494411
mov dword [esp + 0x20], 0x495210
xor edx, edx
xor eax, eax
mov dx, word [esi]
mov ax, word [esi + 2]
shl edx, 6
mov ebx, edx
mov ecx, dword [0x5241ec]
imul ebx, eax
mov edi, ebx
mov dword [esp + 0x30], edx
imul edi, ecx
mov dword [esp + 0x34], edi
mov edi, dword [esi + 0x2c]
mov dword [esp + 0x1c], edi
mov edi, dword [0x5241f0]
cmp edi, ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebp
jle 0x494504
mov dword [esp + 0x14], ebp
jmp 0x49445c
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x24], ebp
jle 0x4944d9
mov dword [esp + 0x10], ebp
mov edi, dword [esp + 0x1c]
mov ebp, edi
dec edi
test ebp, ebp
mov dword [esp + 0x1c], edi
je 0x4944d9
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
add eax, edi
mov edi, dword [esi + 0x24]
xor ebp, ebp
lea edi, [edi + eax*2]
mov eax, dword [esi + 0x28]
test ecx, ecx
mov dword [0x524204], eax
jle 0x4944bc
add ebx, ebx
mov ecx, dword [esp + 0x50]
push edi
push esi
lea edx, [esp + 0x40]
push ecx
push edx
call dword [esp + 0x30]
mov ecx, dword [0x5241ec]
add edi, ebx
inc ebp
cmp ebp, ecx
jl 0x494497
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
add eax, edx
inc edi
mov dword [esp + 0x10], eax
xor eax, eax
mov ax, word [esi + 2]
mov dword [esp + 0x24], edi
cmp edi, eax
jl 0x494468
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
inc edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x34]
add ebp, edi
mov edi, dword [0x5241f0]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
cmp ebp, edi
jl 0x49445a
xor ebp, ebp
mov eax, dword [0x526acc]
mov ecx, dword [0x524238]
sar eax, 3
sub ecx, eax
mov dword [0x526acc], ebp
mov dword [0x524238], ecx
jns 0x494527
call fcn.00496b20
inc dword [0x52420c]
jmp 0x4942b7
cmp eax, 0xfffffff1
jne 0x494539
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8