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

Disassembly:
push 0xffffffffffffffff
push 0x57ae6d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x84], eax
mov ecx, dword [esi + 0xb4]
mov edx, dword [0x5e736c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x5e736c
xor ebp, ebp
xor edi, edi
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x84], 1
mov ecx, dword [esi + 0x4c]
call fcn.00459a30
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov ebx, dword [esi + 0xe4]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
call fcn.0046b7b0
test eax, eax
mov dword [esp + 0x18], eax
je 0x4657d5
mov ecx, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x34]
push eax
call edx
mov ebp, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [esi + 0xec]
call fcn.0046b7b0
test eax, eax
mov dword [esp + 0x30], eax
je 0x4657f6
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x34]
push edx
call eax
mov ebx, dword [esi + 0xf0]
call fcn.0046b7b0
test eax, eax
mov dword [esp + 0x28], eax
je 0x465824
mov ecx, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x465830
mov edi, eax
mov eax, dword [esi + 0xd8]
test eax, eax
je 0x46583c
mov ebp, eax
mov eax, dword [esi + 0x114]
sub eax, 0
je 0x46585a
sub eax, 1
jne 0x465866
mov eax, dword [esi + 0xd4]
add eax, ebp
add dword [esp + 0x48], eax
jmp 0x465866
mov ecx, dword [esi + 0xd4]
add ecx, edi
add dword [esp + 0x4c], ecx
mov ebx, dword [esi + 0xe8]
call fcn.0046b7b0
test eax, eax
mov edi, dword [esp + 0x8c]
je 0x4658a8
mov ecx, dword [esp + 0x48]
mov ebx, dword [eax]
push 0
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x60]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [edx + 0xc], ecx
mov edx, dword [ebx + 0x18]
push edi
mov ecx, eax
call edx
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x118]
cmp eax, 0xffffffff
mov ecx, dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x1c], 0xffffffff
jne 0x4658de
mov eax, dword [esi + 0x54]
cmp eax, 0xffffffff
jne 0x4658de
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4658e6
push eax
push edi
call ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x20]
test eax, eax
mov dword [esp + 0x20], 0
je 0x465905
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xac]
xor edx, edx
test eax, eax
je 0x46593b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x465ee3
mov ecx, eax
mov ecx, dword [ecx + 8]
test ecx, ecx
mov eax, dword [eax]
je 0x465937
cmp dword [ecx + 0xd0], 0
jne 0x465937
add edx, 1
test eax, eax
jne 0x465911
xor ebp, ebp
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x34], edx
jle 0x465ce6
mov ebx, dword [esp + 0x28]
nop
test ebp, ebp
jl 0x46598d
cmp ebp, dword [esi + 0xb4]
jge 0x46598d
jb 0x465962
xor eax, eax
jmp 0x465979
mov eax, dword [esi + 0xac]
test eax, eax
je 0x465979
test ebp, ebp
jbe 0x465979
mov ecx, ebp
sub ecx, 1
mov eax, dword [eax]
jne 0x465972
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x465ee3
mov eax, dword [eax + 8]
jmp 0x46598f
xor eax, eax
cmp dword [eax + 0xd0], 0
jne 0x465cd9
lea edx, [esp + 0x48]
push edx
push ebp
call fcn.00465ff0
test ebx, ebx
je 0x465af7
mov edx, 1
cmp dword [esp + 0x34], edx
jle 0x465af7
mov eax, dword [esi + 0x114]
sub dword [esp + 0x34], edx
xor ecx, ecx
sub eax, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
je 0x465a54
sub eax, edx
jne 0x465acb
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0xcc]
add eax, ecx
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x54]
push ecx
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jle 0x465a1d
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
cmp ecx, eax
jle 0x465a37
mov edx, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
sub eax, ecx
sub eax, dword [esp + 0x44]
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push 0
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x465acb
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 0xcc]
mov edx, dword [esp + 0x54]
push edx
add eax, ecx
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
cmp ecx, eax
jle 0x465a91
mov edx, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
cmp edx, edi
jle 0x465aa5
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edx
sub eax, ecx
sub eax, dword [esp + 0x40]
push 0
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov edi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
push 0xffffffffffffffff
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
push edi
mov ecx, ebx
call edx
cmp ebp, dword [esi + 0xc8]
je 0x465cd9
cmp dword [esi + 0x120], 0
je 0x465b31
mov ecx, dword [esi + 0x120]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
xor edx, edx
cmp ebp, dword [esi + 0xc4]
sete dl
push edx
push ebp
lea edx, [esp + 0x50]
push edx
push edi
push esi
call eax
test eax, eax
jne 0x465b70
cmp dword [esp + 0x18], 0
je 0x465b70
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
xor eax, eax
cmp ebp, dword [esi + 0xc4]
sete al
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x60]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x68]
push edi
mov dword [eax + 0xc], ebx
call edx
cmp dword [esp + 0x30], 0
je 0x465be6
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0x108]
push ecx
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x104]
push eax
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x7c], edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x80]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x84]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x88]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x18]
push edi
call eax
cmp dword [esi + 0x120], 0
je 0x465c0f
mov ecx, dword [esi + 0x120]
mov edx, dword [ecx]
mov edx, dword [edx]
xor eax, eax
cmp ebp, dword [esi + 0xc4]
sete al
push eax
push ebp
lea eax, [esp + 0x50]
push eax
push edi
push esi
call edx
mov ecx, dword [esi + 0x110]
mov eax, dword [esi + 0x10c]
push ecx
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
test ebp, ebp
jl 0x465c6b
cmp ebp, dword [esi + 0xb4]
jge 0x465c6b
jb 0x465c3a
xor eax, eax
jmp 0x465c57
mov eax, dword [esi + 0xac]
test eax, eax
je 0x465c57
test ebp, ebp
jbe 0x465c57
mov ecx, ebp
lea ebx, [ebx]
sub ecx, 1
mov eax, dword [eax]
jne 0x465c50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x465ee3
mov eax, dword [eax + 8]
jmp 0x465c6d
xor eax, eax
mov edx, dword [eax + 0xcc]
test edx, edx
jne 0x465c7b
xor eax, eax
jmp 0x465c8f
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465c80
sub eax, ebx
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x28]
call fcn.00410570
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x9c]
push eax
lea edx, [esp + 0x38]
mov ecx, esi
call fcn.00466110
mov edi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x28]
add ebp, 1
cmp ebp, dword [esp + 0x2c]
jl 0x465950
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x465d0e
cmp dword [esp + 0x20], 0
jne 0x465d06
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
jmp 0x465d0e
mov dword [esp + 0x20], 0
cmp dword [ebp + 0x10], 0xffffffff
je 0x465d2d
mov ecx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push ecx
push edi
call ebx
mov eax, dword [ebp + 0x10]
push eax
push edi
call ebx
mov dword [esp + 0x1c], eax
xor edi, edi
cmp dword [esp + 0x2c], edi
jle 0x465f7e
mov edx, dword [esp + 0x2c]
lea ecx, [ecx]
test edi, edi
jl 0x465d7d
cmp edi, dword [esi + 0xb4]
jge 0x465d7d
jb 0x465d52
xor eax, eax
jmp 0x465d69
mov eax, dword [esi + 0xac]
test eax, eax
je 0x465d69
test edi, edi
jbe 0x465d69
mov ecx, edi
sub ecx, 1
mov eax, dword [eax]
jne 0x465d62
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x465ee3
mov eax, dword [eax + 8]
jmp 0x465d7f
xor eax, eax
cmp dword [eax + 0xd0], 0
jne 0x465d90
cmp edi, dword [esi + 0xc8]
je 0x465d9c
add edi, 1
cmp edi, edx
jl 0x465d40
jmp 0x465f7e
lea edx, [esp + 0x48]
push edx
push edi
call fcn.00465ff0
cmp dword [esi + 0x120], 0
mov ebp, dword [esp + 0x8c]
je 0x465dd2
mov ecx, dword [esi + 0x120]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push 2
push edi
lea edx, [esp + 0x50]
push edx
push ebp
push esi
call eax
test eax, eax
jne 0x465e04
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x465e04
mov ebx, dword [esp + 0x48]
mov edx, dword [ecx]
push 2
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x60]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x68]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x18]
push ebp
call eax
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x465e79
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0x108]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x104]
push ecx
mov dword [esp + 0x70], edx
push eax
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x68]
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
push edi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0xc], ecx
push ebp
mov ecx, ebx
call edx
cmp dword [esi + 0x120], 0
je 0x465e98
mov ecx, dword [esi + 0x120]
mov eax, dword [ecx]
mov eax, dword [eax]
push 2
push edi
lea edx, [esp + 0x50]
push edx
push ebp
push esi
call eax
mov ecx, dword [esi + 0x110]
mov eax, dword [esi + 0x10c]
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
test edi, edi
jl 0x465ef2
cmp edi, dword [esi + 0xb4]
jge 0x465ef2
jb 0x465ec3
xor eax, eax
jmp 0x465ed8
mov eax, dword [esi + 0xac]
test eax, eax
je 0x465ed8
test edi, edi
jbe 0x465ed8
sub edi, 1
mov eax, dword [eax]
jne 0x465ed1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x465eed
push 0x80004005
call fcn.0040fcd0
mov eax, dword [eax + 8]
jmp 0x465ef4
xor eax, eax
mov edx, dword [eax + 0xcc]
test edx, edx
jne 0x465f02
xor eax, eax
jmp 0x465f16
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465f07
sub eax, edi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x28]
call fcn.00410570
mov eax, dword [esi + 0x11c]
xor edi, edi
test eax, eax
je 0x465f38
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], edx
lea edx, [esp + 0x9c]
mov dword [eax + 0xc], ecx
push edx
lea edx, [esp + 0x38]
mov ecx, esi
call fcn.00466110
test edi, edi
je 0x465f7e
mov eax, dword [esp + 0x8c]
push edi
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x465f96
mov ecx, dword [esp + 0x8c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x465fad
mov edx, dword [esp + 0x8c]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [esp + 0x84], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465fd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4