Function at 0x40cb30
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4d0e30
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ea93c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 0
push 0
push 0
mov byte [esi + 0xa9c4], 0
mov byte [esi + 0x5e60], 0
call edx
mov ecx, esi
call fcn.0043b3b0
test al, al
je 0x40cb9e
add esi, 0x1e
push esi
push 0x406
call fcn.004744a0
push eax
push esi
call fcn.004abfe0
add esp, 0xc
xor al, al
jmp 0x40d026
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 7
lea edi, [esi + 0x5ecc]
push edi
mov ecx, esi
call edx
cmp eax, 7
jne 0x40cb97
mov dword [esi + 0xa9c8], 0
cmp byte [edi], 0x52
jne 0x40cc3f
mov al, byte [edi + 1]
cmp al, 0x45
jne 0x40cbde
cmp byte [edi + 2], 0x7e
jne 0x40cbde
cmp byte [edi + 3], 0x5e
jne 0x40cbde
mov eax, 1
jmp 0x40cc1c
cmp al, 0x61
jne 0x40cc3f
cmp byte [edi + 2], 0x72
jne 0x40cc3f
cmp byte [edi + 3], 0x21
jne 0x40cc3f
cmp byte [edi + 4], 0x1a
jne 0x40cc3f
cmp byte [edi + 5], 7
jne 0x40cc3f
mov al, byte [edi + 6]
test al, al
jne 0x40cc08
mov eax, 2
jmp 0x40cc1c
cmp al, 1
jne 0x40cc13
mov eax, 3
jmp 0x40cc1c
cmp al, 2
jne 0x40cc3f
mov eax, 4
mov dword [esi + 0xa9b8], eax
cmp eax, 1
jne 0x40cd69
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 0
push 0
push 0
mov ecx, esi
call edx
jmp 0x40cd69
xor edi, edi
push 0x100000
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.0040b8e0
mov dword [esp + 0x44], edi
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add ecx, 0xfffffff0
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
push ecx
push edx
mov ecx, esi
call eax
mov ebp, eax
test ebp, ebp
jle 0x40cd27
mov edi, edi
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + edi], 0x52
lea eax, [ecx + edi]
jne 0x40cce7
mov edx, ebp
sub edx, edi
push edx
push eax
mov ecx, esi
call fcn.0040b700
test eax, eax
je 0x40cce7
mov dword [esi + 0xa9b8], eax
cmp eax, 1
jne 0x40ccee
test edi, edi
jle 0x40ccee
cmp ebx, 0x1c
jge 0x40ccee
cmp ebp, 0x1f
jle 0x40ccee
mov eax, dword [esp + 0x1c]
sub eax, ebx
add eax, 0x1c
cmp byte [eax], 0x52
jne 0x40cce7
cmp byte [eax + 1], 0x53
jne 0x40cce7
cmp byte [eax + 2], 0x46
jne 0x40cce7
cmp byte [eax + 3], 0x58
je 0x40ccee
inc edi
cmp edi, ebp
jl 0x40cc90
jmp 0x40cd27
mov edx, dword [esi]
push 0
lea eax, [edi + ebx]
push 0
mov dword [esi + 0xa9c8], eax
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [esi + 0xa9b8]
cmp eax, 2
je 0x40cd15
cmp eax, 3
jne 0x40cd27
mov edx, dword [esi]
push 7
lea eax, [esi + 0x5ecc]
push eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
cmp dword [esi + 0xa9c8], 0
jne 0x40cd50
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40cd49
push eax
call fcn.004bff04
add esp, 4
xor al, al
jmp 0x40d026
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40cd69
push eax
call fcn.004bff04
add esp, 4
mov eax, dword [esi + 0xa9b8]
cmp eax, 4
jne 0x40cd92
push 0x345
call fcn.004744a0
push eax
add esi, 0x1e
push esi
call fcn.004abfe0
add esp, 8
xor al, al
jmp 0x40d026
cmp eax, 3
jne 0x40cdbe
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
lea edi, [esi + 0x5ed3]
push edi
mov ecx, esi
call eax
cmp byte [edi], 0
jne 0x40cb97
mov dword [esi + 0x5ed4], 8
jmp 0x40cdc8
mov dword [esi + 0x5ed4], 7
mov ecx, esi
call fcn.00412ce0
test eax, eax
je 0x40ce04
mov edi, 1
cmp dword [esi + 0x5224], edi
je 0x40ce04
mov eax, dword [esi + 0xa9b4]
mov ecx, dword [esi + 0xa9b0]
mov edx, dword [esi]
mov edx, dword [edx + 8]
push 0
push eax
push ecx
mov ecx, esi
call edx
mov ecx, esi
call fcn.00412ce0
test eax, eax
jne 0x40cdd8
cmp byte [esi + 0xa9cd], 0
mov bl, byte [esp + 0x4c]
je 0x40ce19
test bl, bl
je 0x40cb97
mov ecx, dword [esi + 0xa9b4]
mov eax, dword [esi]
mov edx, dword [esi + 0xa9b0]
mov eax, dword [eax + 8]
push 0
push ecx
push edx
mov ecx, esi
call eax
cmp byte [esi + 0xa9cc], 0
je 0x40ce5a
push 0x2ad
call fcn.004744a0
push eax
lea ecx, [esi + 0x1e]
push ecx
call fcn.004abfe0
add esp, 8
test bl, bl
je 0x40cb97
cmp byte [esi + 0x5ef6], 0
mov dl, byte [esi + 0x5ef4]
mov byte [esi + 0xa9be], dl
je 0x40ceb5
cmp dword [esi + 0x5efc], 0
ja 0x40ce81
cmp dword [esi + 0x5ef8], 0
jbe 0x40ceb5
mov eax, dword [esi + 0x5204]
cmp dword [eax + 0x2010], 0
je 0x40ceb5
push 0
lea edi, [esi + 0x5240]
push esi
mov ecx, edi
call fcn.00464d90
mov ecx, dword [esi + 0x5efc]
mov edx, dword [esi + 0x5ef8]
push ecx
push edx
mov ecx, edi
call fcn.00465450
cmp byte [esi + 0x5228], 0
je 0x40cecb
cmp byte [esi + 0xa9c4], 0
jne 0x40cff8
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
mov dword [esp + 0x2c], esi
call edx
mov edi, eax
mov ebx, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], 1
mov ecx, dword [esi + 0xa9b0]
mov eax, dword [esi + 0xa9ac]
mov edx, dword [esi + 0xa9b4]
mov ebp, dword [esi + 0xa9a8]
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
call fcn.00412ce0
test eax, eax
je 0x40cfbf
nop
mov eax, dword [esi + 0x5224]
cmp eax, 3
jne 0x40cfa2
mov ecx, 0x4d6a44
lea eax, [esi + 0x82b0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40cf5c
test dx, dx
je 0x40cf58
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40cf5c
add eax, 4
add ecx, 4
test dx, dx
jne 0x40cf36
xor eax, eax
jmp 0x40cf61
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40cf6c
mov byte [esi + 0xa9be], 1
cmp byte [esi + 0x9318], 0
mov ecx, dword [esi + 0xa9b0]
mov edx, dword [esi]
mov edx, dword [edx + 8]
sete al
mov byte [esi + 0xa9c1], al
mov eax, dword [esi + 0xa9b4]
push 0
push eax
push ecx
mov ecx, esi
call edx
mov ecx, esi
call fcn.00412ce0
test eax, eax
jne 0x40cf20
jmp 0x40cfbf
cmp eax, 2
jne 0x40cfb7
cmp byte [esi + 0x6fd8], 0
jne 0x40cfb7
mov eax, 1
jmp 0x40cfb9
xor eax, eax
mov byte [esi + 0xa9c1], al
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0xa9a8], ebp
mov dword [esi + 0xa9ac], eax
mov dword [esi + 0xa9b0], ecx
mov dword [esi + 0xa9b4], edx
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 0
push ebx
push edi
mov ecx, esi
call edx
cmp byte [esi + 0xa9bd], 0
je 0x40d00a
cmp byte [esi + 0xa9c1], 0
je 0x40d024
lea eax, [esi + 0x1e]
sub esi, eax
lea edx, [esi + 0xaa02]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40d015
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4