Function at 0x45cf60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20c]
mov eax, dword [eax]
test byte [eax + 0x3c], 1
push edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
jne 0x45cfc2
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x28]
lea ebx, [ebx + ebx*8]
add ebx, ebx
add ebx, ebx
add ebx, ebx
cmp dword [ebp + 0x10], 0
mov edx, dword [ebx + ecx + 0x34]
mov edi, dword [ebx + ecx + 0x1c]
lea eax, [ebx + ecx + 0x1c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edi
je 0x45cfcb
cmp dword [ebp + 0x14], 0
je 0x45cfd6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x45cfd6
cmp byte [ecx], 1
ja 0x45cfc2
mov edx, dword [edi + 0x48]
mov eax, dword [edi + 0x28]
test edx, edx
je 0x45cfe6
cmp dword [esi + 0x48], 0
jne 0x45cfc2
cmp dword [edi + 0x4c], 0
jne 0x45cfc2
cmp dword [esi + 0x44], 0
je 0x45cff6
test edx, edx
jne 0x45cfc2
cmp byte [eax], 0
je 0x45cfc2
test byte [edi + 6], 1
jne 0x45cfc2
test edx, edx
je 0x45d010
cmp byte [ecx], 1
ja 0x45cfc2
cmp dword [ebp + 0x10], 0
jne 0x45cfc2
mov ax, word [esi + 6]
and ax, 1
mov word [esp + 0x12], ax
je 0x45d025
cmp dword [ebp + 0x14], 0
jne 0x45cfc2
cmp dword [esi + 0x38], 0
je 0x45d031
cmp dword [edi + 0x38], 0
jne 0x45cfc2
cmp dword [ebp + 0x10], 0
je 0x45d03d
cmp dword [edi + 0x38], 0
jne 0x45cfc2
test edx, edx
je 0x45d058
cmp dword [esi + 0x2c], 0
jne 0x45cfc2
test edx, edx
je 0x45d058
test ax, ax
jne 0x45cfc2
test byte [ebx + ecx + 0x28], 0x20
lea eax, [ebx + ecx + 0x28]
mov dword [esp + 0x38], eax
jne 0x45cfc2
cmp dword [edi + 0x3c], 0
je 0x45d105
cmp dword [edi + 0x38], 0
jne 0x45cfc2
cmp dword [ebp + 0x10], 0
jne 0x45cfc2
cmp word [esp + 0x12], 0
jne 0x45cfc2
cmp byte [ecx], 1
jne 0x45cfc2
mov eax, edi
test byte [eax + 6], 5
jne 0x45cfc2
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x45d0bb
cmp byte [eax + 4], 0x72
jne 0x45cfc2
mov edx, dword [eax + 0x28]
cmp byte [edx], 1
jb 0x45cfc2
mov edx, dword [edi]
mov eax, dword [eax]
mov edx, dword [edx]
cmp edx, dword [eax]
jne 0x45cfc2
mov eax, ecx
test eax, eax
jne 0x45d0a0
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x45d105
cmp dword [ecx], eax
jle 0x45d105
mov ecx, dword [ecx + 8]
add ecx, 0x14
lea esp, [esp]
cmp word [ecx], 0
je 0x45cfc2
mov edx, dword [esi + 0x38]
inc eax
add ecx, 0x18
cmp eax, dword [edx]
jl 0x45d0f0
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + eax + 0x10]
push 0
lea edi, [ebx + eax + 0x10]
mov eax, dword [ebp + 8]
push 0
push 0
push 0x15
mov dword [esp + 0x34], edi
mov dword [eax + 0x20c], ecx
call fcn.0043f7c0
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x20c], edx
mov eax, dword [ecx + 0x3c]
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
je 0x45d1e7
mov edi, edi
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esp + 0x14]
mov edi, dword [esi + 0x38]
mov ebx, dword [esi + 0x48]
mov dword [esp + 0x30], eax
xor eax, eax
push eax
push esi
push ecx
mov dword [esp + 0x40], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
call fcn.00437b90
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov dword [esi + 0x4c], edx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], ecx
mov byte [esi + 4], 0x72
mov dword [esi + 0x44], 0
test eax, eax
jne 0x45d1ad
mov eax, dword [esp + 0x30]
jmp 0x45d1bb
mov edx, dword [esp + 0x30]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x44], 0
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x40], 0
jne 0x45d556
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x45d150
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov eax, dword [ebx + eax + 0xc]
call fcn.00409080
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
call fcn.00409080
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + ecx + 0x14]
mov ecx, dword [esp + 0x14]
call fcn.00409080
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov dword [ebx + eax + 0xc], ecx
mov dword [ebx + eax + 0x14], ecx
lea ebx, [ebx + eax + 0x18]
mov eax, dword [ebx]
mov dword [edi], ecx
mov dword [edx], ecx
cmp eax, ecx
je 0x45d282
movzx ecx, word [eax + 0x28]
cmp ecx, 1
jne 0x45d277
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1b8]
test ecx, ecx
jne 0x45d25a
mov ecx, edx
mov edx, dword [ecx + 0x22c]
mov dword [eax + 0x48], edx
mov dword [ecx + 0x22c], eax
mov dword [ebx], 0
mov ebx, esi
mov dword [esp + 0x30], ebx
jmp 0x45d294
dec ecx
mov word [eax + 0x28], cx
mov dword [ebx], 0
mov ebx, esi
mov dword [esp + 0x30], ebx
jmp 0x45d294
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x28]
movzx esi, byte [eax]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x28]
mov byte [esp + 0x12], 0
mov dword [esp + 0x18], eax
test eax, eax
je 0x45d2c2
mov ecx, dword [esp + 0x38]
mov dl, byte [ecx]
mov byte [esp + 0x12], dl
jmp 0x45d2e0
push 0
push 0
push edi
xor eax, eax
call fcn.00444bf0
add esp, 0xc
mov dword [ebx + 0x28], eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x45d53b
cmp esi, 1
jle 0x45d309
mov ecx, dword [ebp + 0xc]
inc ecx
push ecx
lea edx, [esi - 1]
push edx
mov ecx, edi
call fcn.00444af0
add esp, 8
mov dword [ebx + 0x28], eax
cmp byte [edi + 0x40], 0
mov dword [esp + 0x18], eax
jne 0x45d53b
test esi, esi
jle 0x45d370
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
add eax, 8
mov dword [esp + 0x28], eax
lea eax, [ecx + edx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], esi
lea esp, [esp]
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x34]
mov esi, dword [esp + 0x14]
call fcn.004449c0
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov esi, eax
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov esi, 0x48
push esi
push 0
push eax
call fcn.004d29c0
add dword [esp + 0x30], esi
add dword [esp + 0x34], esi
add esp, 0xc
dec dword [esp + 0x34]
jne 0x45d330
mov eax, dword [esp + 0x18]
mov cl, byte [esp + 0x12]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov byte [edx + eax + 0x28], cl
mov ecx, dword [ebx]
xor eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
cmp dword [ecx], eax
jle 0x45d3f3
mov dword [esp + 0x28], eax
lea esp, [esp]
mov edx, dword [ecx + 8]
cmp dword [eax + edx + 4], 0
jne 0x45d3db
mov ebx, dword [eax + edx + 8]
push esi
call fcn.00409400
add esp, 4
mov esi, eax
call fcn.0040b540
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov dword [edx + ecx + 4], esi
mov esi, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
inc edx
add eax, 0x18
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
cmp edx, dword [ecx]
jl 0x45d3a0
mov eax, dword [edi]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx]
push eax
push ecx
push edx
push esi
call fcn.0045cca0
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x45d437
mov eax, dword [edi]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx + 0x30]
push eax
push ecx
push edx
push esi
call fcn.0045cca0
mov eax, dword [edi]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx + 0x34]
push eax
push ecx
push edx
push esi
call fcn.0045cb90
add esp, 0x20
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x38]
test eax, eax
je 0x45d44a
mov dword [ebx + 0x38], eax
mov dword [edi + 0x38], 0
jmp 0x45d463
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x45d463
mov ecx, dword [edi]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
push esi
call fcn.0045cca0
add esp, 0x10
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x45d47e
push 0
push 0
push eax
push esi
call fcn.00437440
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x45d486
mov dword [esp + 0x28], 0
cmp dword [ebp + 0x14], 0
mov eax, dword [ebx + 0x2c]
je 0x45d4df
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x2c], ecx
mov edx, dword [edi]
mov ecx, dword [ebx + 0x34]
push edx
push eax
push ecx
push esi
call fcn.0045cb90
push 0
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x34]
push 0
push eax
push esi
call fcn.00437440
mov edx, dword [ebx + 0x34]
push eax
push edx
mov eax, esi
call fcn.00436f60
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x30]
push 0
push eax
push esi
call fcn.00437690
add esp, 0x34
mov dword [ebx + 0x30], eax
jmp 0x45d504
mov ecx, dword [edi]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
push esi
call fcn.0045cb90
mov ecx, dword [esp + 0x38]
push ecx
mov dword [ebx + 0x2c], eax
push eax
mov eax, esi
call fcn.00436f60
add esp, 0x18
mov dword [ebx + 0x2c], eax
mov dx, word [edi + 6]
and dx, 1
or word [ebx + 6], dx
mov eax, dword [edi + 0x48]
test eax, eax
je 0x45d521
mov dword [ebx + 0x48], eax
mov dword [edi + 0x48], 0
mov ebx, dword [ebx + 0x3c]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x45d290
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x45d556
push esi
push edi
call fcn.004575a0
add esp, 8
mov eax, esi
mov ecx, edi
call fcn.00409080
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret