Function at 0x45c400
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
mov al, byte [esi + 0x27]
test al, al
push edi
jne 0x45cc15
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x45cc15
movzx eax, byte [esi + 0x26]
cmp eax, 4
ja case.default.0x45c435
jmp dword [eax*4 + 0x45cdc4]
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0x7c]
mov edx, dword [ecx + eax*4 + 0x278]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], 0x457e70
mov ebx, dword [edi + 0xc]
cmp ebx, 2
mov dword [esp + 0x18], 0xffff
jne 0x45c475
mov dword [esi + 0x28], 0x45c300
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
lea ebp, [esi + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xdc]
cmp eax, 8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
ja case.default.0x45c499
jmp dword [eax*4 + 0x45cdd8]
test ebx, ebx
mov edi, dword [edi + 0x50]
movzx eax, byte [edi + 0x408]
mov dword [esp + 0x14], eax
jne 0x45c4b9
mov ebx, eax
jmp 0x45c6ae
movzx eax, word [esi + 6]
movzx edx, word [esi + 8]
movzx ecx, word [ebp]
movzx ebx, byte [edi + 0x1407]
add edx, eax
lea ecx, [edx + ecx + 3]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cx, word [eax*2 + 0x53dbcc]
mov word [esp + 0x18], cx
jmp 0x45c6ae
push ebp
mov ecx, edi
call fcn.004516e0
test ebx, ebx
mov dword [esp + 0x14], eax
jne 0x45c50c
mov ebx, eax
jmp 0x45c6ae
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, edi
call fcn.004516a0
movzx ecx, word [esi + 8]
movzx eax, word [esp + 0x24]
movzx ebx, word [esp + 0x22]
sub eax, ecx
movzx ecx, word [esi + 6]
sub ebx, ecx
movzx ecx, word [ebp]
movzx ebp, word [esp + 0x20]
sub ebp, ecx
test eax, eax
mov dword [esp + 0x28], ecx
jge 0x45c550
mov ecx, eax
neg ecx
mov dword [esp + 0x20], ecx
jmp 0x45c554
mov dword [esp + 0x20], eax
test ebx, ebx
mov edx, ebx
jge 0x45c55c
neg edx
test ebp, ebp
mov ecx, ebp
jge 0x45c564
neg ecx
add ecx, edx
add ecx, dword [esp + 0x20]
cmp ecx, 8
mov dword [esp + 0x20], ecx
jge 0x45c57c
mov ebx, dword [esp + 0x14]
jmp 0x45c6ae
movzx ecx, word [esi + 8]
sub ecx, eax
push ecx
call fcn.00451a60
mov word [esp + 0x20], ax
movzx eax, word [esi + 6]
sub eax, ebx
push eax
call fcn.00451a60
mov ecx, dword [esp + 0x30]
sub ecx, ebp
push ecx
mov word [esp + 0x26], ax
call fcn.00451a60
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov word [esp + 0x1c], ax
call fcn.004516e0
mov ebx, eax
lea eax, [esp + 0x18]
push eax
push ebx
mov ecx, edi
call fcn.004516a0
movzx ecx, word [esi + 8]
movzx eax, word [esp + 0x1c]
movzx edx, word [esi + 6]
mov ebp, dword [esp + 0x28]
sub eax, ecx
movzx ecx, word [esp + 0x1a]
sub ecx, edx
movzx edx, word [esp + 0x18]
sub edx, ebp
test eax, eax
jge 0x45c5f4
neg eax
test ecx, ecx
jge 0x45c5fa
neg ecx
test edx, edx
jge 0x45c600
neg edx
add ecx, eax
mov eax, dword [esp + 0x20]
add ecx, eax
shl eax, 4
add ecx, edx
cdq
idiv ecx
cmp eax, 0xf
jle 0x45c61a
mov eax, 0xf
mov cx, word [eax*2 + 0x53dbcc]
mov word [esp + 0x18], cx
jmp 0x45c6ae
push ebp
call fcn.0044f6d0
movzx edx, ax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x1c], edx
call fcn.0044f6d0
add esp, 8
movzx ebx, ax
jmp 0x45c6ae
push ebp
call fcn.0044f700
movzx ecx, ax
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x1c], ecx
call fcn.0044f700
add esp, 8
movzx ebx, ax
jmp 0x45c6ae
push ebp
call fcn.00402360
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
push eax
call fcn.00402360
add esp, 8
mov ebx, eax
jmp 0x45c6ae
push 0xff
push ebp
call fcn.00402360
lea ecx, [esp + 0x30]
push 0xff
push ecx
mov dword [esp + 0x24], eax
call fcn.00402360
add esp, 0x10
mov ebx, eax
jmp 0x45c6ae
mov ebx, dword [esp + 0x30]
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x45c6d4
mov eax, dword [esp + 0x30]
cmp eax, 4
jl 0x45c6c7
cmp eax, 8
jg 0x45c6c7
push 4
jmp 0x45c6c9
push 0x40
call fcn.00439320
add esp, 4
mov dword [esi + 0x38], eax
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xdc]
mov eax, dword [eax + 0x74]
push edx
mov edx, dword [esp + 0x18]
push 4
push ecx
movzx ecx, word [esp + 0x24]
push ebx
push edx
and eax, 3
push eax
push ecx
call fcn.00451a80
add esp, 0x1c
mov byte [esi + 0x27], 1
mov dword [esi], 0x80008000
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x28], fcn.004f5a70
mov dword [esi + 0x2c], 0x45b750
mov byte [esi + 0x27], 1
mov dword [esi], 0x80008000
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x28], fcn.004f5a70
mov dword [esi + 0x2c], 0x45ba50
mov byte [esi + 0x27], 1
mov dword [esi], 0x80008000
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x38]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x45cd17
mov ebp, dword [ebx + 0xc]
cmp ebp, 6
je 0x45c776
mov ecx, ebx
call fcn.0040c230
test eax, eax
je 0x45cd17
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x45c786
cmp ebp, 6
je 0x45cd17
mov al, byte [esi + 0x24]
test al, al
mov dword [esi + 0x28], 0x45bb20
mov eax, 0x4581c0
jne 0x45c79e
mov eax, fcn.00457120
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 4]
call fcn.004614e0
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 0x24]
mov dword [eax + 0x64], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x28]
mov dword [eax + 0x68], ecx
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 0x2c]
mov dword [eax + 0x88], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x30]
mov dword [eax + 0x8c], ecx
mov edx, dword [esi + 0x38]
mov dword [edx + 0x60], esi
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 0x6c], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x70], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x78], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x7c], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 8]
xor ebp, ebp
cmp ecx, ebp
je 0x45c81d
add ecx, 4
jmp 0x45c81f
xor ecx, ecx
mov dword [eax + 0x74], ecx
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0x24]
mov dword [eax + 0x84], ecx
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x50]
cmp eax, ebp
je 0x45c842
add eax, 0x408
jmp 0x45c844
xor eax, eax
mov ecx, dword [esi + 0x38]
mov dword [ecx + 0x80], eax
mov edi, dword [esi + 0x38]
mov eax, dword [edi + 0x40]
cmp eax, ebp
lea ecx, [edi + 0x40]
je 0x45c9c9
call fcn.0043d3d0
test eax, eax
mov ebx, 0x100
je 0x45c876
cmp word [edi + 0x44], bx
je 0x45c9c9
push 0x414
call fcn.00439320
mov edx, eax
add esp, 4
cmp edx, ebp
je 0x45c898
mov ecx, 0x105
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, edx
jmp 0x45c89a
xor edi, edi
cmp edi, ebp
mov edx, dword [esi + 0x38]
mov dword [edx + 0x54], edi
je 0x45c9cc
mov eax, dword [esi + 0x38]
cmp word [eax + 0x44], bx
jl 0x45c8c2
cmp word [eax + 0x46], bp
jl 0x45c8c2
mov al, byte [esi + 0x24]
test al, al
jne 0x45c8c2
xor eax, eax
jmp 0x45c8c7
mov eax, 1
mov byte [edi + 0x400], al
mov ebx, dword [esi + 0x38]
lea ecx, [ebx + 0x40]
call fcn.0043d3d0
test eax, eax
je 0x45c8f6
mov byte [edi + 0x400], 3
mov eax, dword [esi + 0x38]
mov cx, word [eax + 0x44]
mov word [edi + 0x40a], cx
jmp 0x45c9cc
mov dx, word [ebx + 0x44]
mov word [edi + 0x40a], dx
mov eax, dword [esi + 0x38]
mov cx, word [eax + 0x48]
mov word [edi + 0x408], cx
mov edx, dword [esi + 0x38]
mov ax, word [edx + 0x4c]
mov word [edi + 0x406], ax
mov ecx, dword [esi + 0x38]
mov dx, word [ecx + 0x50]
mov word [edi + 0x404], dx
mov eax, dword [esi + 0x38]
mov cx, word [eax + 0x46]
mov word [edi + 0x412], cx
mov edx, dword [esi + 0x38]
mov ax, word [edx + 0x4a]
mov word [edi + 0x410], ax
mov ecx, dword [esi + 0x38]
mov dx, word [ecx + 0x4e]
mov word [edi + 0x40e], dx
mov eax, dword [esi + 0x38]
mov cx, word [eax + 0x52]
mov word [edi + 0x40c], cx
mov eax, dword [esi + 0x38]
movsx edx, word [eax + 0x4a]
movsx eax, word [eax + 0x48]
push edi
push edx
push eax
call fcn.00451bf0
mov eax, dword [esi + 0x38]
movsx edx, word [eax + 0x4e]
movsx eax, word [eax + 0x4c]
lea ecx, [edi + 0x100]
push ecx
push edx
push eax
call fcn.00451bf0
mov eax, dword [esi + 0x38]
movsx edx, word [eax + 0x52]
movsx eax, word [eax + 0x50]
lea ecx, [edi + 0x200]
push ecx
push edx
push eax
call fcn.00451bf0
mov eax, dword [esi + 0x38]
movsx ecx, word [eax + 0x46]
movsx edx, word [eax + 0x44]
add edi, 0x300
push edi
push ecx
push edx
call fcn.00451bf0
add esp, 0x30
mov byte [edi], 0
jmp 0x45c9cc
mov dword [edi + 0x54], ebp
mov eax, dword [esi + 0x38]
mov dword [eax + 0x5c], ebp
mov ecx, dword [esi + 0x38]
mov byte [ecx + 2], 0
mov edx, dword [esi + 0xc]
cmp dword [edx + 0xcc], 8
mov ebx, 2
jl 0x45ca4d
mov eax, dword [esi + 0x38]
or byte [eax + 2], bl
mov eax, dword [esi + 0xc]
test byte [eax + 4], 4
je 0x45ca00
mov eax, dword [esi + 0x38]
or byte [eax + 2], 4
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x88]
cmp ecx, edx
mov edi, ecx
jl 0x45ca14
mov edi, edx
mov ecx, dword [eax + 0x68]
mov edx, dword [eax + 0x8c]
cmp ecx, edx
jl 0x45ca23
mov ecx, edx
xor edx, edx
test edi, edi
setge dl
xor ebp, ebp
dec edx
and edx, edi
cmp ecx, ebp
mov dword [eax + 0x90], edx
jge 0x45ca44
mov eax, dword [esi + 0x38]
mov dword [eax + 0x94], ecx
jmp 0x45ca4d
mov ecx, dword [esi + 0x38]
mov dword [ecx + 0x94], ebp
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 4]
mov edi, dword [edx + 0xc]
cmp edi, 6
je 0x45cc1d
mov ecx, dword [esi + 0xc]
test byte [ecx + 4], 1
je 0x45caa2
test byte [eax], bl
jne 0x45caa2
mov ecx, dword [eax + 0x24]
cmp ecx, ebp
jge 0x45ca75
neg ecx
add ecx, 0xf
and ecx, 0xffffffe0
cmp ecx, 0x10000
jne 0x45cae2
mov ecx, dword [eax + 0x28]
cmp ecx, ebp
mov edx, ecx
jge 0x45ca8e
neg edx
add edx, 0xf
test edx, 0xffffffe0
jne 0x45cae2
cmp ecx, ebp
jne 0x45cae2
cmp dword [eax + 0x2c], ebp
jne 0x45cae2
cmp edi, 6
je 0x45cc1d
mov ecx, dword [esi + 0xc]
test byte [ecx + 4], 1
je 0x45cc1d
cmp dword [ecx + 0xcc], 8
jl 0x45cc1d
test byte [eax], bl
jne 0x45cc1d
mov edx, dword [eax + 0x34]
mov ecx, 0xffff
test ecx, edx
jne 0x45cae2
test dword [eax + 0x38], ecx
je 0x45cc1d
or byte [eax + 2], 1
cmp dword [0x560b98], ebp
je 0x45cb06
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [esi + 0xc]
mov edx, dword [edx + 0x7c]
mov ecx, dword [edx + ecx*4 + 0x3a0]
jmp 0x45cb2c
mov al, byte [esi + 0x24]
test al, al
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [esi + 0xc]
mov edx, dword [edx + 0x7c]
je 0x45cb25
mov ecx, dword [edx + ecx*4 + 0x368]
jmp 0x45cb2c
mov ecx, dword [edx + ecx*4 + 0x34c]
mov dword [eax + 0x58], ecx
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0xcc], 8
jl case.default.0x45c435
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 4]
mov edx, dword [edx + 0xc]
mov ecx, dword [ecx + 0x7c]
mov edx, dword [ecx + edx*4 + 0x384]
mov dword [eax + 0x58], edx
emms
mov eax, dword [esi + 0x38]
fild dword [eax + 0x88]
sub esp, 8
fild dword [eax + 0x64]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.004d1900
mov eax, dword [esi + 0x38]
fstp qword [esp + 0x38]
fild dword [eax + 0x8c]
fild dword [eax + 0x68]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.004d1900
fstp qword [esp + 0x28]
add esp, 8
fld qword [0x53a600]
fsub qword [esp + 0x30]
fmul qword [0x53a610]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fistp dword [esp + 0x30]
fld qword [0x53a600]
mov eax, dword [esi + 0x38]
fsub qword [esp + 0x20]
mov edx, dword [eax + 0x90]
mov ecx, dword [esp + 0x30]
sub edx, ecx
fmul qword [0x53a610]
mov dword [eax + 0x90], edx
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fistp dword [esp + 0x30]
mov eax, dword [esi + 0x38]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 0x94]
sub ecx, edx
mov dword [eax + 0x94], ecx
mov byte [esi + 0x27], 1
mov dword [esi], 0x80008000
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0x7c]
mov ecx, dword [edx + edi*4 + 0x330]
mov dword [eax + 0x58], ecx
mov edx, dword [esi + 0x38]
cmp dword [edx + 0x54], ebp
jne 0x45cc62
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xdc]
cmp ecx, 3
jne 0x45cc48
cmp dword [eax + 8], ebx
jge 0x45cc62
mov eax, dword [eax + 0x7c]
mov ecx, dword [eax + ecx*4 + 0x30c]
cmp ecx, ebp
je 0x45cc62
mov eax, dword [edx + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + eax*4]
mov dword [edx + 0x5c], ecx
mov edx, dword [esi + 0xc]
cmp dword [edx + 0xcc], 8
jl case.default.0x45c435
emms
mov eax, dword [esi + 0x38]
fild dword [eax + 0x88]
sub esp, 8
fild dword [eax + 0x64]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.004d1900
mov eax, dword [esi + 0x38]
fstp qword [esp + 0x38]
fild dword [eax + 0x8c]
fild dword [eax + 0x68]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.004d1900
fstp qword [esp + 0x28]
add esp, 8
fld qword [esp + 0x30]
fmul qword [0x53a610]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fistp dword [esp + 0x30]
mov eax, dword [esi + 0x38]
fld qword [esp + 0x20]
mov edx, dword [eax + 0x90]
fmul qword [0x53a610]
mov ecx, dword [esp + 0x30]
add edx, ecx
fstp qword [esp + 0x28]
mov dword [eax + 0x90], edx
fld qword [esp + 0x28]
fistp dword [esp + 0x30]
mov eax, dword [esi + 0x38]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 0x94]
add ecx, edx
jmp 0x45cc05
push 0
mov ecx, esi
call fcn.00451960
mov dword [esi + 0x28], 0x45c300
mov dword [esi + 0x2c], 0x457e70
mov byte [esi + 0x27], 1
mov dword [esi], 0x80008000
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x24]
test al, al
mov dword [esi + 0x28], 0x45c240
jne 0x45cd6c
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x45cd6c
mov eax, dword [0x560b98]
test eax, eax
je 0x45cd65
mov eax, fcn.0043acd0
jmp 0x45cd7f
mov eax, 0x457e40
jmp 0x45cd7f
mov eax, dword [0x560b98]
test eax, eax
mov eax, 0x43ad00
jne 0x45cd7f
mov eax, 0x457f10
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x38]
mov ecx, dword [edi + 0x80]
push eax
call fcn.004960b0
mov ecx, dword [esi + 0x38]
mov dword [ecx + 0x90], eax
mov edx, dword [esi + 0x38]
mov eax, dword [edx + 0x90]
test eax, eax
jne case.default.0x45c435
pop edi
mov dword [esi + 0x28], 0x45c300
mov dword [esi + 0x2c], 0x457e70
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret