Function at 0x414850
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
mov eax, 0x52bbc0
push ebx
push esi
push edi
xor ebx, ebx
push ebp
mov cl, byte [eax]
test cl, cl
je 0x41487e
add eax, 0x5d0
inc ebx
cmp eax, 0x52f5e0
jb 0x41485e
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, ebx
mov esi, dword [esp + 0x1c]
shl eax, 5
sub eax, ebx
lea eax, [eax + eax*2]
shl eax, 4
lea edi, [eax + 0x52bbc0]
xor eax, eax
mov al, byte [esi + 4]
mov ecx, dword [eax*4 + 0x4927d8]
mov dword [edi + 0xd8], ecx
mov ecx, dword [esi + 0x10]
mov dx, word [esi + 0x18]
mov eax, dword [esi + 0x14]
push edx
push eax
push ecx
mov edx, dword [esi + 0xc]
push edx
push ebx
push edi
call fcn.0040a9b0
add esp, 0x18
mov dword [edi + 0x4c4], esi
mov cl, byte [esi]
mov byte [edi + 0x4ce], cl
mov cl, byte [esi]
cmp cl, 5
jne 0x4148db
mov byte [edi + 0xb], 0
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x4bc], eax
mov al, byte [eax]
mov byte [edi + 0x4f1], al
add dword [edi + 0x4bc], 2
mov edx, dword [edi + 0xd8]
mov al, byte [edx + 0xc]
mov byte [edi + 0x4f2], al
mov cl, byte [esi + 3]
test cl, cl
je 0x41495c
mov byte [edi + 0x551], 1
mov al, byte [esi + 3]
mov byte [edi + 0x4d7], al
mov cl, byte [0x52b30c]
test cl, cl
je 0x41495c
mov eax, dword [0x4cf144]
movsx ecx, byte [eax + 0xc]
xor eax, eax
sub esp, 4
mov al, byte [esi + 3]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
fild qword [esp + 0x14]
fmul dword [ecx*4 + 0x46d870]
fstp dword [esp]
call fcn.0040e9b0
add esp, 4
mov byte [edi + 0x4d7], al
mov al, byte [esi + 8]
mov byte [edi + 0x4cf], al
mov cl, byte [esi + 9]
lea eax, [ecx*4]
or al, cl
mov byte [edi + 0x4e7], al
mov cx, word [esi + 0x1a]
mov word [edi + 0x4d0], cx
mov dl, byte [esi + 7]
mov byte [edi + 0x4d2], dl
mov eax, dword [esi + 0x20]
mov dword [edi + 0x4dc], eax
mov cl, byte [esi + 0xa]
mov byte [edi + 0x4d8], cl
mov dl, byte [esi + 5]
mov byte [edi + 0x4f3], dl
mov al, byte [esi + 6]
mov byte [edi + 0x500], al
cmp al, 0xff
je 0x414a00
xor cx, cx
mov dl, byte [0x4ea1dc]
cmp dl, cl
jle 0x414a00
mov dword [esp + 0x10], ebx
movsx edx, cx
mov ebp, edx
lea edx, [edx + edx*4]
lea edx, [ebp + edx*2]
lea ebp, [ebp + edx*8]
lea edx, [ebp + ebp*2]
cmp byte [edx*8 + 0x4dd14b], al
je 0x4149f6
inc cx
movsx dx, byte [0x4ea1dc]
cmp dx, cx
jg 0x4149c4
mov ebx, dword [esp + 0x10]
jmp 0x414a00
mov ebx, dword [esp + 0x10]
mov byte [edi + 0x500], cl
mov al, byte [edi + 0x500]
cmp al, 0xff
je 0x414a1c
mov ax, 0x8000
sub ax, word [edi + 0x502]
mov word [edi + 0x502], ax
mov al, byte [esi + 0xb]
and al, 0x80
mov byte [edi + 0xa2], al
mov al, byte [esi + 0xb]
and al, 0x7f
mov byte [edi + 0xa3], al
mov al, byte [esi + 0xb]
and al, 0xf
mov byte [edi + 0x554], al
mov ecx, dword [0x4cf144]
cmp word [ecx + 0x18], 7
jne 0x414a51
mov byte [edi + 0x550], 1
mov byte [edi + 8], 0
push edi
call fcn.00415e50
add esp, 4
push edi
call fcn.0040bb50
add esp, 4
mov al, byte [esi + 2]
and eax, 0xffff00ff
mov ecx, dword [0x4cf144]
mov word [ecx + 0x10], ax
mov cl, byte [esi + 2]
and ecx, 0xffff00ff
mov eax, dword [0x4cf144]
mov word [eax + 0x12], cx
mov al, byte [edi + 0x4ce]
test al, 0x38
je case.0x414aa8.12
movsx eax, al
sub eax, 8
cmp eax, 0x18
ja case.0x414aa8.12
xor ecx, ecx
mov cl, byte [eax + 0x414b10]
jmp dword [ecx*4 + 0x414afc]
push edi
call fcn.0043d610
add esp, 4
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
push edi
call fcn.0043e700
add esp, 4
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
push edi
call fcn.004260e0
add esp, 4
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
push edi
call fcn.00436f40
add esp, 4
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret