Function at 0x45a3f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
cmp byte [ebp + 0x5b], 1
jne 0x45a45e
mov al, byte [ebp + 0x5a]
test al, al
je 0x45a45e
mov eax, dword [ebp + 0x88]
mov cl, byte [eax + 2]
test cl, cl
je 0x45a45e
mov eax, dword [ebp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x2c]
cmp eax, ebx
jne 0x45a439
cmp ecx, dword [esp + 0x30]
jne 0x45a439
mov ecx, dword [esp + 0x38]
pop ebp
xor eax, eax
pop ebx
mov dword [ecx], 0
add esp, 0x18
ret
mov dl, byte [ebp + 0x59]
test dl, dl
je 0x45a462
cmp ecx, dword [esp + 0x30]
jg 0x45a462
jl 0x45a44c
cmp eax, ebx
jae 0x45a462
mov edx, dword [esp + 0x38]
pop ebp
xor eax, eax
pop ebx
mov dword [edx], 0xffffffff
add esp, 0x18
ret
mov ebx, dword [esp + 0x2c]
push ebp
call fcn.0045a090
add esp, 4
test eax, eax
jne 0x45a775
mov al, byte [ebp + 0x5b]
test al, al
jne 0x45a48c
mov eax, dword [esp + 0x38]
pop ebp
pop ebx
mov dword [eax], 0xffffffff
xor eax, eax
add esp, 0x18
ret
push esi
push edi
movsx ecx, word [ebp + 0x5e]
mov edx, dword [esp + 0x3c]
xor eax, eax
mov edi, dword [ebp + ecx*4 + 0x88]
mov dword [esp + 0x14], 0
mov ax, word [edi + 0x10]
dec eax
test edx, edx
mov dword [esp + 0x18], eax
jne 0x45a4b9
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov word [ebp + ecx*2 + 0x60], ax
mov edx, dword [esp + 0x10]
mov word [ebp + 0x42], 0
mov ecx, dword [edi + 0x40]
lea eax, [ecx + edx*2]
xor ecx, ecx
xor edx, edx
mov ch, byte [eax]
mov dl, byte [edi + 6]
mov cl, byte [eax + 1]
xor eax, eax
mov ax, word [edi + 0x12]
and ecx, eax
mov eax, dword [edi + 0x38]
add ecx, eax
mov al, byte [edi + 2]
add ecx, edx
test al, al
mov esi, ecx
je 0x45a593
mov al, byte [edi + 4]
test al, al
je 0x45a531
mov al, byte [esi]
cmp al, 0x80
jae 0x45a517
and eax, 0xff
mov dword [esp + 0x1c], eax
mov eax, 1
jmp 0x45a52a
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.0044c8e0
add esp, 8
and eax, 0xff
and eax, 0xff
add esi, eax
lea edx, [esp + 0x20]
push edx
push esi
call fcn.0044c720
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
add esp, 8
cmp eax, ebx
jne 0x45a564
cmp ecx, edx
jne 0x45a566
mov dword [ebp + 0x28], eax
xor ebx, ebx
mov byte [ebp + 0x5a], 1
mov dword [ebp + 0x2c], ecx
jmp 0x45a641
cmp ecx, edx
jg 0x45a580
jl 0x45a56e
cmp eax, ebx
jae 0x45a580
mov dword [ebp + 0x28], eax
or ebx, 0xffffffff
mov byte [ebp + 0x5a], 1
mov dword [ebp + 0x2c], ecx
jmp 0x45a641
mov ebx, 1
mov dword [ebp + 0x28], eax
mov byte [ebp + 0x5a], bl
mov dword [ebp + 0x2c], ecx
jmp 0x45a641
xor eax, eax
xor ecx, ecx
mov al, byte [esi]
mov cl, byte [edi + 7]
cmp eax, ecx
jg 0x45a5b7
mov edx, dword [esp + 0x30]
inc esi
push edx
push esi
push eax
call fcn.0045f520
add esp, 0xc
mov ebx, eax
jmp 0x45a641
mov cl, byte [esi + 1]
test cl, 0x80
jne 0x45a5ed
and eax, 0x7f
and ecx, 0xff
shl eax, 7
add eax, ecx
xor ecx, ecx
mov cx, word [edi + 8]
cmp eax, ecx
jg 0x45a5ed
mov edx, dword [esp + 0x30]
add esi, 2
push edx
push esi
push eax
call fcn.0045f520
add esp, 0xc
mov ebx, eax
jmp 0x45a641
lea ebx, [ebp + 0x28]
sub esi, edx
push ebx
push esi
push edi
call fcn.0044c5c0
mov ebx, dword [ebx]
push ebx
call fcn.0043fe00
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45a71a
push 0
push esi
push ebx
push 0
push ebp
call fcn.0044dd80
add esp, 0x14
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x45a72e
mov eax, dword [esp + 0x30]
push eax
push esi
push ebx
call fcn.0045f520
push esi
mov ebx, eax
call fcn.0043fff0
add esp, 0x10
test ebx, ebx
je 0x45a684
jge 0x45a652
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x45a65b
mov edx, dword [esp + 0x10]
dec edx
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp esi, eax
jg 0x45a6a4
movsx ecx, word [ebp + 0x5e]
add eax, esi
mov ebx, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov word [ebp + ecx*2 + 0x60], ax
jmp 0x45a4c2
mov al, byte [edi + 2]
test al, al
je 0x45a743
mov al, byte [edi + 3]
test al, al
jne 0x45a743
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov esi, edx
mov al, byte [edi + 3]
test al, al
jne 0x45a761
xor eax, eax
mov ax, word [edi + 0x10]
cmp esi, eax
jl 0x45a6c8
mov edx, dword [edi + 0x38]
xor ecx, ecx
mov cl, byte [edi + 5]
lea eax, [ecx + edx + 8]
push eax
jmp 0x45a6e4
mov ecx, dword [edi + 0x40]
xor edx, edx
mov dh, byte [ecx + esi*2]
lea eax, [ecx + esi*2]
mov dl, byte [eax + 1]
xor eax, eax
mov ax, word [edi + 0x12]
and edx, eax
mov eax, dword [edi + 0x38]
add edx, eax
push edx
call fcn.00447030
add esp, 4
test eax, eax
je 0x45a761
movsx ecx, word [ebp + 0x5e]
push eax
push ebp
mov word [ebp + ecx*2 + 0x60], si
mov word [ebp + 0x42], 0
mov byte [ebp + 0x5a], 0
call fcn.0045a230
add esp, 8
test eax, eax
jne 0x45a773
mov ebx, dword [esp + 0x34]
jmp 0x45a48e
pop edi
mov dword [esp + 0x28], 7
mov eax, dword [esp + 0x28]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push esi
call fcn.0043fff0
mov eax, dword [esp + 0x30]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edx, dword [esp + 0x40]
pop edi
mov dword [esp + 0x28], 0
pop esi
mov eax, dword [esp + 0x24]
pop ebp
mov dword [edx], 0
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], 0
mov dword [eax], ebx
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret