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

Disassembly:
push 0xffffffffffffffff
push 0x5222d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov al, byte [0x572384]
push ebx
push ebp
push esi
test al, 1
push edi
mov dword [esp + 0x14], ecx
jne 0x4366e4
mov bl, al
or bl, 1
mov byte [0x572384], bl
call fcn.00517a8a
mov eax, dword [eax + 4]
push 1
push str.ShowGradient
push str.MenuXP
mov ecx, eax
call fcn.00518848
mov dword [0x572380], eax
mov al, byte [0x572384]
test al, 2
jne 0x436718
mov bl, al
or bl, 2
mov byte [0x572384], bl
call fcn.00517a8a
mov eax, dword [eax + 4]
push 1
push str.ShowGradientSel
push str.MenuEx
mov ecx, eax
call fcn.00518848
mov dword [0x57237c], eax
mov al, byte [0x572384]
test al, 4
jne 0x43674f
mov bl, al
or bl, 4
mov byte [0x572384], bl
call fcn.00517a8a
mov eax, dword [eax + 4]
push 0xe4c4b4
push str.GradientStart
push str.MenuXP
mov ecx, eax
call fcn.00518848
mov dword [0x572378], eax
mov al, byte [0x572384]
test al, 8
jne 0x436786
mov bl, al
or bl, 8
mov byte [0x572384], bl
call fcn.00517a8a
mov eax, dword [eax + 4]
push 0xffffff
push str.GradientEnd
push str.MenuXP
mov ecx, eax
call fcn.00518848
mov dword [0x572374], eax
mov al, byte [esp + 0x9c]
mov ebx, dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [sym.imp.USER32.dll_CopyRect]
mov dl, byte [esp + 0x98]
test al, al
mov dword [esp + 0x18], 0xffffffff
mov byte [esp + 0x13], 0
je 0x436a59
test dl, dl
je 0x436a61
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x40]
push eax
push edx
call ecx
mov esi, dword [esp + 0x90]
test esi, esi
jne 0x4367db
xor edi, edi
jmp 0x4367de
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0x15
call ebx
push eax
push edi
lea ecx, [esp + 0x68]
call fcn.00412140
test esi, esi
mov dword [esp + 0x88], 0
jne 0x436806
xor edi, edi
jmp 0x436809
mov edi, dword [esi + 4]
push 0
push 0x14
push 0xf
call ebx
push eax
call fcn.00411e70
add esp, 0xc
lea ecx, [esp + 0x50]
push eax
push edi
call fcn.00412270
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
sub eax, 4
push ebp
mov dword [esp + 0x4c], eax
mov dword [0x572408], ecx
mov dword [0x57240c], edi
mov dword [0x572410], eax
mov dword [0x572414], ebp
push eax
mov eax, dword [esi + 4]
push edi
push ecx
push eax
mov byte [esp + 0x9c], 1
mov byte [esp + 0x27], 1
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esp + 0x48]
push 0xf
mov dword [esp + 0x44], eax
add eax, 4
mov dword [esp + 0x4c], eax
call ebx
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, esi
call fcn.00512bad
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xa0], 0
mov dword [esp + 0x1c], 2
mov esi, dword [esp + 0x1c]
xor edx, edx
test esi, esi
setle dl
dec edx
mov edi, eax
and edx, esi
mov esi, dword [esp + 0xa0]
mov ebp, edx
xor edx, edx
test esi, esi
setle dl
inc edx
sub edi, edx
mov dword [esp + 0x20], edx
sub edi, ecx
sub edi, esi
cmp ebp, edi
jge 0x4369fa
test ebp, ebp
jne 0x4368e4
xor eax, eax
jmp 0x436910
cmp ebp, 1
jne 0x4368fa
mov edx, dword [esp + 0xa0]
xor eax, eax
cmp edx, 2
setge al
jmp 0x436910
cmp ebp, 2
jne 0x436909
mov eax, dword [esp + 0x1c]
test eax, eax
mov eax, ebp
jle 0x436910
mov eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa0]
lea eax, [eax + eax*4]
mov esi, 0x5d
lea ecx, [ecx + ebp + 4]
sub esi, eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x94]
sub eax, ebx
mov edx, dword [ecx + 4]
dec eax
push eax
push edx
call dword [sym.imp.GDI32.dll_GetPixel]
mov ecx, eax
mov eax, 0x51eb851f
mov edx, ecx
xor ebx, ebx
shr edx, 0x10
and edx, 0xff
imul edx, esi
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x51eb851f
mov bh, dl
xor edx, edx
mov dl, ch
and ecx, 0xff
and edx, 0xff
imul ecx, esi
imul edx, esi
mov edi, edx
mov esi, ecx
imul edi
mov edi, edx
sar edi, 5
mov eax, edi
mov edx, edi
shr eax, 0x1f
add edx, eax
mov eax, 0x51eb851f
mov bl, dl
imul esi
sar edx, 5
mov eax, edx
mov esi, dword [esp + 0xa0]
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x48]
shl ebx, 8
and edx, 0xff
sub eax, esi
or ebx, edx
mov edx, dword [esp + 0x44]
mov ecx, ebx
dec eax
lea edx, [edx + ebp + 4]
push ecx
push edx
push eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov edx, eax
inc ebp
sub edx, ecx
mov ecx, dword [esp + 0x44]
sub edx, ecx
sub edx, esi
cmp ebp, edx
jl 0x4368dc
mov ebx, dword [esp + 0xa0]
mov edx, dword [esp + 0x1c]
inc ebx
dec edx
cmp edx, 0xfffffffe
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x1c], edx
jg 0x4368a9
lea ecx, [esp + 0x50]
mov byte [esp + 0x88], 0
call fcn.00412300
lea ecx, [esp + 0x60]
mov dword [esp + 0x88], 0xffffffff
call fcn.004121c0
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x436df7
test dl, dl
jne 0x436c0d
mov dl, byte [esp + 0xa0]
test dl, dl
je 0x436a7b
mov dl, byte [esp + 0xa4]
test dl, dl
je 0x436c0d
test al, al
jne 0x436be7
mov edi, dword [esp + 0x94]
lea eax, [esp + 0x40]
push edi
push eax
call ecx
mov eax, dword [0x572380]
mov esi, dword [esp + 0x90]
test eax, eax
je 0x436b86
mov ecx, dword [esi + 8]
push 0xc
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 8
jle 0x436b86
mov al, byte [0x572384]
test al, 0x10
jne 0x436aeb
or al, 0x10
mov byte [0x572384], al
call fcn.00517a8a
mov eax, dword [eax + 4]
push 0x1e
push str.GradientWidth
push str.MenuXP
mov ecx, eax
call fcn.00518848
mov dword [0x572370], eax
mov edx, dword [esp + 0x40]
mov eax, dword [0x572370]
mov ebx, dword [0x572374]
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
add edx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x48], edx
jne 0x436b1e
push 0
push 0x4b
push 0xf
call ebp
push eax
call fcn.00411e70
add esp, 0xc
mov ebx, eax
mov eax, dword [0x572378]
cmp eax, 0xffffffff
jne 0x436b39
push 0
push 0x14
push 0xf
call ebp
push eax
call fcn.00411e70
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x18]
push ebx
push eax
push esi
call fcn.00436380
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [0x572374]
cmp eax, 0xffffffff
mov dword [esp + 0x40], edx
jne 0x436b74
push 0
push 0x4b
push 0xf
call ebp
push eax
call fcn.00411e70
add esp, 0xc
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, esi
call fcn.00512bad
jmp 0x436df7
mov edx, dword [esp + 0x40]
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0
add edx, 0x16
push 0x14
push 0xf
mov dword [esp + 0x54], edx
call ebp
push eax
call fcn.00411e70
add esp, 0xc
mov ecx, esi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00512bad
mov ecx, dword [esp + 0x48]
mov edx, dword [edi + 8]
push 0
push 0x4b
push 0xf
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], edx
call ebp
push eax
call fcn.00411e70
add esp, 0xc
mov ecx, esi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00512bad
jmp 0x436df7
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
call ebp
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
push eax
push edi
mov ecx, esi
call fcn.00512bad
jmp 0x436df7
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call ebp
mov esi, dword [esp + 0x90]
mov edi, eax
test esi, esi
jne 0x436c28
xor eax, eax
jmp 0x436c2b
mov eax, dword [esi + 4]
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.00412140
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], 2
call fcn.00436120
test al, al
je 0x436c59
push 0
push 0x49
push 0xf
call ebp
push eax
jmp 0x436c5e
push 0xffffffffffffffc7
push 0x46
push edi
call fcn.00411e70
add esp, 0xc
mov edi, eax
test esi, esi
mov dword [esp + 0x18], edi
jne 0x436c74
xor eax, eax
jmp 0x436c77
mov eax, dword [esi + 4]
push edi
push eax
lea ecx, [esp + 0x58]
call fcn.00412270
mov al, byte [esp + 0x9c]
mov byte [esp + 0x88], 3
test al, al
je 0x436cee
mov edi, dword [esp + 0x94]
lea ecx, [esp + 0x40]
push edi
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
sub eax, 4
push edx
mov edx, dword [esi + 4]
mov dword [esp + 0x4c], eax
push eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
push edx
call ebx
mov eax, dword [esp + 0x48]
push 0xf
mov dword [esp + 0x44], eax
add eax, 4
mov dword [esp + 0x4c], eax
call ebp
push eax
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.00512bad
jmp 0x436dd2
mov eax, dword [0x572380]
test eax, eax
je 0x436db6
mov eax, dword [0x57237c]
test eax, eax
je 0x436db6
mov ecx, dword [esi + 8]
push 0xc
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 8
jle 0x436db6
mov ebx, dword [0x572374]
cmp ebx, 0xffffffff
jne 0x436d3b
push 0
push 0x4b
push 0xf
call ebp
push eax
call fcn.00411e70
add esp, 0xc
mov ebx, eax
mov ecx, dword [esp + 0x14]
call fcn.00436120
test al, al
je 0x436d4c
mov eax, edi
jmp 0x436d67
mov eax, dword [0x572378]
cmp eax, 0xffffffff
jne 0x436d67
push 0
push 0x14
push 0xf
call ebp
push eax
call fcn.00411e70
add esp, 0xc
mov edi, dword [esp + 0x94]
mov ecx, dword [esp + 0x14]
push edi
push ebx
push eax
push esi
call fcn.00436380
test esi, esi
jne 0x436d83
xor eax, eax
jmp 0x436d86
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x68]
call fcn.00412270
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
mov edx, dword [edi]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
lea ecx, [esp + 0x60]
call fcn.00412300
jmp 0x436dd2
mov edi, dword [esp + 0x94]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x88], 2
call fcn.00412300
lea ecx, [esp + 0x20]
mov dword [esp + 0x88], 0xffffffff
call fcn.004121c0
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.004360d0
test al, al
je 0x436e8f
test esi, esi
jne 0x436e12
xor ebx, ebx
jmp 0x436e15
mov ebx, dword [esi + 4]
push 0
push 0xffffffffffffffee
push 0xf
call ebp
push eax
call fcn.00411e70
add esp, 0xc
lea ecx, [esp + 0x60]
push eax
push ebx
call fcn.00412140
mov eax, dword [edi + 0xc]
mov ebp, dword [edi + 4]
add eax, ebp
lea ecx, [esp + 0x20]
cdq
sub eax, edx
mov dword [esp + 0x88], 4
sar eax, 1
push eax
mov eax, dword [edi]
add eax, 0x1e
push eax
push ecx
mov ecx, esi
call fcn.0050c040
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
add eax, ecx
mov ecx, esi
cdq
sub eax, edx
mov edx, dword [edi + 8]
sar eax, 1
dec edx
push eax
push edx
call fcn.0050c08c
lea ecx, [esp + 0x60]
mov dword [esp + 0x88], 0xffffffff
call fcn.004121c0
jmp 0x4373ef
lea eax, [esp + 0x30]
push edi
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [0x56935c]
mov dword [esp + 0xa0], ecx
lea edx, [esp + 0xa0]
mov ecx, ebx
push edx
mov dword [esp + 0x8c], 5
call fcn.00435f60
test eax, eax
jle 0x4373d8
mov al, byte [esp + 0xa4]
test al, al
je 0x436ed9
push 0x10
jmp 0x436ef9
mov ecx, ebx
call fcn.00436120
test al, al
je 0x436ef7
push 0
push 0xffffffffffffffee
push 0xf
call ebp
push eax
call fcn.00411e70
add esp, 0xc
jmp 0x436efb
push 7
call ebp
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
push 1
mov ecx, esi
call fcn.0050bc73
lea eax, [esp + 0x90]
push 0
push eax
push 0
push 0x100a
mov dword [esp + 0xa0], 1
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov al, byte [esp + 0xa8]
test al, al
je 0x436f4b
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x436f4b
mov ebp, 0x100000
jmp 0x436f4d
xor ebp, ebp
mov al, byte [esp + 0x9c]
test al, al
je 0x436f84
mov eax, dword [esp + 0x38]
mov edx, dword [esi]
sub eax, 4
or ebp, 0x25
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa0]
lea edi, [esp + 0x30]
push ebp
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
jmp 0x4373d8
test esi, esi
jne 0x436f8c
xor ebx, ebx
jmp 0x436f8f
mov ebx, dword [esi + 4]
mov ecx, dword [esp + 0x14]
call fcn.00436130
push eax
push ebx
lea ecx, [esp + 0x78]
call fcn.004124d0
mov eax, dword [esp + 0x30]
mov edx, dword [esi]
add eax, 0x1e
or ebp, 0x24
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa0]
lea ebx, [esp + 0x30]
push ebp
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x98], 6
call dword [edx + 0x68]
mov eax, dword [0x56935c]
mov dword [esp + 0xa4], eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x88], 7
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00436000
test eax, eax
jle 0x437020
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0xa4]
mov edx, dword [esi]
sub ebp, 0xc
mov dword [esp + 0x38], ebp
mov ecx, dword [eax - 8]
lea ebx, [esp + 0x30]
push 0x26
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov ebp, dword [esp + 0x14]
mov ecx, ebp
call fcn.004360f0
test al, al
je 0x4370eb
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
test esi, esi
mov ebx, eax
jne 0x437045
xor eax, eax
jmp 0x437048
mov eax, dword [esi + 4]
push ebx
push eax
lea ecx, [esp + 0x58]
call fcn.00412140
mov ecx, ebp
mov byte [esp + 0x88], 8
call fcn.00436120
test al, al
je 0x437075
push 0
push 0x49
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
jmp 0x43708b
mov al, byte [esp + 0x98]
test al, al
je 0x437086
push 0xffffffffffffffce
push 0x32
jmp 0x43708a
push 0xffffffffffffffc7
push 0x46
push ebx
call fcn.00411e70
add esp, 0xc
mov ebx, eax
test esi, esi
mov dword [esp + 0x18], ebx
jne 0x4370a1
xor eax, eax
jmp 0x4370a4
mov eax, dword [esi + 4]
push ebx
push eax
lea ecx, [esp + 0x68]
call fcn.00412270
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
mov ecx, dword [edi + 4]
dec eax
lea ebp, [edx + 0x14]
inc ecx
push eax
mov eax, dword [esi + 4]
inc edx
push ebp
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
lea ecx, [esp + 0x60]
call fcn.00412300
lea ecx, [esp + 0x50]
mov byte [esp + 0x88], 7
call fcn.004121c0
mov ebp, dword [esp + 0x14]
jmp 0x4370ef
mov ebx, dword [esp + 0x18]
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x43726a
cmp dword [ebp + 0x34], 0xffffffff
je 0x43726a
mov ecx, ebp
call fcn.00436120
test al, al
jne 0x43711e
mov al, byte [esp + 0x98]
test al, al
je 0x43711e
mov bl, 1
jmp 0x437120
xor bl, bl
mov ecx, ebp
mov byte [esp + 0x9c], bl
call fcn.00436120
test al, al
jne 0x437150
mov al, byte [esp + 0x98]
test al, al
je 0x4371f6
mov ecx, ebp
call fcn.004360f0
test al, al
jne 0x4371f6
mov eax, dword [esp + 0x14]
push 0
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
test bl, bl
mov ebp, eax
je 0x437172
push 0xffffffffffffffbe
push 0x32
push 0xd
jmp 0x437178
push 0
push 0xffffffffffffffe5
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call fcn.00411e70
add esp, 0xc
lea ecx, [esp + 0x20]
push eax
call fcn.0050c621
test eax, eax
jne 0x437199
xor ebx, ebx
jmp 0x43719c
mov ebx, dword [eax + 4]
mov dl, byte [esp + 0x9c]
mov eax, dword [edi]
xor ecx, ecx
push 0x83
test dl, dl
mov edx, dword [esp + 0x38]
push 0x10
setne cl
add ecx, 3
push 0x10
add eax, ecx
add ecx, edx
mov edx, dword [esi + 4]
push ecx
push eax
push 0
push ebp
push 0
push ebx
push edx
call dword [sym.imp.USER32.dll_DrawStateA]
mov dword [esp + 0x20], vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 9
call fcn.0050c5bb
push ebp
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ebp, dword [esp + 0x14]
mov ecx, ebp
call fcn.00436120
test al, al
jne 0x4373b3
mov al, byte [esp + 0x98]
test al, al
je 0x437220
mov ecx, ebp
call fcn.004360f0
test al, al
mov ebx, 2
je 0x437225
mov ebx, 3
mov al, byte [esp + 0x98]
test al, al
je 0x437240
mov ecx, ebp
call fcn.004360f0
test al, al
mov eax, 2
je 0x437245
mov eax, 3
mov ecx, dword [esp + 0x34]
mov edx, dword [edi]
add ebx, ecx
mov ecx, dword [ebp + 0x34]
push 1
add edx, eax
mov eax, dword [esi + 4]
push ebx
push edx
mov edx, dword [ebp + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
jmp 0x4373b3
mov ecx, ebp
call fcn.004360f0
test al, al
je 0x4373b3
mov edi, dword [edi]
mov ecx, ebp
add edi, 5
mov dword [esp + 0x30], edi
add edi, 0xf
mov dword [esp + 0x38], edi
call fcn.00436100
test al, al
je 0x437367
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov ecx, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x38]
add eax, edx
cdq
sub eax, edx
mov ebp, eax
sar edi, 1
sar ebp, 1
call fcn.00436120
test al, al
je 0x4372de
push 0
push 0xffffffffffffffe5
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call fcn.00411e70
add esp, 0xc
jmp 0x4372e6
push 7
call dword [sym.imp.USER32.dll_GetSysColor]
test esi, esi
mov ebx, eax
jne 0x4372f0
xor eax, eax
jmp 0x4372f3
mov eax, dword [esi + 4]
push ebx
push eax
lea ecx, [esp + 0x58]
call fcn.00412140
test esi, esi
mov byte [esp + 0x88], 0xa
jne 0x43730e
xor eax, eax
jmp 0x437311
mov eax, dword [esi + 4]
push ebx
push eax
lea ecx, [esp + 0x68]
call fcn.00412270
lea eax, [edi + 4]
lea ecx, [ebp + 3]
lea edx, [edi - 3]
push eax
lea ebx, [ebp - 4]
push ecx
mov ecx, dword [esi + 4]
push edx
push ebx
push ecx
call dword [sym.imp.GDI32.dll_Ellipse]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 4]
add edi, 2
inc ebp
push edx
push edi
push ebp
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
lea ecx, [esp + 0x60]
call fcn.00412300
lea ecx, [esp + 0x50]
mov byte [esp + 0x88], 7
call fcn.004121c0
jmp 0x4373b3
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x2c]
push 0x7ff8
push 0
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x3c]
mov esi, dword [esi + 4]
sub eax, edx
sub ecx, ebp
push 4
add edx, 3
push eax
push ecx
push edx
push ebp
push 0
push edi
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_DrawStateA]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x88], 6
call fcn.00509099
lea ecx, [esp + 0x70]
mov byte [esp + 0x88], 5
call fcn.004125a0
lea ecx, [esp + 0xa0]
mov dword [esp + 0x88], 0xffffffff
call fcn.00509099
mov ecx, dword [esp + 0x80]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret 0x1c