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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x465e63
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4851d0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x4851d0]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0x78], edi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xbc], esi
je 0x402ed8
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [0x4865c8]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
call fcn.004150b0
mov ecx, eax
call fcn.00425d20
mov ecx, eax
call fcn.00425d20
fldz
mov dword [esp + 0x7c], eax
fst dword [esp + 0x30]
lea eax, [esp + 0xac]
fst dword [esp + 0x2c]
push eax
fst dword [esp + 0x2c]
push esi
fstp dword [esp + 0x2c]
mov dword [esp + 0xb4], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ecx
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
add eax, 4
cmp esi, dword [eax + 8]
mov dword [esp + 0xf0], edi
mov dword [esp + 0x80], eax
jbe 0x401ef6
call fcn.0044d026
mov ebx, esi
mov edx, dword [esp + 0xa8]
mov esi, dword [edx + 0x78]
mov edi, dword [esi + 0xc]
add esi, 4
cmp dword [esi + 4], edi
mov dword [esp + 0xc4], ebx
jbe 0x401f19
call fcn.0044d026
cmp dword [esp + 0x80], esi
je 0x401f27
call fcn.0044d026
cmp ebx, edi
je 0x402ebd
mov eax, dword [esp + 0x80]
cmp ebx, dword [eax + 8]
jb 0x401f40
call fcn.0044d026
test ebx, ebx
je 0x401fd6
mov edi, dword [ebx + 0x18]
cmp edi, 8
lea esi, [ebx + 4]
jb 0x401f57
mov eax, dword [esi]
jmp 0x401f59
mov eax, esi
mov ecx, str.Display
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401f86
test dx, dx
je 0x401f82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401f86
add eax, 4
add ecx, 4
test dx, dx
jne 0x401f60
xor eax, eax
jmp 0x401f8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402e9d
cmp edi, 8
jb 0x401f9c
mov eax, dword [esi]
jmp 0x401f9e
mov eax, esi
mov ecx, str.OurSelf
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401fc9
test dx, dx
je 0x401fc5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401fc9
add eax, 4
add ecx, 4
test dx, dx
jne 0x401fa3
xor eax, eax
jmp 0x401fce
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402e9d
mov ecx, dword [esp + 0x80]
cmp ebx, dword [ecx + 8]
jb 0x401fe7
call fcn.0044d026
lea eax, [ebx + 0x1c]
test eax, eax
je 0x402e9d
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x8c], eax
je 0x402e9d
mov edx, dword [esp + 0x80]
cmp ebx, dword [edx + 8]
jb 0x402014
call fcn.0044d026
mov edi, dword [esp + 0xa8]
mov ecx, dword [edi + 0x7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push ebx
call edx
xor esi, esi
cmp eax, esi
mov dword [esp + 0xa0], esi
je 0x40203c
mov eax, dword [eax]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x80]
cmp ebx, dword [ecx + 8]
jb 0x40204d
call fcn.0044d026
mov ecx, dword [edi + 0x80]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push ebx
call eax
cmp eax, esi
mov dword [esp + 0xa4], esi
je 0x40206f
mov ecx, dword [eax]
mov dword [esp + 0xa4], ecx
mov esi, dword [esp + 0x8c]
mov ebx, dword [esi + 8]
add esi, 4
cmp ebx, dword [esi + 8]
mov dword [esp + 0x8c], esi
jbe 0x40208d
call fcn.0044d026
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
mov dword [esp + 0xcc], ebx
jbe 0x4020a1
call fcn.0044d026
cmp esi, esi
je 0x4020aa
call fcn.0044d026
cmp ebx, edi
je 0x402e9d
cmp ebx, dword [esi + 8]
jb 0x4020c6
call fcn.0044d026
cmp ebx, dword [esi + 8]
jb 0x4020c6
call fcn.0044d026
lea eax, [ebx + 0x1c]
test eax, eax
je 0x402e76
mov edi, dword [eax]
test edi, edi
je 0x402e76
cmp ebx, dword [esi + 8]
mov dword [esp + 0x34], 0
jb 0x4020ed
call fcn.0044d026
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push ebx
call eax
xor esi, esi
test eax, eax
je 0x402104
mov esi, dword [eax]
mov ecx, dword [esp + 0x8c]
cmp ebx, dword [ecx + 8]
jb 0x402115
call fcn.0044d026
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push ebx
call eax
xor ebx, ebx
test eax, eax
mov dword [esp + 0x94], ebx
je 0x40213a
mov ebx, dword [eax]
mov dword [esp + 0x94], ebx
cmp dword [ebx + 4], 0
je 0x402e76
cmp dword [ebx + 0x18], 0
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x60]
je 0x402220
push str.imageDisable
mov dword [esp + 0x38], 0xffffffff
call fcn.00401610
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov byte [esp + 0xf4], 1
call edx
cmp dword [esp + 0x78], 8
mov edi, eax
mov byte [esp + 0xf0], 0
jb 0x4021a0
mov eax, dword [esp + 0x64]
push eax
call fcn.0042cbc2
add esp, 4
test edi, edi
je 0x4021d1
test esi, esi
je 0x402591
push str.imageDisable
lea ecx, [esp + 0x64]
call fcn.00401610
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x60]
mov byte [esp + 0xf0], 2
push eax
jmp 0x402570
test esi, esi
je 0x402216
push str.image
lea ecx, [esp + 0x64]
call fcn.00401610
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
mov byte [esp + 0xf4], 3
call edx
lea ecx, [esp + 0x60]
mov esi, eax
mov byte [esp + 0xf0], 0
call fcn.0041e410
test esi, esi
je 0x402216
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov eax, 3
jmp 0x402593
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x40231b
push str.image
mov dword [esp + 0x38], eax
call fcn.00401610
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov byte [esp + 0xf4], 4
call edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x48], eax
mov byte [esp + 0xf0], 0
call fcn.0041e410
cmp dword [esp + 0x48], 0
je 0x4022b9
test esi, esi
je 0x4022b9
push str.image
lea ecx, [esp + 0x64]
call fcn.00401610
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0xf4], 5
call edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x40], eax
mov byte [esp + 0xf0], 0
call fcn.0041e410
cmp dword [esp + 0x40], 0
je 0x4022b9
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
push str.imageDisplay
lea ecx, [esp + 0x64]
call fcn.00401610
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov byte [esp + 0xf4], 6
call edx
lea ecx, [esp + 0x60]
mov edi, eax
mov byte [esp + 0xf0], 0
call fcn.0041e410
test edi, edi
je 0x402591
test esi, esi
je 0x402591
push str.image
lea ecx, [esp + 0x64]
call fcn.00401610
mov byte [esp + 0xf0], 7
jmp 0x402566
cmp eax, 2
jne 0x4023d1
push str.imageHover
mov dword [esp + 0x38], eax
call fcn.00401610
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov byte [esp + 0xf4], 8
call edx
lea ecx, [esp + 0x60]
mov edi, eax
mov byte [esp + 0xf0], 0
call fcn.0041e410
test edi, edi
je 0x402382
test esi, esi
je 0x402591
push str.imageHover
lea ecx, [esp + 0x64]
call fcn.00401610
mov byte [esp + 0xf0], 9
jmp 0x402566
test esi, esi
je 0x4023c7
push str.image
lea ecx, [esp + 0x64]
call fcn.00401610
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
mov byte [esp + 0xf4], 0xa
call edx
lea ecx, [esp + 0x60]
mov esi, eax
mov byte [esp + 0xf0], 0
call fcn.0041e410
test esi, esi
je 0x4023c7
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov eax, 1
jmp 0x402593
cmp eax, 1
jne 0x402487
push str.imageDown
mov dword [esp + 0x38], eax
call fcn.00401610
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov byte [esp + 0xf4], 0xb
call edx
lea ecx, [esp + 0x60]
mov edi, eax
mov byte [esp + 0xf0], 0
call fcn.0041e410
test edi, edi
je 0x402438
test esi, esi
je 0x402591
push str.imageDown
lea ecx, [esp + 0x64]
call fcn.00401610
mov byte [esp + 0xf0], 0xc
jmp 0x402566
test esi, esi
je 0x40247d
push str.image
lea ecx, [esp + 0x64]
call fcn.00401610
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
mov byte [esp + 0xf4], 0xd
call edx
lea ecx, [esp + 0x60]
mov esi, eax
mov byte [esp + 0xf0], 0
call fcn.0041e410
test esi, esi
je 0x40247d
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov eax, 2
jmp 0x402593
push str.image
call fcn.00401610
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov byte [esp + 0xf4], 0xe
call edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x48], eax
mov byte [esp + 0xf0], 0
call fcn.0041e410
cmp dword [esp + 0x48], 0
je 0x402511
test esi, esi
je 0x402511
push str.image
lea ecx, [esp + 0x64]
call fcn.00401610
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0xf4], 0xf
call edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x40], eax
mov byte [esp + 0xf0], 0
call fcn.0041e410
cmp dword [esp + 0x40], 0
je 0x402511
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
push str.imageDisplay
lea ecx, [esp + 0x64]
call fcn.00401610
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov byte [esp + 0xf4], 0x10
call edx
lea ecx, [esp + 0x60]
mov edi, eax
mov byte [esp + 0xf0], 0
call fcn.0041e410
test edi, edi
je 0x402591
test esi, esi
je 0x402591
push str.image
lea ecx, [esp + 0x64]
call fcn.00401610
mov byte [esp + 0xf0], 0x11
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x60]
mov byte [esp + 0xf0], 0
mov esi, eax
call fcn.0041e410
test esi, esi
je 0x402591
mov eax, dword [esi]
mov dword [esp + 0x20], eax
xor eax, eax
test eax, eax
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 0x34]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edx
jne 0x4025cb
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov ecx, 1
jmp 0x402659
mov ecx, 1
cmp eax, ecx
jne 0x4025ef
cmp dword [ebx + 0x68], ecx
jne 0x40264b
mov edx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x78]
jmp 0x40265f
cmp eax, 2
jne 0x40261b
cmp dword [ebx + 0x7c], ecx
jne 0x40264b
mov edx, dword [ebx + 0x80]
mov eax, dword [ebx + 0x84]
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x8c]
jmp 0x40265f
cmp eax, 3
jne 0x402667
cmp dword [ebx + 0x90], 0
je 0x40264b
mov edx, dword [ebx + 0x94]
mov eax, dword [ebx + 0x98]
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x9c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xa0]
jmp 0x40265f
mov edx, dword [ebx + 0x58]
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x60]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
cmp dword [ebx + 0x14], ecx
jne 0x402827
cmp dword [ebx + 0x18], ecx
jne 0x40267e
mov ecx, dword [esp + 0x7c]
mov esi, dword [ecx + 0x10]
jmp 0x4026b1
mov eax, dword [esp + 0x34]
cmp eax, ecx
jne 0x40268f
mov edx, dword [esp + 0x7c]
mov esi, dword [edx + 8]
jmp 0x4026b1
cmp eax, 2
jne 0x40269d
mov eax, dword [esp + 0x7c]
mov esi, dword [eax + 4]
jmp 0x4026b1
cmp dword [ebx + 0x1c], ecx
jne 0x4026ab
mov ecx, dword [esp + 0x7c]
mov esi, dword [ecx + 0xc]
jmp 0x4026b1
mov edx, dword [esp + 0x7c]
mov esi, dword [edx]
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x48], ecx
fild dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov edi, dword [eax + 0x50]
mov eax, dword [esp + 0x7c]
fstp dword [esp + 0x24]
mov ebx, dword [eax + 0x14]
fild dword [esp + 0x14]
mov edx, dword [ebx + 4]
push 0
push 0
fstp dword [esp + 0x58]
push 0
fld dword [esp + 0x5c]
push 2
fstp dword [esp + 0x38]
sub esp, 0x10
fild dword [esi + 8]
lea ecx, [esp + 0x44]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fst dword [esp + 0x4c]
fild dword [esi + 0xc]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fst dword [esp + 0x50]
fstp dword [esp + 0xc]
fstp dword [esp + 8]
fild dword [esi + 4]
fstp dword [esp + 4]
fild dword [esi]
fstp dword [esp]
push ecx
push edx
lea ecx, [esp + 0xac]
call fcn.004011c0
mov eax, dword [esi + 0x30]
mov ecx, edi
sub ecx, eax
add ecx, dword [esp + 0x48]
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
mov eax, dword [ebx + 4]
push 0
push 0
fstp dword [esp + 0x2c]
push 0
fld dword [esp + 0x5c]
push 2
fstp dword [esp + 0x38]
sub esp, 0x10
fild dword [esp + 0x64]
lea edx, [esp + 0x44]
lea ecx, [esp + 0xa4]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fst dword [esp + 0x4c]
fild dword [esi + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fst dword [esp + 0x50]
fstp dword [esp + 0xc]
fstp dword [esp + 8]
fild dword [esi + 0x2c]
fstp dword [esp + 4]
fild dword [esi + 0x28]
fstp dword [esp]
push edx
push eax
call fcn.004011c0
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x48]
lea edx, [eax + ecx]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fstp dword [esp + 0x24]
fld dword [esp + 0x50]
sub edi, dword [esi + 0x30]
fstp dword [esp + 0x28]
mov ecx, dword [ebx + 4]
sub edi, eax
mov dword [esp + 0x14], edi
fild dword [esp + 0x14]
push 0
push 0
push 0
fstp dword [esp + 0x38]
push 2
fild dword [esi + 0x20]
sub esp, 0x10
lea eax, [esp + 0x44]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fst dword [esp + 0x50]
fstp dword [esp + 0xc]
fild dword [esi + 0x1c]
fstp dword [esp + 8]
fild dword [esi + 0x18]
fstp dword [esp + 4]
fild dword [esi + 0x14]
fstp dword [esp]
push eax
push ecx
lea ecx, [esp + 0xac]
call fcn.004011c0
cmp dword [esp + 0x20], 0
je 0x402db1
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx + 0xb4]
cmp eax, 0xffffffff
jne 0x4028bd
cmp dword [ecx + 0xb8], eax
jne 0x4028b4
fild dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push 0
fstp dword [esp + 0x28]
push 0
fild dword [esp + 0x48]
push 0
push 2
sub esp, 0x10
fstp dword [esp + 0x48]
lea edx, [esp + 0x44]
fild dword [esp + 0x7c]
fstp dword [esp + 0x4c]
fild dword [esp + 0x78]
fstp dword [esp + 0x50]
fild dword [esp + 0x38]
fstp dword [esp + 0xc]
fild dword [esp + 0x3c]
fstp dword [esp + 8]
fild dword [esp + 0x5c]
fstp dword [esp + 4]
fild dword [esp + 0x58]
fstp dword [esp]
push edx
push ecx
lea ecx, [esp + 0xac]
call fcn.004011c0
jmp 0x402db1
cmp eax, 0xffffffff
je 0x402c58
mov edx, dword [ecx + 0xb8]
cmp edx, 0xffffffff
je 0x402b04
cmp eax, 1
jne 0x40293d
cmp edx, eax
jne 0x40293d
fild dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push 0
fstp dword [esp + 0x28]
push 0
fild dword [esp + 0x48]
push 0
push 2
sub esp, 0x10
fstp dword [esp + 0x48]
lea edx, [esp + 0x44]
fild dword [esp + 0x7c]
fstp dword [esp + 0x4c]
fild dword [esp + 0x78]
fstp dword [esp + 0x50]
fild dword [esp + 0x38]
fstp dword [esp + 0xc]
fild dword [esp + 0x3c]
fstp dword [esp + 8]
fild dword [esp + 0x5c]
fstp dword [esp + 4]
fild dword [esp + 0x58]
fstp dword [esp]
push edx
push ecx
lea ecx, [esp + 0xac]
call fcn.004011c0
jmp 0x402db1
mov eax, dword [esp + 0x5c]
cdq
idiv dword [esp + 0x1c]
test edx, edx
je 0x40294d
add eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
cdq
idiv dword [esp + 0x18]
test edx, edx
mov ebx, eax
je 0x402963
lea ebx, [eax + 1]
cmp dword [esp + 0x48], 0
mov dword [esp + 0x9c], 0
jle 0x402db1
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
neg eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], 0
mov dword [esp + 0xb4], eax
xor edi, edi
test ebx, ebx
jle 0x402ad1
fild dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
fstp dword [esp + 0x24]
mov dword [esp + 0x4c], eax
fild dword [esp + 0x18]
neg esi
mov dword [esp + 0x98], ecx
fstp dword [esp + 0x34]
fild dword [esp + 0x1c]
fstp dword [esp + 0x54]
fild dword [esp + 0x3c]
fstp dword [esp + 0x90]
fild dword [esp + 0x38]
fstp dword [esp + 0x50]
fld dword [esp + 0x34]
mov eax, dword [esp + 0x48]
fld dword [esp + 0x54]
add eax, 0xffffffff
cmp dword [esp + 0x9c], eax
fild dword [esp + 0x4c]
fstp dword [esp + 0x28]
jne 0x402a22
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
add edx, eax
mov dword [esp + 0xb8], edx
fild dword [esp + 0xb8]
fstp dword [esp + 0x2c]
jmp 0x402a26
fst dword [esp + 0x2c]
lea eax, [ebx - 1]
cmp edi, eax
jne 0x402a3a
fild dword [esp + 0x98]
fstp dword [esp + 0x30]
jmp 0x402a42
fxch st(1)
fst dword [esp + 0x30]
fxch st(1)
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
test eax, eax
je 0x402a52
mov eax, dword [eax + 4]
jmp 0x402a54
xor eax, eax
push 0
fxch st(1)
push 0
mov edx, dword [esp + 0x8c]
push 0
push 2
sub esp, 0x20
fstp dword [esp + 0x1c]
fstp dword [esp + 0x18]
fld dword [esp + 0xc0]
fstp dword [esp + 0x14]
fld dword [esp + 0x80]
fstp dword [esp + 0x10]
fld dword [esp + 0x60]
fstp dword [esp + 0xc]
fld dword [esp + 0x5c]
fstp dword [esp + 8]
fld dword [esp + 0x58]
fstp dword [esp + 4]
fld dword [esp + 0x54]
fstp dword [esp]
push eax
push edx
call sub.gdiplus.dll_GdipDrawImageRectRect
test eax, eax
je 0x402ab7
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x4c], eax
add dword [esp + 0x98], esi
add edi, 1
cmp edi, ebx
jl 0x4029e4
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x44], ecx
add dword [esp + 0x14], edx
add eax, 1
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x9c], eax
jl 0x402996
jmp 0x402db1
cmp eax, 0xffffffff
je 0x402c58
cmp eax, 1
jne 0x402b7a
fild dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
push 0
fstp dword [esp + 0x28]
push 0
fild dword [esp + 0x48]
push 0
push 2
sub esp, 0x10
fstp dword [esp + 0x48]
lea eax, [esp + 0x44]
fild dword [esp + 0x7c]
lea ecx, [esp + 0xa4]
fstp dword [esp + 0x4c]
fild dword [esp + 0x78]
fstp dword [esp + 0x50]
fild dword [esp + 0x38]
fstp dword [esp + 0xc]
fild dword [esp + 0x3c]
fstp dword [esp + 8]
fild dword [esp + 0x5c]
fstp dword [esp + 4]
fild dword [esp + 0x58]
fstp dword [esp]
push eax
push edx
call fcn.004011c0
jmp 0x402db1
mov eax, dword [esp + 0x5c]
cdq
idiv dword [esp + 0x1c]
test edx, edx
mov ebx, eax
je 0x402b8c
lea ebx, [eax + 1]
xor esi, esi
test ebx, ebx
jle 0x402db1
fild dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
fstp dword [esp + 0x28]
mov dword [esp + 0x14], eax
fild dword [esp + 0x18]
neg edi
mov dword [esp + 0x44], ecx
fstp dword [esp + 0x34]
fild dword [esp + 0x1c]
fstp dword [esp + 0x54]
fild dword [esp + 0x3c]
fstp dword [esp + 0x90]
fild dword [esp + 0x38]
fstp dword [esp + 0x50]
fld dword [esp + 0x34]
lea eax, [ebx - 1]
cmp esi, eax
fld dword [esp + 0x54]
fild dword [esp + 0x14]
fstp dword [esp + 0x24]
jne 0x402bf8
fild dword [esp + 0x44]
fstp dword [esp + 0x2c]
jmp 0x402bfc
fst dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
fxch st(1)
mov ecx, dword [eax + 4]
fst dword [esp + 0x30]
push 0
push 0
push 0
push 2
sub esp, 0x10
fstp dword [esp + 0xc]
lea edx, [esp + 0x44]
fstp dword [esp + 8]
fld dword [esp + 0xb0]
fstp dword [esp + 4]
fld dword [esp + 0x70]
fstp dword [esp]
push edx
push ecx
lea ecx, [esp + 0xac]
call fcn.004011c0
mov edx, dword [esp + 0x1c]
add dword [esp + 0x14], edx
add dword [esp + 0x44], edi
add esi, 1
cmp esi, ebx
jl 0x402bd7
jmp 0x402db1
mov ecx, dword [ecx + 0xb8]
cmp ecx, 0xffffffff
je 0x402db1
cmp ecx, 1
jne 0x402cd4
fild dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
push 0
fstp dword [esp + 0x28]
push 0
fild dword [esp + 0x48]
push 0
push 2
sub esp, 0x10
fstp dword [esp + 0x48]
lea eax, [esp + 0x44]
fild dword [esp + 0x7c]
lea ecx, [esp + 0xa4]
fstp dword [esp + 0x4c]
fild dword [esp + 0x78]
fstp dword [esp + 0x50]
fild dword [esp + 0x38]
fstp dword [esp + 0xc]
fild dword [esp + 0x3c]
fstp dword [esp + 8]
fild dword [esp + 0x5c]
fstp dword [esp + 4]
fild dword [esp + 0x58]
fstp dword [esp]
push eax
push edx
call fcn.004011c0
jmp 0x402db1
mov eax, dword [esp + 0x58]
cdq
idiv dword [esp + 0x18]
test edx, edx
mov ebx, eax
je 0x402ce6
lea ebx, [eax + 1]
xor esi, esi
test ebx, ebx
jle 0x402db1
fild dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
fstp dword [esp + 0x24]
mov dword [esp + 0x14], eax
fild dword [esp + 0x18]
neg edi
mov dword [esp + 0x44], ecx
fstp dword [esp + 0x34]
fild dword [esp + 0x1c]
fstp dword [esp + 0x54]
fild dword [esp + 0x3c]
fstp dword [esp + 0x90]
fild dword [esp + 0x38]
fstp dword [esp + 0x50]
fld dword [esp + 0x34]
lea eax, [ebx - 1]
cmp esi, eax
fld dword [esp + 0x54]
fild dword [esp + 0x14]
fstp dword [esp + 0x28]
fst dword [esp + 0x2c]
jne 0x402d56
fild dword [esp + 0x44]
fstp dword [esp + 0x30]
jmp 0x402d5e
fxch st(1)
fst dword [esp + 0x30]
fxch st(1)
mov eax, dword [esp + 0x20]
fxch st(1)
mov ecx, dword [eax + 4]
push 0
push 0
push 0
push 2
sub esp, 0x10
fstp dword [esp + 0xc]
lea edx, [esp + 0x44]
fstp dword [esp + 8]
fld dword [esp + 0xb0]
fstp dword [esp + 4]
fld dword [esp + 0x70]
fstp dword [esp]
push edx
push ecx
lea ecx, [esp + 0xac]
call fcn.004011c0
mov edx, dword [esp + 0x18]
add dword [esp + 0x14], edx
add dword [esp + 0x44], edi
add esi, 1
cmp esi, ebx
jl 0x402d31
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0xbc]
test eax, eax
je 0x402e76
mov esi, dword [esp + 0x94]
mov ecx, dword [esi + 0xa8]
mov edi, dword [esi + 0xac]
mov edx, dword [esi + 0xa4]
add edi, ecx
mov dword [esp + 0xd0], ecx
mov ecx, dword [esi + 0xb0]
add ecx, edx
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], ecx
lea edx, [eax + 2]
jmp 0x402e10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402e10
mov ecx, dword [0x4865c8]
sub eax, edx
sar eax, 1
mov ebx, eax
call fcn.004150b0
mov edx, dword [eax + 8]
mov edi, dword [esp + 0xbc]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [esi + 0x18], 1
jne 0x402e54
push 0x808080
jmp 0x402e56
push 0
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esi + 0xbc]
push 0
lea eax, [esp + 0xd4]
push eax
push ebx
push ecx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ebx, dword [esp + 0xcc]
mov edx, dword [esp + 0x8c]
cmp ebx, dword [edx + 8]
jb 0x402e8e
call fcn.0044d026
mov esi, dword [esp + 0x8c]
add ebx, 0x20
jmp 0x40208d
mov ebx, dword [esp + 0xc4]
mov eax, dword [esp + 0x80]
cmp ebx, dword [eax + 8]
jb 0x402eb5
call fcn.0044d026
add ebx, 0x20
jmp 0x401ef8
mov ecx, dword [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x84]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0044d5bb
mov esp, ebp
pop ebp
ret 4