Function at 0x10003af0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x1002971b
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x1003c360]
xor eax, esp
mov dword [esp + 0x95c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003c360]
xor eax, esp
push eax
lea eax, [esp + 0x974]
mov dword fs:[0], eax
push 0x3c
lea eax, [esp + 0x118]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x11c], 0
call fcn.10013e10
mov edx, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x110]
push ecx
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [esi + 8]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x9c]
push eax
push ecx
call ebp
mov eax, dword [esi + 0x10]
lea edx, [esp + 0xb4]
push edx
push eax
call ebp
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x110]
mov ebx, dword [esp + 0xa8]
sub ebx, dword [esp + 0xa0]
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 0x110]
mov edi, eax
mov eax, dword [esp + 0x120]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0xb4], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0x78]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push edi
mov dword [esp + 0xb8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [esp + 0x68]
push eax
push edi
mov dword [esp + 0x70], 0
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x48], eax
push 2
push eax
mov dword [esp + 0x984], 0
call sub.gdiplus.dll_GdipSetSmoothingMode
test eax, eax
je 0x10003c3e
mov dword [esp + 0x4c], eax
call fcn.10006090
mov dword [esi + 0x208], eax
call fcn.100060c0
mov dword [esi + 0x20c], eax
call fcn.10006120
mov dword [esi + 0x218], eax
call fcn.10006180
mov dword [esi + 0x214], eax
call fcn.100060f0
mov dword [esi + 0x210], eax
call fcn.10006150
mov dword [esi + 0x21c], eax
call fcn.100061b0
cmp byte [esi + 0x1d4], 0
je 0x10003caa
mov ecx, dword [esi + 0x1d0]
push ecx
lea edx, [esp + 0x564]
push 0x1002ffe8
push edx
call fcn.10013bcc
add esp, 0xc
xor ecx, ecx
cmp byte [esi + 0x1cc], cl
je 0x10003d78
mov eax, dword [esi + 0x1c8]
cmp eax, ecx
jne 0x10003cdc
lea eax, [esp + 0x358]
push 0x1002ffdc
push eax
call fcn.10013bcc
add esp, 8
jmp 0x10003d76
jle 0x10003ce3
cmp eax, 0x32
jle 0x10003d3d
cmp eax, 0x32
jle 0x10003cf4
cmp eax, 0x64
jg 0x10003cf9
mov ecx, 1
jmp 0x10003d3d
cmp eax, 0x64
jle 0x10003d07
cmp eax, 0x96
jg 0x10003d0e
mov ecx, 2
jmp 0x10003d3d
cmp eax, 0x96
jle 0x10003d1c
cmp eax, 0xc8
jg 0x10003d23
mov ecx, 3
jmp 0x10003d3d
cmp eax, 0xc8
jle 0x10003d31
cmp eax, 0x12c
jg 0x10003d38
mov ecx, 4
jmp 0x10003d3d
cmp eax, 0x12c
jle 0x10003d3d
mov ecx, 5
lea edx, [ecx*8]
sub edx, ecx
cmp dword [edx*4 + 0x1003b708], 8
lea ecx, [edx*4 + 0x1003b6f0]
jb 0x10003d5c
mov ecx, dword [ecx + 4]
jmp 0x10003d5f
add ecx, 4
push ecx
push eax
lea eax, [esp + 0x360]
push 0x1002ffc8
push eax
call fcn.10013bcc
add esp, 0x10
xor ecx, ecx
cmp byte [esi + 0x1d5], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ecx
je 0x10003df2
mov ecx, dword [esi + 0x1d8]
mov eax, 0x1a
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov eax, 0x14
lea edx, [esp + 0x76c]
push str.DeskDateWeaPic20_d_.2d
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
call fcn.10013bcc
mov ecx, dword [esi + 0x44c]
add esp, 0xc
test ecx, ecx
je 0x10003df2
call fcn.10005e90
call fcn.1000b1ef
mov eax, dword [eax + 8]
lea ecx, [esp + 0x768]
push ecx
mov ecx, dword [esi + 0x44c]
push eax
call fcn.10005ef0
mov eax, dword [esi + 0xc]
lea edx, [esp + 0xc4]
push edx
push eax
call ebp
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esp + 0xcc]
sub ecx, dword [esp + 0xc4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xc8]
cmp ecx, eax
jle 0x100045b6
cmp byte [esi + 0x8b], 0
jne 0x100045c3
push 0
push 0x104
lea edx, [esi + 0x240]
push edx
lea eax, [esp + 0x15c]
push eax
call fcn.10007b60
mov edx, dword [esp + 0x120]
add esp, 0x10
lea ecx, [esp + 0xd4]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
xor eax, eax
cmp byte [esi + 0x1cc], al
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], eax
je 0x10003eb6
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x118]
lea edx, [esp + 0x360]
push edx
lea eax, [esp + 0xe0]
push eax
push ecx
mov ecx, esi
call fcn.100026d0
xor eax, eax
cmp byte [esi + 0x1d4], al
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
je 0x10003ef1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x118]
lea ecx, [esp + 0x568]
push ecx
lea edx, [esp + 0xe0]
push edx
push eax
mov ecx, esi
call fcn.100026d0
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x118]
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0xe0]
push ecx
push edx
mov ecx, esi
call fcn.100026d0
mov eax, dword [esi + 0xb0]
sub eax, dword [esi + 0xb8]
add eax, dword [esp + 0x20]
add eax, dword [esp + 0x34]
add eax, dword [esp + 0x38]
add eax, dword [esp + 0x18]
cmp byte [esi + 0x89], 0
mov dword [esi + 0x190], eax
je 0x10004036
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x24]
push ecx
push edx
mov byte [esi + 0x89], 0
call ebp
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov edx, dword [esi + 0x2c]
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esi + 0x19c], eax
call ebp
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov dword [esi + 0x194], eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10003f93
lea ecx, [esi + 0xe0]
push ecx
push eax
call ebp
mov eax, dword [esi + 0x24]
lea edx, [esi + 0xd0]
push edx
push eax
call ebp
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0xc0]
push ecx
push edx
call ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10003fbe
lea ecx, [esi + 0xa0]
push ecx
push eax
call ebp
mov edx, dword [esi + 8]
lea eax, [esi + 0xb0]
push eax
push edx
call ebp
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x90]
push eax
push ecx
call ebp
mov edx, dword [esi + 0x30]
lea eax, [esi + 0xf0]
push eax
push edx
call ebp
mov eax, dword [esi + 0xf8]
sub eax, dword [esi + 0xf0]
mov dword [esi + 0x1a4], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1000401d
lea ecx, [esp + 0x8c]
push ecx
push eax
call ebp
mov edx, dword [esp + 0x94]
sub edx, dword [esp + 0x8c]
mov dword [esi + 0x1b4], edx
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x24]
push eax
push ecx
call ebp
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
mov dword [esi + 0x1ac], edx
cmp byte [esi + 0x224], 0
je 0x1000417e
mov eax, dword [esi + 0x94]
mov ebp, dword [esi + 0x9c]
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0x190]
sub ebp, eax
sub eax, dword [esp + 0xc8]
push 0
push ebp
mov ebp, dword [esi + 0x98]
sub ebp, ecx
add ebp, edx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
mov eax, dword [esi + 0x10]
sub ecx, edx
push ecx
push 0
push eax
mov byte [esi + 0x224], 0
mov byte [esi + 0x225], 1
call ebp
mov eax, dword [esi + 0xb4]
mov edx, dword [esi + 0xbc]
mov ecx, dword [esi + 0xb0]
push 0
sub edx, eax
sub eax, dword [esi + 0x94]
push edx
mov edx, dword [esi + 0x190]
sub edx, ecx
add edx, dword [esi + 0xb8]
sub ecx, dword [esi + 0x90]
push edx
push eax
mov eax, dword [esi + 8]
push ecx
push 0
push eax
call ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10004100
mov edx, dword [esi + 0xa0]
mov ecx, dword [esi + 0xa4]
sub edx, dword [esi + 0x90]
sub ecx, dword [esi + 0x94]
add edx, dword [esi + 0x190]
push 1
push 0
push 0
push ecx
push edx
push 0
push eax
call ebp
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xcc]
mov ecx, dword [esi + 0xc0]
sub edx, eax
push 2
push edx
mov edx, dword [esi + 0xc8]
sub edx, dword [esi + 0x190]
sub edx, ecx
sub edx, dword [esi + 0x1c0]
add edx, dword [esi + 0x228]
push edx
push eax
mov eax, dword [esi + 0x1c]
push ecx
push 0
push eax
call ebp
mov edx, dword [esi + 0xd8]
sub edx, dword [esi + 0xd0]
mov ecx, dword [esi + 0xdc]
sub edx, dword [esi + 0x190]
sub ecx, dword [esi + 0xd4]
sub edx, dword [esi + 0x1c0]
mov eax, dword [esi + 0x24]
add edx, dword [esi + 0x228]
push 2
push ecx
push edx
push 0
push 0
push 0
push eax
call ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x100041d7
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x8c]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x8c]
jne 0x100041d7
mov edx, dword [esi + 0x228]
sub edx, dword [esi + 0x1c0]
mov ecx, dword [esi + 0xdc]
sub edx, dword [esi + 0xd0]
sub ecx, dword [esi + 0xd4]
add edx, dword [esi + 0xd8]
push 2
sub edx, dword [esi + 0x190]
push ecx
push edx
push eax
push eax
push eax
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add edx, ecx
lea ecx, [edx + eax]
mov edx, dword [esp + 0x14]
mov eax, ebx
sub eax, dword [esp + 0x50]
mov dword [esp + 0x74], edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
jns 0x1000420d
mov dword [esp + 0x70], 0
cmp byte [esi + 0x1cc], 0
mov dword [esp + 0x78], ebx
je 0x10004255
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x7c], eax
mov eax, ebx
sub eax, dword [esp + 0x54]
mov dword [esp + 0x84], ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x80], eax
jns 0x1000424e
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], ebx
cmp byte [esi + 0x1d4], 0
je 0x1000428d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x58], eax
mov eax, ebx
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x60], ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x5c], eax
jns 0x10004289
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], ebx
cmp byte [esi + 0x1d5], 0
fldz
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fst dword [esp + 0x28]
fst dword [esp + 0x24]
je 0x10004305
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x40]
mov edx, ebx
sub edx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fld qword [0x1002ff90]
mov dword [esp + 0x1c], edx
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x24]
fild dword [esp + 0x40]
fstp dword [esp + 0x2c]
fimul dword [esp + 0x1c]
fstp dword [esp + 0x28]
fcom dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jne 0x100042f9
fstp dword [esp + 0x28]
fild dword [esp + 0x3c]
fstp dword [esp + 0x30]
jmp 0x10004307
fstp st(0)
fild dword [esp + 0x3c]
fstp dword [esp + 0x30]
jmp 0x10004307
fstp st(0)
cmp byte [esi + 0x88], 0
je 0x10004453
cmp dword [esp + 0xb8], 0
lea eax, [esi + 0x180]
push eax
jne 0x100043cd
mov eax, dword [esi + 0xc]
push eax
call ebp
mov ecx, dword [esi + 0x178]
mov edx, dword [esi + 0x188]
sub ecx, dword [esi + 0x170]
sub edx, dword [esi + 0x180]
push 0xcc0020
cmp ecx, edx
push ebx
push 1
push 0
je 0x100043b8
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x24]
sub eax, 2
push eax
push ecx
push ebx
push ebp
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x110]
push 0xcc0020
push 0
push 0
push edi
push ebx
push ebp
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x180]
mov ecx, dword [esi + 0x188]
mov dword [esi + 0x170], eax
mov dword [esi + 0x178], ecx
jmp 0x10004478
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x24]
push 0
push edx
push ebx
push eax
jmp 0x1000446d
mov ecx, dword [esi + 0xc]
push ecx
call ebp
mov edx, dword [esi + 0x170]
cmp edx, dword [esi + 0x180]
push 0xcc0020
push ebx
push 1
je 0x1000443f
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x20]
push 2
sub eax, 2
push eax
push ecx
push ebx
push ebp
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x110]
push 0xcc0020
push 0
push 0
push edi
push ebx
push ebp
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x180]
mov dword [esi + 0x170], eax
jmp 0x10004478
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x20]
push 0
push 0
push ecx
push ebx
push edx
jmp 0x1000446d
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x14]
push 0xcc0020
push ebx
push 1
push 0
push 0
push eax
push ebx
push ecx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
lea eax, [esp + 0x150]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004482
mov ebp, dword [sym.imp.USER32.dll_DrawTextW]
sub eax, edx
push 5
lea edx, [esp + 0x70]
push edx
sar eax, 1
push eax
lea eax, [esp + 0x15c]
push eax
push edi
call ebp
cmp byte [esi + 0x1cc], 0
je 0x100044e5
lea eax, [esp + 0x358]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100044c0
push 5
sub eax, edx
lea ecx, [esp + 0x80]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x364]
push edx
push edi
call ebp
cmp byte [esi + 0x1d4], 0
je 0x10004522
lea eax, [esp + 0x560]
lea edx, [eax + 2]
jmp 0x10004500
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004500
push 5
sub eax, edx
lea ecx, [esp + 0x5c]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x56c]
push edx
push edi
call ebp
cmp byte [esi + 0x1d5], 0
je 0x1000456b
mov ecx, dword [esi + 0x44c]
test ecx, ecx
je 0x1000456b
fild dword [ecx + 0x44]
push 0
push 0
push 0
push 2
sub esp, 0x10
fstp dword [esp + 0xc]
lea eax, [esp + 0x44]
fild dword [ecx + 0x40]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
push eax
call fcn.10005ee0
push eax
lea ecx, [esp + 0x70]
call fcn.10003a60
mov ecx, dword [esi + 0x190]
sub ecx, dword [esi + 0xb0]
add ecx, dword [esi + 0xb8]
cmp dword [esp + 0x14], ecx
jne 0x100045aa
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x110]
push 0xcc0020
push 0
push 0
push edi
push ebx
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x10004b7e
mov byte [esi + 0x224], 1
jmp 0x10004b7e
cmp byte [esi + 0x8b], 0
je 0x10004b7e
cmp ecx, eax
jge 0x10004b7e
push 1
push 0x104
lea ecx, [esi + 0x240]
push ecx
lea edx, [esp + 0x15c]
push edx
call fcn.10007b60
mov ecx, dword [esp + 0x120]
add esp, 0x10
lea eax, [esp + 0xd4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
xor eax, eax
cmp byte [esi + 0x1cc], al
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
je 0x10004645
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x118]
lea ecx, [esp + 0x360]
push ecx
lea edx, [esp + 0xe0]
push edx
push eax
mov ecx, esi
call fcn.100026d0
mov ecx, dword [esp + 0xe8]
add dword [esp + 0x18], ecx
cmp byte [esi + 0x1d4], 0
mov dword [esp + 0x34], 0
je 0x1000467f
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x118]
lea ecx, [esp + 0x568]
push ecx
lea edx, [esp + 0xe0]
push edx
push eax
mov ecx, esi
call fcn.100026d0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x118]
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0xe0]
push ecx
push edx
mov ecx, esi
call fcn.100026d0
mov ecx, dword [esp + 0x34]
sub ecx, dword [esi + 0x13c]
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xe8]
add ecx, dword [esp + 0x18]
push 0xcc0020
add ecx, eax
add ecx, dword [esi + 0x134]
mov dword [esp + 0x3c], eax
add ecx, dword [esp + 0x24]
cmp byte [esi + 0x88], 0
mov eax, dword [esp + 0x18]
push 1
mov dword [esi + 0x1dc], ecx
push eax
je 0x10004716
mov edx, dword [esp + 0xac]
sub edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x50]
sub edx, 1
cmp dword [esp + 0xc0], 0
push edx
jne 0x10004711
push 0
push ecx
jmp 0x10004722
push 2
push ecx
jmp 0x10004722
mov edx, dword [esp + 0x11c]
push 0
push 0
push edx
push ebx
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
cmp byte [esi + 0x8a], 0
je 0x10004836
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x170]
push eax
push ecx
call ebp
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x24]
push edx
push eax
mov byte [esi + 0x8a], 0
call ebp
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esi + 0x1e8], ecx
call ebp
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x20]
test eax, eax
mov dword [esi + 0x1e0], ecx
je 0x10004793
lea edx, [esi + 0x160]
push edx
push eax
call ebp
mov ecx, dword [esi + 0x24]
lea eax, [esi + 0x150]
push eax
push ecx
call ebp
mov eax, dword [esi + 0x1c]
lea edx, [esi + 0x140]
push edx
push eax
call ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100047be
lea ecx, [esi + 0x120]
push ecx
push eax
call ebp
mov eax, dword [esi + 8]
lea edx, [esi + 0x130]
push edx
push eax
call ebp
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x110]
push ecx
push edx
call ebp
mov ecx, dword [esi + 0x30]
lea eax, [esi + 0x100]
push eax
push ecx
call ebp
mov edx, dword [esi + 0x10c]
sub edx, dword [esi + 0x104]
mov eax, dword [esi + 0x38]
test eax, eax
mov dword [esi + 0x1f0], edx
je 0x1000481d
lea ecx, [esp + 0x8c]
push ecx
push eax
call ebp
mov edx, dword [esp + 0x98]
sub edx, dword [esp + 0x90]
mov dword [esi + 0x200], edx
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x24]
push eax
push ecx
call ebp
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
mov dword [esi + 0x1f8], edx
cmp byte [esi + 0x225], 0
je 0x1000496a
mov eax, dword [esi + 0x114]
mov ebp, dword [esi + 0x11c]
mov edx, dword [esi + 0x1dc]
mov ecx, dword [esi + 0x110]
sub ebp, eax
push 0
add ebp, edx
push ebp
mov ebp, dword [esi + 0x118]
sub ebp, ecx
sub ecx, dword [esp + 0xcc]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
sub eax, edx
push eax
mov eax, dword [esi + 0x10]
push ecx
push 0
push eax
mov byte [esi + 0x225], 0
mov byte [esi + 0x224], 1
call ebp
mov eax, dword [esi + 0x134]
mov edx, dword [esi + 0x1dc]
mov ecx, dword [esi + 0x130]
sub edx, eax
add edx, dword [esi + 0x13c]
sub eax, dword [esi + 0x1dc]
push 0
push edx
mov edx, dword [esi + 0x138]
sub edx, ecx
sub ecx, dword [esi + 0x110]
push edx
push eax
mov eax, dword [esi + 8]
push ecx
push 0
push eax
call ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10004900
mov ecx, dword [esi + 0x124]
sub ecx, dword [esi + 0x114]
mov edx, dword [esi + 0x120]
add ecx, dword [esi + 0x1dc]
sub edx, dword [esi + 0x110]
push 1
push 0
push 0
push ecx
push edx
push 0
push eax
call ebp
mov eax, dword [esi + 0x144]
mov edx, dword [esi + 0x14c]
mov ecx, dword [esi + 0x140]
sub edx, eax
sub edx, dword [esi + 0x1dc]
push 2
add edx, dword [esi + 0x234]
push edx
mov edx, dword [esi + 0x148]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x1c]
push ecx
push 0
push eax
call ebp
mov ecx, dword [esi + 0x15c]
sub ecx, dword [esi + 0x154]
mov edx, dword [esi + 0x158]
sub ecx, dword [esi + 0x1dc]
sub edx, dword [esi + 0x150]
add ecx, dword [esi + 0x234]
mov eax, dword [esi + 0x24]
push 2
push ecx
push edx
push 0
push 0
push 0
push eax
call ebp
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov eax, ebp
sub eax, dword [esp + 0x38]
mov dword [esp + 0x60], ecx
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add eax, ecx
add eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], eax
jns 0x100049a3
mov dword [esp + 0x5c], 0
cmp byte [esi + 0x1cc], 0
mov dword [esp + 0x64], ebx
je 0x10004a17
mov edx, dword [esp + 0x14]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x18]
lea eax, [ecx + ebp]
add ebp, edx
mov dword [esp + 0x80], eax
add ebp, ecx
lea eax, [esp + 0x358]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x88], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100049e6
push 5
sub eax, edx
lea ecx, [esp + 0x80]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x364]
push edx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
cmp byte [esi + 0x1d4], 0
je 0x10004a6e
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], eax
add ebp, ecx
lea eax, [esp + 0x560]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004a44
push 5
sub eax, edx
lea ecx, [esp + 0x70]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x56c]
push edx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x20]
cmp byte [esi + 0x1d5], 0
fldz
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
fst dword [esp + 0x28]
fst dword [esp + 0x24]
je 0x10004b0b
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fld qword [0x1002ff90]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x44c]
test ecx, ecx
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x24]
fild dword [esp + 0x40]
fstp dword [esp + 0x2c]
fimul dword [esp + 0x1c]
fstp dword [esp + 0x28]
fild dword [esp + 0x3c]
fstp dword [esp + 0x30]
je 0x10004b0b
fild dword [ecx + 0x44]
push 0
push 0
push 0
push 2
sub esp, 0x10
fstp dword [esp + 0xc]
lea edx, [esp + 0x44]
fild dword [ecx + 0x40]
fstp dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
push edx
call fcn.10005ee0
push eax
lea ecx, [esp + 0x70]
call fcn.10003a60
jmp 0x10004b0d
fstp st(0)
lea eax, [esp + 0x150]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004b17
push 5
sub eax, edx
lea ecx, [esp + 0x5c]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x15c]
push edx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esi + 0x1dc]
sub eax, dword [esi + 0x134]
add eax, dword [esi + 0x13c]
cmp ebx, eax
jne 0x10004b77
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x110]
push 0xcc0020
push 0
push 0
push edi
push ebx
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x10004b7e
mov byte [esi + 0x225], 1
mov eax, dword [esp + 0x44]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
push eax
call ebx
mov ecx, dword [esp + 0xac]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0xb0]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call ebx
mov ecx, dword [esi + 8]
lea eax, [esp + 0x110]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov edx, dword [esp + 0x48]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x974]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x95c]
xor ecx, esp
call fcn.100131c3
add esp, 0x96c
ret