Function at 0x40d070
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55dfc3
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5b2ee4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov byte [ebp - 0x48], 0
xor ecx, ecx
mov word [ebp - 0x47], cx
mov byte [ebp - 0x45], cl
mov byte [ebp - 0x45], 1
mov edx, dword [ebp - 0xa0]
mov al, byte [edx + 0x18]
mov byte [ebp - 0x46], al
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x60], 0
push 0
call fcn.0040d7e0
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
lea ecx, [ebp - 0x34]
push ecx
call fcn.0040b4e0
add esp, 4
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0xa0]
mov ecx, dword [edx + 0x1ac]
call fcn.0055d310
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0xa0]
mov ecx, dword [edx + 0x1ac]
call fcn.0055d330
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x14]
add ecx, 0x76c
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0x10]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x58], edx
call fcn.0043c3a0
fstp dword [ebp - 0x18]
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0xa0]
fld dword [eax + 0xe4]
fld dword [ebp - 0x18]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x40d19a
fld dword [ebp - 0x18]
mov ecx, dword [ebp - 0xa0]
fsub dword [ecx + 0xe4]
fmul qword [0x569a38]
call fcn.0047f2b0
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0xa0]
fld dword [edx + 0x194]
mov eax, dword [ebp - 0xa0]
fld dword [eax + 0x190]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x40d1e1
mov ecx, dword [ebp - 0xa0]
fld dword [ecx + 0x194]
mov edx, dword [ebp - 0xa0]
fsub dword [edx + 0xe4]
fmul qword [0x569a38]
call fcn.0047f2b0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cdq
mov ecx, 0x3c
idiv ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
cdq
mov ecx, 0x3c
idiv ecx
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 8]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 4]
add edx, dword [ebp - 0x54]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00439830
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x20], 0
jge 0x40d242
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x20]
add eax, 0x3c
mov dword [ebp - 0x20], eax
jmp 0x40d25a
cmp dword [ebp - 0x20], 0x3c
jl 0x40d25a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x20]
sub edx, 0x3c
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x14], 0
jge 0x40d274
mov eax, dword [ebp - 0x58]
sub eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
mov dword [ebp - 0x14], ecx
jmp 0x40d28c
cmp dword [ebp - 0x14], 0x18
jl 0x40d28c
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x14]
sub eax, 0x18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x58], 1
jge 0x40d2c6
mov ecx, dword [ebp - 0x3c]
sub ecx, 1
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 1
jge 0x40d2b1
mov edx, dword [ebp - 0x50]
sub edx, 1
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x3c], 0xc
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00439830
add esp, 8
mov dword [ebp - 0x58], eax
jmp 0x40d2f4
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x4c]
jle 0x40d2f4
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xc
jle 0x40d2ed
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x58], 1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040e1f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], 0
jmp 0x40d319
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ecx + 0xf8]
jge 0x40d7b6
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x17c
mov ecx, dword [ebp - 0xa0]
add eax, dword [ecx + 0xd8]
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
movzx eax, byte [edx]
test eax, eax
jne 0x40d371
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 7
jl 0x40d36f
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x60]
add edx, 1
mov dword [ebp - 0x60], edx
jmp 0x40d310
mov ecx, dword [ebp - 0x64]
call fcn.0040dc60
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x64]
call fcn.0040dc80
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x64]
call fcn.0040dfe0
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x64]
call fcn.0040e000
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x64]
call fcn.0040e040
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x64]
call fcn.0040e020
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 2]
test ecx, ecx
jne 0x40d3e0
mov edx, dword [ebp - 0x64]
movzx eax, byte [edx + 3]
test eax, eax
je 0x40d3e7
mov dword [ebp - 0x70], 1
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x50]
jne 0x40d42b
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x3c]
jne 0x40d42b
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x58]
jne 0x40d42b
mov ecx, dword [ebp - 0xa0]
movzx edx, byte [ecx]
test edx, edx
je 0x40d424
mov eax, dword [ebp - 0x64]
mov byte [eax + 5], 1
mov ecx, dword [ebp - 0xa0]
mov byte [ecx], 0
mov dword [ebp - 0x7c], 1
mov edx, dword [ebp - 0x64]
movzx eax, byte [edx + 6]
test eax, eax
jne 0x40d469
mov ecx, dword [ebp - 0xa0]
cmp dword [ecx + 0x100], 0
jne 0x40d469
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 7
jl 0x40d464
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
jmp 0x40d310
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 1]
test edx, edx
je 0x40d4ea
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 4]
add eax, 1
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0xc]
sub ecx, 1
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xa0]
mov ecx, dword [edx + 0x1ac]
call fcn.0055d350
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
cmp dword [ebp - 0x7c], 0
je 0x40d574
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0xa0]
mov ecx, dword [edx + 0x1ac]
call fcn.0055d350
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x1b0]
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x80
call fcn.004019c0
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xa0]
call fcn.0040cf50
jmp 0x40d792
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 6]
cmp ecx, 1
je 0x40d585
jmp 0x40d792
cmp dword [ebp - 0x44], 5
jge 0x40d693
mov edx, dword [ebp - 0x64]
movzx eax, byte [edx + 5]
test eax, eax
je 0x40d615
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0xa0]
mov ecx, dword [edx + 0x1ac]
call fcn.0055d350
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x1b0]
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x80
call fcn.004019c0
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xa0]
call fcn.0040cf50
jmp 0x40d68e
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 1]
test ecx, ecx
je 0x40d658
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x1b0]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x80
call fcn.004019c0
push eax
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xa0]
call fcn.0040cf50
jmp 0x40d68e
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x1b0]
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x80
call fcn.004019c0
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xa0]
call fcn.0040cf50
jmp 0x40d792
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 5]
test ecx, ecx
je 0x40d719
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x1ac]
call fcn.0055d350
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x1b0]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x80
call fcn.004019c0
push eax
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xa0]
call fcn.0040cf50
jmp 0x40d792
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 1]
test edx, edx
je 0x40d75c
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x1b0]
push edx
mov ecx, dword [ebp - 0x64]
add ecx, 0x80
call fcn.004019c0
push eax
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xa0]
call fcn.0040cf50
jmp 0x40d792
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x1b0]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x80
call fcn.004019c0
push eax
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xa0]
call fcn.0040cf50
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 7
jl 0x40d7b1
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x60]
add edx, 1
mov dword [ebp - 0x60], edx
jmp 0x40d310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040e230
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4