Function at 0x417e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x432829
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43ce70]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x140]
lea eax, [esp + 0x120]
push eax
push ebp
mov dword [esp + 0x140], 0
call dword [sym.imp.GDI32.dll_GetClipBox]
test eax, eax
je 0x418dda
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call fcn.0040dfd0
mov ebx, dword [esp + 0x144]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x54]
lea esi, [edi + 0x320]
push ecx
mov ecx, esi
mov dword [esp + 0x20], ebx
call fcn.0040dd20
mov eax, dword [esp + 0x50]
test eax, eax
mov edx, dword [esi + 4]
mov dword [esp + 0x4c], edx
je 0x417f39
cmp eax, esi
je 0x417f3e
call fcn.004200ca
mov ecx, dword [esp + 0x4c]
xor eax, eax
cmp dword [esp + 0x54], ecx
setne al
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetFocus]
mov eax, dword [edi + 0x318]
test eax, eax
jle 0x417ff1
push 0
push ebx
mov ecx, edi
call fcn.00416a70
cmp eax, 9
jne 0x417fca
cmp dword [edi + 0x88], 0
je 0x418dda
mov eax, dword [esp + 0x148]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0x90]
push ecx
push 0
mov dword [esp + 0x98], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push ebx
push ebp
mov ecx, edi
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
call fcn.0040f350
mov eax, 0x11
jmp 0x418ddc
push 1
push ebx
mov ecx, edi
call fcn.00416a70
cmp eax, 9
jne 0x417ff1
mov edx, dword [esp + 0x148]
push edx
push 0
push ebx
push ebp
mov ecx, edi
call fcn.0040f350
jmp 0x418dda
cmp dword [edi + 0x84], 0
mov esi, dword [esp + 0x148]
je 0x41802a
mov eax, ebx
and eax, 0x80000001
jns 0x41800f
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, edi
jne 0x41801b
mov eax, dword [edi + 0x1b8]
jmp 0x418021
mov eax, dword [edi + 0x1b4]
push eax
push eax
push esi
push ebp
call fcn.0040d420
cmp dword [esp + 0x18], 0
je 0x418176
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0xffffffffffffffff
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
call dword [sym.imp.USER32.dll_InflateRect]
cmp dword [edi + 0x9c], 0
je 0x418156
push ebp
lea ecx, [esp + 0x54]
call fcn.0040cd00
fld1
movzx edx, byte [edi + 0x184]
mov cl, byte [edi + 0x185]
mov al, byte [edi + 0x186]
or edx, 0xffffff00
movzx ecx, cl
shl edx, 8
or edx, ecx
push ecx
movzx eax, al
fstp dword [esp]
shl edx, 8
lea ecx, [esp + 0x1c]
or edx, eax
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], edx
call fcn.0040c3c0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
add edx, 0xffffffff
push edx
push ecx
mov ecx, dword [esp + 0x2c]
add ecx, 1
push ecx
push eax
lea ecx, [esp + 0x64]
call fcn.0040cd30
mov edx, dword [esp + 0x48]
push edx
call sub.gdiplus.dll_GdipDeletePen
fld1
movzx edx, byte [edi + 0x188]
mov cl, byte [edi + 0x189]
mov al, byte [edi + 0x18a]
or edx, 0xffffff00
movzx ecx, cl
shl edx, 8
or edx, ecx
push ecx
movzx eax, al
fstp dword [esp]
shl edx, 8
lea ecx, [esp + 0x1c]
or edx, eax
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], edx
call fcn.0040c3c0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
add edx, 0xffffffff
push edx
push ecx
mov ecx, dword [esp + 0x2c]
add ecx, 1
push ecx
push eax
lea ecx, [esp + 0x64]
call fcn.0040cd30
mov edx, dword [esp + 0x48]
push edx
call sub.gdiplus.dll_GdipDeletePen
mov eax, dword [esp + 0x50]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [edi + 0x180]
mov edx, dword [edi + 0x17c]
add dword [esp + 0x24], 1
push ecx
push edx
lea eax, [esp + 0x28]
push eax
push ebp
mov ecx, edi
call fcn.0040d420
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x318]
xor esi, esi
test eax, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x84], eax
jle 0x418dda
mov edx, dword [0x43e3bc]
mov eax, dword [edx + 0xc]
mov ecx, 0x43e3bc
call eax
add eax, 0x10
mov dword [esp + 0xe0], eax
xor eax, eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
cmp esi, eax
mov byte [esp + 0x138], 1
jl 0x418dc6
cmp esi, dword [edi + 0x318]
jge 0x418dc6
mov eax, esi
imul eax, eax, 0x2c
add eax, dword [edi + 0x314]
lea ecx, [esp + 0xe0]
push eax
call fcn.0040ac30
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xe4]
lea eax, [edx + ecx - 1]
cmp eax, dword [esp + 0x120]
mov dword [esp + 0x3c], eax
jl 0x4186c9
sub eax, ecx
je 0x4186c9
cmp ecx, dword [esp + 0x128]
jg 0x418dc6
mov eax, dword [esp + 0xf8]
push eax
push ebx
mov ecx, edi
call fcn.00416a70
cmp eax, 0xb
mov dword [esp + 0x30], eax
je 0x418db7
mov ecx, dword [esp + 0xf8]
push ecx
push ebx
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.00415790
mov eax, dword [esp + 0xf8]
push eax
push ebx
mov ecx, edi
mov byte [esp + 0x140], 2
call fcn.00415d50
mov ecx, dword [esp + 0xf8]
push ecx
push ebx
mov ecx, edi
mov dword [esp + 0x1c], eax
call fcn.004158a0
mov edx, dword [edi + 0x170]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x120]
push ecx
push esi
push ebx
mov ecx, edi
mov dword [esp + 0x70], edx
call fcn.00415980
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], ecx
mov ecx, esi
neg ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x40]
sbb ecx, ecx
push 0
mov dword [esp + 0x30], edx
add ecx, 4
push 0xfffffffffffffffc
lea edx, [esp + 0x28]
add ecx, eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_InflateRect]
cmp dword [esp + 0x30], 0xa
jne 0x4185b1
mov eax, dword [edi + 0x1d4]
test eax, eax
je 0x4185b1
cmp dword [esp + 0x14], 0xffffffff
je 0x4185b1
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
mov esi, dword [esp + 0x88]
jne 0x418376
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
lea eax, [ecx + edx]
cdq
sub eax, edx
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
sub ecx, 1
jmp 0x41837a
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
lea eax, [ecx + esi]
cmp eax, edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], eax
jl 0x418391
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
add eax, ebx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x8c]
cdq
sub eax, edx
mov edx, dword [esp + 0x8c]
sar esi, 1
sar eax, 1
sub esi, eax
mov dword [esp + 0x78], esi
add esi, edx
cmp esi, ebx
mov dword [esp + 0x80], esi
jl 0x4183cf
mov dword [esp + 0x80], ebx
cmp ecx, dword [esp + 0x7c]
jge 0x418599
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
xor esi, esi
call fcn.00406280
push 0x2e
lea ecx, [esp + 0x48]
mov byte [esp + 0x13c], 3
call fcn.00404ea0
cmp eax, 0xffffffff
je 0x418460
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
sub ecx, 1
push ecx
lea edx, [esp + 0xcc]
push edx
lea ecx, [esp + 0x4c]
call fcn.00406fc0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x13c], 4
call fcn.004072a0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x138], 3
call fcn.00402a50
mov eax, dword [esp + 0x44]
push str.torrent
push eax
call fcn.0042026b
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x144]
push ecx
push edx
mov ecx, edi
xor ebx, ebx
call fcn.004158a0
test eax, 0x4000
je 0x418482
mov ebx, 1
cmp dword [esp + 0x60], 0xc0c0c0
jne 0x41850b
test esi, esi
je 0x4184bf
cmp dword [edi + 0x1d0], 0
lea ecx, [edi + 0x1d0]
je 0x418588
push 1
push 0xff000000
push 0xff000000
lea eax, [esp + 0x80]
push eax
push ebp
push 0xc
jmp 0x418583
test ebx, ebx
je 0x4184f2
cmp dword [edi + 0x1d0], 0
lea ecx, [edi + 0x1d0]
je 0x418588
push 1
push 0xff000000
push 0xff000000
lea edx, [esp + 0x80]
push edx
push ebp
push 0xe
jmp 0x418583
mov ecx, dword [esp + 0x14]
push 5
push 0xffffffffffffffff
push 0xc0c0c0
lea eax, [esp + 0x80]
push eax
push ebp
push ecx
jmp 0x41857d
test esi, esi
je 0x418537
cmp dword [edi + 0x1d0], 0
lea ecx, [edi + 0x1d0]
je 0x418588
push 1
push 0xff000000
push 0xff000000
lea edx, [esp + 0x80]
push edx
push ebp
push 0xb
jmp 0x418583
test ebx, ebx
je 0x418563
cmp dword [edi + 0x1d0], 0
lea ecx, [edi + 0x1d0]
je 0x418588
push 1
push 0xff000000
push 0xff000000
lea eax, [esp + 0x80]
push eax
push ebp
push 0xd
jmp 0x418583
mov edx, dword [esp + 0x14]
push 1
push 0xff000000
push 0xff000000
lea ecx, [esp + 0x80]
push ecx
push ebp
push edx
lea ecx, [edi + 0x1d4]
call fcn.0040c2f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x138], 2
call fcn.00402a50
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x88]
lea edx, [ecx + eax + 6]
mov dword [esp + 0x20], edx
jmp 0x4186a6
mov eax, dword [edi + 0x1d0]
test eax, eax
je 0x4186b1
cmp dword [esp + 0x14], 0xffffffff
je 0x4186b1
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
mov esi, dword [esp + 0x48]
jne 0x418609
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
lea eax, [ecx + edx]
cdq
sub eax, edx
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
sub ecx, 1
jmp 0x41860d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
lea eax, [ecx + esi]
cmp eax, edx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb8], eax
jl 0x41862d
mov dword [esp + 0xb8], edx
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
add eax, ebx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x4c]
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar esi, 1
sar eax, 1
sub esi, eax
mov dword [esp + 0xb4], esi
add esi, edx
cmp esi, ebx
mov dword [esp + 0xbc], esi
jl 0x418668
mov dword [esp + 0xbc], ebx
cmp ecx, dword [esp + 0xb8]
jge 0x418696
mov ecx, dword [esp + 0x14]
push 1
push 0xff000000
push 0xff000000
lea eax, [esp + 0xbc]
push eax
push ebp
push ecx
lea ecx, [edi + 0x1d0]
call fcn.0040c2f0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
lea ecx, [eax + edx + 6]
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x144]
mov esi, dword [esp + 0x5c]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x418701
lea ecx, [esp + 0x1c]
call fcn.00402a50
lea ecx, [esp + 0xe0]
mov byte [esp + 0x138], 0
call fcn.00407d80
mov eax, dword [esp + 0x3c]
add esi, 1
add eax, 1
cmp esi, dword [esp + 0x84]
mov dword [esp + 0x34], eax
mov dword [esp + 0x5c], esi
jl 0x4181b0
jmp 0x418dda
push esi
push ebx
mov ecx, edi
call fcn.00416050
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x60]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push ebp
call dword [sym.imp.GDI32.dll_SetBkMode]
mov al, byte [esp + 0x18]
test al, 4
mov dword [esp + 0x14], 0x8824
je 0x418741
mov dword [esp + 0x14], 0x8825
jmp 0x41874d
test al, 2
je 0x41874d
mov dword [esp + 0x14], 0x8826
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffffe
cmp ecx, 0xc
ja case.0x418764.3
movzx ecx, byte [ecx + 0x418e0c]
jmp dword [ecx*4 + 0x418df8]
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
je 0x418d83
mov ecx, dword [esp + 0xf8]
lea eax, [esp + 0x10c]
push eax
push ecx
push ebx
mov ecx, edi
call fcn.00415df0
test eax, eax
je 0x418d83
lea ecx, [esp + 0x58]
call fcn.00405870
mov eax, dword [esp + 0x18]
test eax, 0x400
mov byte [esp + 0x138], 5
je 0x4187ea
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0xc8]
push eax
mov ecx, edi
call fcn.00410360
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x13c], 6
call fcn.004072a0
lea ecx, [esp + 0xc4]
jmp 0x4188d0
test eax, 0x800
je 0x418826
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 0xe0]
push edx
mov ecx, edi
call fcn.004103d0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x13c], 7
call fcn.004072a0
lea ecx, [esp + 0xdc]
jmp 0x4188d0
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0xd4]
push ecx
mov ecx, edi
call fcn.004103d0
mov esi, eax
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0xd0]
push eax
mov ecx, edi
mov byte [esp + 0x140], 8
call fcn.00410360
push 0x434024
push eax
lea ecx, [esp + 0xdc]
push ecx
mov byte [esp + 0x144], 9
call fcn.00407ae0
push esi
push eax
lea edx, [esp + 0xec]
push edx
mov byte [esp + 0x150], 0xa
call fcn.00407a10
add esp, 0x18
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x13c], 0xb
call fcn.004072a0
lea ecx, [esp + 0xd8]
call fcn.00402a50
lea ecx, [esp + 0xd4]
call fcn.00402a50
lea ecx, [esp + 0xcc]
call fcn.00402a50
lea ecx, [esp + 0xd0]
call fcn.00402a50
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax - 0xc]
push edx
lea edx, [esp + 0x24]
push edx
push ecx
push eax
lea ecx, [esp + 0x150]
call fcn.00404dc0
lea ecx, [esp + 0x58]
call fcn.00402a50
jmp 0x418d83
mov edx, dword [edi + 0x1cc]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x54]
lea esi, [edi + 0x1cc]
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x50]
add eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x3c]
sub ecx, 1
mov dword [esp + 0xa0], ecx
add ecx, ebx
cmp ecx, eax
mov dword [esp + 0xa8], ecx
jl 0x41895f
mov dword [esp + 0xa8], eax
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
lea eax, [ebx + edx]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x54]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa4], ecx
add ecx, eax
cmp ecx, ebx
mov dword [esp + 0xac], ecx
jl 0x41899b
mov dword [esp + 0xac], ebx
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00420b97
add esp, 4
cmp dword [esp + 0x60], 0xc0c0c0
jne 0x418a18
cmp dword [esp + 0x30], 4
jne 0x4189e2
xor ecx, ecx
push 5
test eax, eax
push 0xffffffffffffffff
setg cl
push 0xc0c0c0
lea edx, [esp + 0xac]
push edx
push ebp
add ecx, 2
push ecx
mov ecx, esi
call fcn.0040c2f0
jmp 0x418d83
test eax, eax
mov ecx, 2
jge 0x4189f2
mov ecx, 5
jmp 0x4189f9
jle 0x4189f9
mov ecx, 4
push 5
push 0xffffffffffffffff
push 0xc0c0c0
lea edx, [esp + 0xac]
push edx
push ebp
push ecx
mov ecx, esi
call fcn.0040c2f0
jmp 0x418d83
cmp dword [esp + 0x30], 4
jne 0x418a4b
xor edx, edx
push 1
test eax, eax
push 0xff000000
setg dl
push 0xff000000
lea ecx, [esp + 0xac]
push ecx
push ebp
mov ecx, esi
add edx, 2
push edx
call fcn.0040c2f0
jmp 0x418d83
test eax, eax
mov ecx, 2
jge 0x418a5b
mov ecx, 5
jmp 0x418a62
jle 0x418a62
mov ecx, 4
push 1
push 0xff000000
push 0xff000000
lea eax, [esp + 0xac]
push eax
push ebp
push ecx
mov ecx, esi
call fcn.0040c2f0
jmp 0x418d83
mov eax, dword [edi + 0xd0]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
sub eax, 9
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
mov dword [esp + 0x70], esi
lea esi, [ecx - 0x28]
mov ebp, ebx
mov dword [esp + 0x6c], ecx
add ebp, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x98], ecx
add ecx, 0xffffffde
cmp ecx, edx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x90], edx
mov dword [esp + 0x64], edx
lea esi, [ebp + 9]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x90], ecx
jge 0x418af1
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
cmp eax, 5
mov dword [esp + 0x14], eax
jl 0x418ccd
cmp dword [edi + 0x2fc], 0
je 0x418ccd
mov ecx, dword [esp + 0x140]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [edi + 0x2fc]
push eax
push ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x14]
push 0xcc0020
sub esi, ebp
push esi
push 1
push 0
push 2
push ebx
push esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
add edx, 0xfffffffc
push edx
add eax, 2
push ebp
push eax
lea ecx, [esp + 0x168]
call fcn.0040bf80
mov eax, dword [esp + 0x64]
push 0xcc0020
push esi
push 2
push 0
push 0
push ebx
push esi
push 2
push ebp
push eax
lea ecx, [esp + 0x168]
call fcn.0040bf80
mov ecx, dword [esp + 0x6c]
push 0xcc0020
push esi
push 2
push 0
push 4
push ebx
push esi
push 2
add ecx, 0xfffffffe
push ebp
push ecx
lea ecx, [esp + 0x168]
call fcn.0040bf80
mov edx, dword [esp + 0x1c]
push edx
call fcn.00420c37
fcomp qword [0x434028]
add esp, 4
fnstsw ax
test ah, 5
jp 0x418be6
mov eax, dword [esp + 0x1c]
push eax
call fcn.00420c37
fldz
fcom st(1)
add esp, 4
fnstsw ax
fstp st(1)
test ah, 5
jp 0x418c13
fstp st(0)
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00420c37
fld qword [0x434028]
fcom st(1)
add esp, 4
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x418c13
mov edx, dword [esp + 0x1c]
fstp st(0)
push edx
call fcn.00420c37
add esp, 4
fdiv qword [0x434028]
fimul dword [esp + 0x14]
call fcn.00420f30
mov ecx, dword [esp + 0x64]
add eax, ecx
mov dword [esp + 0x6c], eax
sub eax, ecx
cmp eax, 4
mov dword [esp + 0x14], eax
jle 0x418c5c
push 0xcc0020
push esi
push 1
push 0
push 8
push ebx
push esi
add eax, 0xfffffffc
push eax
mov eax, ecx
push ebp
add eax, 2
push eax
lea ecx, [esp + 0x168]
call fcn.0040bf80
cmp dword [esp + 0x14], 2
jl 0x418c88
mov ecx, dword [esp + 0x6c]
push 0xcc0020
push esi
push 2
push 0
push 0xa
push ebx
push esi
push 2
add ecx, 0xfffffffe
push ebp
push ecx
lea ecx, [esp + 0x168]
call fcn.0040bf80
cmp dword [esp + 0x14], 0
jle 0x418cb1
mov edx, dword [esp + 0x64]
push 0xcc0020
push esi
push 2
push 0
push 6
push ebx
push esi
push 2
push ebp
push edx
lea ecx, [esp + 0x168]
call fcn.0040bf80
mov eax, dword [esp + 0x18]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esp + 0x30]
call fcn.00405240
push 1
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x24]
call fcn.00406fc0
push 0x25
push eax
call fcn.0040d950
add esp, 8
lea ecx, [esp + 0xc0]
mov bl, al
call fcn.00402a50
test bl, bl
je 0x418d83
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
push 0x24
lea edx, [esp + 0x94]
push edx
push ecx
push eax
mov eax, dword [esp + 0x150]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x418d83
cmp ebx, dword [edi + 0xe8]
jne case.0x418764.3
cmp esi, dword [edi + 0xec]
jne case.0x418764.3
test al, 8
jne case.0x418764.3
mov eax, dword [edi + 0x1c8]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 0x1b0]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x418d83
test esi, esi
jne 0x418d6b
cmp dword [edi + 0x8c], esi
je 0x418d83
mov edx, dword [esp + 0x14]
push edx
lea edx, [esp + 0x24]
push edx
push eax
push ecx
lea ecx, [esp + 0x150]
call fcn.00404dc0
lea ecx, [esp + 0x1c]
call fcn.00402a50
lea ecx, [esp + 0xe0]
mov byte [esp + 0x138], 0
call fcn.00407d80
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x144]
mov ebp, dword [esp + 0x140]
jmp 0x4186dd
lea ecx, [esp + 0x34]
push ecx
push esi
push ebx
push ebp
mov ecx, edi
call fcn.0040f350
lea ecx, [esp + 0xe0]
mov byte [esp + 0x138], 0
call fcn.00407d80
xor eax, eax
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret 0xc