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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56b050
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push esi
push edi
mov eax, dword [0x5c96a4]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
call fcn.00441f5f
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4110ae
push 0x80004005
call fcn.00403c50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x118], esi
call fcn.00441f5f
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4110df
push 0x80004005
call fcn.00403c50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x60], eax
push str.main_nr.png
push 0x5e0788
lea ecx, [esp + 0x20]
push str._sskins_s
push ecx
mov byte [esp + 0x128], 1
call fcn.00403920
push 0x10
call fcn.00441ee5
mov edi, eax
add esp, 0x14
mov dword [esp + 0x24], edi
mov byte [esp + 0x118], 2
cmp edi, esi
je 0x41116a
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x411147
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00403ad0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [edi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x1c], esi
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov edx, dword [esp + 0x14]
mov dword [edi + 8], eax
mov dword [edi + 4], edx
mov ebx, edi
jmp 0x41116c
xor ebx, ebx
mov byte [esp + 0x118], 1
cmp ebx, esi
jne 0x41117c
xor eax, eax
jmp 0x4111a1
mov edi, dword [0x5cb758]
mov eax, dword [0x5cb760]
mov ecx, dword [0x5cb75c]
mov edx, dword [0x5cb764]
sub eax, edi
push eax
push ecx
sub edx, ecx
push edi
mov eax, ebx
call fcn.0040ceb0
mov edi, dword [ebp + 8]
mov dword [edi + 0x74], eax
cmp ebx, esi
je 0x4111bd
mov eax, dword [ebx]
mov edx, dword [eax]
push esi
mov ecx, ebx
call edx
push eax
call fcn.00441f1f
add esp, 4
push str.slider.png
push 0x5e0788
lea eax, [esp + 0x20]
push str._sskins_s
push eax
call fcn.00403920
push 0x10
call fcn.00441ee5
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x24], ebx
mov byte [esp + 0x118], 3
cmp ebx, esi
je 0x41122e
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x41120d
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403ad0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [ebx], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x1c], esi
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 4], eax
jmp 0x411230
xor ebx, ebx
mov byte [esp + 0x118], 1
lea ecx, [esp + 0x14]
mov dword [edi + 0x80], ebx
mov edx, dword [ebx + 4]
push ecx
push edx
mov dword [esp + 0x1c], esi
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, esi
je 0x411257
mov dword [ebx + 8], eax
cmp dword [esp + 0x14], esi
ja 0x41126f
push esi
push 0x59b0a8
push str.slider.png_not_found
mov ecx, edi
call fcn.00446e31
call fcn.00410130
push str.combo2_nr.png
push 0x5e0788
lea eax, [esp + 0x20]
push str._sskins_s
push eax
call fcn.00403920
push 0x10
call fcn.00441ee5
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x24], ebx
mov byte [esp + 0x118], 4
cmp ebx, esi
je 0x4112e5
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x4112c4
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403ad0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [ebx], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x1c], esi
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 4], eax
jmp 0x4112e7
xor ebx, ebx
mov byte [esp + 0x118], 1
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], esi
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, esi
je 0x411308
mov dword [ebx + 8], eax
cmp dword [esp + 0x14], esi
jbe 0x411423
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], esi
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, esi
je 0x41132b
mov dword [ebx + 8], eax
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x41134c
mov dword [ebx + 8], eax
mov eax, dword [0x5e15dc]
mov edx, dword [0x5e15d8]
lea ecx, [esi + eax]
mov esi, dword [esp + 0x20]
push ecx
add esi, edx
push esi
push eax
push edx
push 0x5e15d8
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [0x5e15d8]
mov edx, dword [0x5e15dc]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x5e15e0]
mov dword [eax + 4], edx
mov edx, dword [0x5e15e4]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x74]
push 0
mov dword [eax + 0xc], edx
mov eax, dword [0x5dbb58]
push eax
push 0
push str.combo2_nr.png
push str.combo2_nr.png
push 0x5e15d8
push ecx
lea esi, [edi + 0x12c4]
push edi
mov ecx, esi
mov edx, str.combo2_nr.png
call fcn.004380e0
mov ecx, dword [0x5e15e0]
sub ecx, dword [0x5e15d8]
mov eax, dword [0x5e15e4]
sub eax, dword [0x5e15dc]
add ecx, 0xffffffe2
mov dword [esp + 0x88], ecx
xor ecx, ecx
mov dword [esi + 0x78], ecx
xor edx, edx
mov dword [esi + 0x7c], edx
mov edx, dword [esp + 0x88]
mov dword [esi + 0x80], edx
add esp, 0x30
mov dword [esi + 0x74], 1
mov dword [esi + 0x84], eax
mov eax, dword [ebx]
mov edx, dword [eax]
push ecx
mov ecx, ebx
call edx
push eax
call fcn.00441f1f
add esp, 4
jmp 0x4114a1
mov ecx, dword [0x5e15d8]
mov edx, dword [0x5e15dc]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x5e15e0]
mov dword [eax + 4], edx
mov edx, dword [0x5e15e4]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x74]
push 0
mov dword [eax + 0xc], edx
mov eax, dword [0x5dbb58]
push eax
push 0
push str.combo_nr.png
push str.combo_ov.png
push 0x5e15d8
push ecx
lea esi, [edi + 0x12c4]
push edi
mov ecx, esi
mov edx, str.combo_nr.png
call fcn.004380e0
xor eax, eax
add esp, 0x30
mov dword [esi + 0x78], eax
xor ecx, ecx
lea edx, [eax + 0x75]
mov dword [esi + 0x7c], ecx
lea ebx, [eax + 0x19]
mov dword [esi + 0x80], edx
mov dword [esi + 0x74], 1
mov dword [esi + 0x84], ebx
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00448211
mov dword [esp + 0x14], 0
call fcn.00441f5f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4114d3
push 0x80004005
call fcn.00403c50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x118], 5
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x24]
call fcn.00411030
mov byte [esp + 0x118], 6
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x411565
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x411553
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x411553
push eax
call fcn.0040a200
mov dword [esp + 0x20], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x411546
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x1c]
add ecx, 0x10
mov dword [esp + 0x2c], ecx
jmp 0x411561
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004060d0
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x118], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41158d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
je 0x411601
cmp dword [ebx - 4], 1
jle 0x4115aa
mov ecx, dword [ebx - 0xc]
push ecx
lea ecx, [esp + 0x30]
call fcn.00403ad0
mov ebx, dword [esp + 0x2c]
push 0x40
call fcn.00540440
mov esi, eax
add esp, 4
test esi, esi
je 0x4115eb
mov edx, dword [esp + 0x20]
xor ecx, ecx
lea eax, [esi + 4]
mov dword [esi], edx
mov word [eax], cx
test ebx, ebx
je 0x4115df
push ebx
push 0x5996c0
push 0x1d
push 0x1e
push eax
call fcn.005403d0
add esp, 0x14
push esi
lea esi, [edi + 0x1424]
call fcn.00421e10
mov eax, dword [esp + 0x20]
inc dword [esp + 0x14]
inc eax
cmp eax, 0x14
mov dword [esp + 0x20], eax
jl 0x4114f3
cmp dword [esp + 0x14], 0x1e
jle 0x411612
mov dword [edi + 0x1490], 0xa
mov edx, dword [0x5e15f8]
mov ecx, dword [0x5e1604]
mov eax, dword [0x5e1600]
mov ebx, dword [edi + 0x74]
mov dword [esp + 0x40], edx
mov edx, dword [0x5e15fc]
mov dword [esp + 0x4c], ecx
sub ecx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x5e15f8]
push 0
mov dword [esp + 0x4c], eax
sub eax, ecx
mov dword [esp + 0x54], ecx
push edi
lea ecx, [esp + 0x48]
push ecx
lea esi, [edi + 0x1618]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
push 0x5000000b
mov dword [esp + 0x54], edx
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x13c]
push 0x599828
mov ecx, esi
call edx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
push ebx
push ebx
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.004313c0
mov eax, dword [0x5dba24]
mov ecx, dword [0x5dba1c]
mov edx, dword [0x5dba20]
mov dword [esi + 0x9c], ecx
mov dword [esi + 0x98], edx
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa8], 1
mov dword [esi + 0xbc], 0
mov eax, dword [0x5dbb34]
mov dword [esi + 0x158], eax
mov ecx, dword [0x5e160c]
mov edx, dword [0x5e1608]
mov eax, dword [0x5e1610]
mov ebx, dword [edi + 0x74]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x5e1614]
mov dword [esp + 0x4c], ecx
sub ecx, dword [0x5e160c]
push 0
mov dword [esp + 0x20], ecx
push edi
mov dword [esp + 0x50], eax
sub eax, edx
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x5c], edx
mov edx, dword [0x5e160c]
lea esi, [edi + 0x1778]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
push 0x5000000b
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x13c]
push 0x599828
mov ecx, esi
call edx
push ebx
push ebx
push ebx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.004313c0
mov eax, dword [0x5dba24]
mov ecx, dword [0x5dba1c]
mov edx, dword [0x5dba20]
mov dword [esi + 0xa0], eax
xor eax, eax
mov dword [esi + 0x98], edx
mov ebx, 1
push 0x44
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xbc], eax
push eax
lea edx, [esp + 0x78]
mov dword [esi + 0xa8], ebx
mov ecx, dword [0x5dbb34]
push edx
mov dword [esi + 0x158], ecx
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
call fcn.00542e50
movzx eax, byte [0x5dfe01]
movzx edi, byte [0x5dfe02]
sub edi, eax
add edi, ebx
add esp, 0xc
xor ecx, ecx
test edi, edi
jle 0x4117fe
lea edx, [ecx + eax]
mov dword [esp + ecx*4 + 0x64], edx
inc ecx
cmp ecx, edi
jl 0x4117f2
mov eax, edi
cdq
sub eax, edx
xor ecx, ecx
sar eax, 1
cmp eax, ecx
lea edx, [edi - 1]
mov dword [esp + 0x14], ecx
jle 0x411835
mov ebx, dword [esp + edx*4 + 0x64]
mov esi, dword [esp + ecx*4 + 0x64]
mov dword [esp + ecx*4 + 0x64], ebx
mov dword [esp + edx*4 + 0x64], esi
inc ecx
dec edx
cmp ecx, edx
je 0x411835
mov esi, dword [esp + 0x14]
inc esi
cmp esi, eax
mov dword [esp + 0x14], esi
jl 0x411812
mov eax, dword [0x5dbb50]
mov dword [esp + 0x14], eax
lea ebx, [esp + 0xb4]
mov eax, 0x19
call fcn.00434b00
mov esi, dword [ebp + 8]
mov ecx, dword [0x5dbb4c]
mov edx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [esi + 0x12c], ecx
mov ecx, dword [0x5e1618]
mov dword [eax], ecx
mov ecx, dword [0x5e1620]
mov dword [esp + 0x38], edx
mov edx, dword [0x5e161c]
mov dword [eax + 4], edx
mov edx, dword [0x5e1624]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x80]
lea eax, [esp + 0x34]
push eax
push 0x94
lea eax, [edi - 1]
push eax
mov eax, dword [esi + 0x74]
push 0
lea ecx, [esi + 0x84]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x54], 0
call fcn.00438520
mov ecx, ebx
add esp, 0x30
test ecx, ecx
je 0x411920
mov edx, dword [esi + 0x95c]
sub edx, dword [esi + 0x958]
inc edx
cmp edi, edx
je 0x4118ec
push 0
push 0x59b0a8
push 0x5a2848
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, edi
cmp edi, 0x100
jb 0x4118fb
mov ebx, 0x100
lea eax, [ebx*4]
push eax
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esi + 0x540]
push edx
call fcn.00545960
add esp, 0xc
mov dword [esi + 0x53c], ebx
lea eax, [esp + 0x64]
test eax, eax
je 0x411957
cmp edi, 0x100
jb 0x411935
mov edi, 0x100
lea ecx, [edi*4]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esi + 0x13c]
push eax
call fcn.00545960
add esp, 0xc
mov dword [esi + 0x138], edi
mov al, byte [0x5dfdfd]
mov cl, byte [0x5dfdfe]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 4
mov edi, 5
test al, al
jne 0x41197f
test cl, cl
je 0x411990
movzx edi, cl
movzx eax, al
mov dword [esp + 0x20], edi
sub edi, eax
mov dword [esp + 0x1c], eax
inc edi
lea ebx, [esp + 0xb4]
mov eax, 0x19
call fcn.00434b00
mov ecx, dword [0x5dbb4c]
mov edx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [esi + 0xa4c], ecx
mov ecx, dword [0x5e1628]
mov dword [eax], ecx
mov ecx, dword [0x5e1630]
mov dword [esp + 0x38], edx
mov edx, dword [0x5e162c]
mov dword [eax + 4], edx
mov edx, dword [0x5e1634]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
push 0x95
push ecx
mov ecx, dword [esi + 0x80]
push edx
mov edx, dword [esi + 0x74]
lea eax, [esi + 0x9a4]
push eax
push ecx
push edx
push esi
mov dword [esp + 0x54], 0
call fcn.00438520
mov eax, ebx
add esp, 0x30
test eax, eax
je 0x411a71
mov ecx, dword [esi + 0x127c]
sub ecx, dword [esi + 0x1278]
inc ecx
cmp edi, ecx
je 0x411a3f
push 0
push 0x59b0a8
push 0x5a2848
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp edi, 0x100
jb 0x411a4c
mov edi, 0x100
lea edx, [edi*4]
push edx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esi + 0xe60]
push ecx
call fcn.00545960
add esp, 0xc
mov dword [esi + 0xe5c], edi
mov eax, dword [0x5e163c]
mov edx, dword [0x5e1638]
lea ecx, [eax + 0x1a]
push ecx
lea edi, [edx + 0x1a]
push edi
push eax
push edx
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_SetRect]
xor ebx, ebx
lea edi, [esi + 0x15f8]
lea esp, [esp]
push 0x88
call fcn.00441ee5
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x118], 7
test eax, eax
je 0x411ae5
push 0
push 0x6a
mov ecx, eax
call fcn.004431bd
mov ecx, dword [esp + 0x1c]
mov dword [ecx], vtable.ColorGridDlg.0
mov dword [ecx + 0x74], 0xf0f0f
mov dword [ecx + 0x84], 1
jmp 0x411ae7
xor ecx, ecx
mov byte [esp + 0x118], 5
mov dword [edi], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x13c]
push esi
push 0x68
call edx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi]
push 1
sub edx, eax
push edx
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.0044b87e
mov eax, dword [edi]
mov dword [eax + 0x80], ebx
mov eax, dword [edi]
mov ecx, dword [eax + 0x20]
push 1
push 0
push ecx
mov dword [eax + 0x78], 0xff
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [edi]
push 5
call fcn.0044b8be
mov eax, 0x32
add dword [esp + 0x30], eax
add dword [esp + 0x38], eax
inc ebx
add edi, 4
cmp ebx, 7
jl 0x411aa0
cmp dword [0x5dbb54], 0
je 0x411c55
mov eax, dword [0x5e15dc]
mov edx, dword [0x5e15e0]
lea ecx, [eax + 0x1a]
push ecx
lea edi, [edx + 0x92]
push edi
add edx, 0x78
push eax
push edx
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_SetRect]
push 0x88
call fcn.00441ee5
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
mov byte [esp + 0x118], 8
test edi, edi
je 0x411bdb
push 0
push 0x6a
mov ecx, edi
call fcn.004431bd
mov dword [edi], vtable.ColorGridDlg.0
mov dword [edi + 0x74], 0xf0f0f
mov dword [edi + 0x84], 1
mov ecx, edi
jmp 0x411bdd
xor ecx, ecx
mov byte [esp + 0x118], 5
mov dword [esi + 0x1614], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x13c]
push esi
push 0x68
call edx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ecx, dword [esi + 0x1614]
push 1
sub edx, eax
push edx
mov edx, dword [esp + 0x38]
sub edi, edx
push edi
push eax
push edx
call fcn.0044b87e
mov eax, dword [esi + 0x1614]
mov dword [eax + 0x80], 0xff
mov ecx, dword [esi + 0x1614]
push 5
call fcn.0044b8be
mov eax, dword [esi + 0x1614]
push 1
mov dword [eax + 0x7c], 1
mov eax, dword [eax + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x5e163c]
mov edx, dword [0x5e1640]
mov eax, dword [0x5e1638]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x5e1644]
mov dword [esp + 0x38], edx
lea edx, [ecx + 0x1a]
push edx
lea edi, [eax + 0x14]
push edi
mov dword [esp + 0x44], ecx
add ecx, 8
push ecx
push eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
push 0
mov dword [eax + 0xc], edx
mov eax, dword [0x5dbb58]
push eax
mov eax, dword [esi + 0x74]
push 1
push str.Check_dn.png
push str.Check_ov.png
lea edx, [esp + 0x54]
push edx
push eax
lea ecx, [esi + 0x1498]
push esi
mov edx, str.Check_nr.png
call fcn.004380e0
mov byte [esp + 0x148], 1
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
add esp, 0x30
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411d0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x118], 0
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411d35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x118], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411d60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4