Function at 0x45c420
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 0x45c482
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 0x45c48b
cmp dword [ebp + 0x14], 0
je 0x45c496
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x45c496
cmp byte [ecx], 1
ja 0x45c482
mov edx, dword [edi + 0x48]
mov eax, dword [edi + 0x28]
test edx, edx
je 0x45c4a6
cmp dword [esi + 0x48], 0
jne 0x45c482
cmp dword [edi + 0x4c], 0
jne 0x45c482
cmp dword [esi + 0x44], 0
je 0x45c4b6
test edx, edx
jne 0x45c482
cmp byte [eax], 0
je 0x45c482
test byte [edi + 6], 1
jne 0x45c482
test edx, edx
je 0x45c4d0
cmp byte [ecx], 1
ja 0x45c482
cmp dword [ebp + 0x10], 0
jne 0x45c482
mov ax, word [esi + 6]
and ax, 1
mov word [esp + 0x12], ax
je 0x45c4e5
cmp dword [ebp + 0x14], 0
jne 0x45c482
cmp dword [esi + 0x38], 0
je 0x45c4f1
cmp dword [edi + 0x38], 0
jne 0x45c482
cmp dword [ebp + 0x10], 0
je 0x45c4fd
cmp dword [edi + 0x38], 0
jne 0x45c482
test edx, edx
je 0x45c518
cmp dword [esi + 0x2c], 0
jne 0x45c482
test edx, edx
je 0x45c518
test ax, ax
jne 0x45c482
test byte [ebx + ecx + 0x28], 0x20
lea eax, [ebx + ecx + 0x28]
mov dword [esp + 0x38], eax
jne 0x45c482
cmp dword [edi + 0x3c], 0
je 0x45c5c5
cmp dword [edi + 0x38], 0
jne 0x45c482
cmp dword [ebp + 0x10], 0
jne 0x45c482
cmp word [esp + 0x12], 0
jne 0x45c482
cmp byte [ecx], 1
jne 0x45c482
mov eax, edi
test byte [eax + 6], 5
jne 0x45c482
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x45c57b
cmp byte [eax + 4], 0x72
jne 0x45c482
mov edx, dword [eax + 0x28]
cmp byte [edx], 1
jb 0x45c482
mov edx, dword [edi]
mov eax, dword [eax]
mov edx, dword [edx]
cmp edx, dword [eax]
jne 0x45c482
mov eax, ecx
test eax, eax
jne 0x45c560
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x45c5c5
cmp dword [ecx], eax
jle 0x45c5c5
mov ecx, dword [ecx + 8]
add ecx, 0x14
lea esp, [esp]
cmp word [ecx], 0
je 0x45c482
mov edx, dword [esi + 0x38]
inc eax
add ecx, 0x18
cmp eax, dword [edx]
jl 0x45c5b0
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.0043ecb0
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 0x45c6a7
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.00437080
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 0x45c66d
mov eax, dword [esp + 0x30]
jmp 0x45c67b
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 0x45ca16
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x45c610
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.004085b0
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
call fcn.004085b0
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + ecx + 0x14]
mov ecx, dword [esp + 0x14]
call fcn.004085b0
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 0x45c742
movzx ecx, word [eax + 0x28]
cmp ecx, 1
jne 0x45c737
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1b8]
test ecx, ecx
jne 0x45c71a
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 0x45c754
dec ecx
mov word [eax + 0x28], cx
mov dword [ebx], 0
mov ebx, esi
mov dword [esp + 0x30], ebx
jmp 0x45c754
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 0x45c782
mov ecx, dword [esp + 0x38]
mov dl, byte [ecx]
mov byte [esp + 0x12], dl
jmp 0x45c7a0
push 0
push 0
push edi
xor eax, eax
call fcn.004440d0
add esp, 0xc
mov dword [ebx + 0x28], eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x45c9fb
cmp esi, 1
jle 0x45c7c9
mov ecx, dword [ebp + 0xc]
inc ecx
push ecx
lea edx, [esi - 1]
push edx
mov ecx, edi
call fcn.00443fd0
add esp, 8
mov dword [ebx + 0x28], eax
cmp byte [edi + 0x40], 0
mov dword [esp + 0x18], eax
jne 0x45c9fb
test esi, esi
jle 0x45c830
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.00443ea0
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.004a3190
add dword [esp + 0x30], esi
add dword [esp + 0x34], esi
add esp, 0xc
dec dword [esp + 0x34]
jne 0x45c7f0
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 0x45c8b3
mov dword [esp + 0x28], eax
lea esp, [esp]
mov edx, dword [ecx + 8]
cmp dword [eax + edx + 4], 0
jne 0x45c89b
mov ebx, dword [eax + edx + 8]
push esi
call fcn.00408930
add esp, 4
mov esi, eax
call fcn.0040aa70
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 0x45c860
mov eax, dword [edi]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx]
push eax
push ecx
push edx
push esi
call fcn.0045c160
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x45c8f7
mov eax, dword [edi]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx + 0x30]
push eax
push ecx
push edx
push esi
call fcn.0045c160
mov eax, dword [edi]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx + 0x34]
push eax
push ecx
push edx
push esi
call fcn.0045c050
add esp, 0x20
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x38]
test eax, eax
je 0x45c90a
mov dword [ebx + 0x38], eax
mov dword [edi + 0x38], 0
jmp 0x45c923
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x45c923
mov ecx, dword [edi]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
push esi
call fcn.0045c160
add esp, 0x10
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x45c93e
push 0
push 0
push eax
push esi
call fcn.00436930
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x45c946
mov dword [esp + 0x28], 0
cmp dword [ebp + 0x14], 0
mov eax, dword [ebx + 0x2c]
je 0x45c99f
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.0045c050
push 0
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x34]
push 0
push eax
push esi
call fcn.00436930
mov edx, dword [ebx + 0x34]
push eax
push edx
mov eax, esi
call fcn.00436450
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x30]
push 0
push eax
push esi
call fcn.00436b80
add esp, 0x34
mov dword [ebx + 0x30], eax
jmp 0x45c9c4
mov ecx, dword [edi]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
push esi
call fcn.0045c050
mov ecx, dword [esp + 0x38]
push ecx
mov dword [ebx + 0x2c], eax
push eax
mov eax, esi
call fcn.00436450
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 0x45c9e1
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 0x45c750
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x45ca16
push esi
push edi
call fcn.00456a60
add esp, 8
mov eax, esi
mov ecx, edi
call fcn.004085b0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret