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

Disassembly:
jmp 0x426990
push 0xffffffffffffffff
push 0x54c748
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5c1d10]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov edi, dword [esp + 0x294]
mov esi, ecx
cmp dword [esi + 0xbc], 1
jb 0x426e2f
cmp dword [esi + 0x98], 0
je 0x426e2f
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
mov edx, dword [esi + 0x90]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x94]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00403878
mov dword [esp + 0x28c], 0
mov ecx, dword [esi + 0x6c]
add ecx, 1
push ecx
lea edx, [esp + 0x84]
push 0
push edx
call fcn.004f4420
mov eax, dword [esi + 0xf4]
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x54]
call fcn.004b59f0
mov ecx, dword [esi + 0x78]
sub ecx, dword [esi + 0xc8]
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x7c]
add eax, ecx
add edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], edx
mov edx, dword [edi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 0x64]
add eax, dword [esp + 0x28]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0xc0]
mov dword [esp + 0x30], eax
imul ecx, edx
mov eax, dword [esi + 0x60]
imul eax, edx
mov edx, dword [esi + 0xbc]
add eax, ecx
cmp eax, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], eax
jb 0x426ac4
add edx, 0xffffffff
mov dword [esp + 0x20], edx
mov eax, edx
mov ebp, dword [esi + 0x98]
mov ebx, dword [esi + 0xac]
add ebp, ecx
cmp ebx, 0xffffffff
mov dword [esp + 0x38], ebp
je 0x426b00
cmp dword [esi + 0xb0], 0xffffffff
je 0x426b00
mov edx, dword [esi + 0x98]
add ebx, edx
mov dword [esp + 0x34], ebx
mov ebx, dword [esi + 0xb0]
add edx, ebx
mov dword [esp + 0x40], edx
xor edx, edx
jmp 0x426b0a
xor edx, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], edx
cmp ecx, eax
ja 0x426e0d
jmp 0x426b1a
mov eax, dword [esp + 0x20]
xor edx, edx
mov ecx, dword [esi + 0x6c]
mov ebx, dword [esi + 0x98]
add ecx, ebp
add eax, ebx
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jbe 0x426b38
add eax, 1
mov dword [esp + 0x3c], eax
mov ecx, eax
cmp ebp, dword [esp + 0x34]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
jb 0x426b57
cmp ebp, dword [esp + 0x40]
ja 0x426b57
lea edx, [esp + 0x80]
mov dword [esp + 0x18], edx
cmp ebp, ecx
lea ebx, [esp + 0x80]
jae 0x426bb2
cmp ebp, dword [esp + 0x34]
jne 0x426b6c
mov dword [esp + 0x18], ebx
cmp ebp, dword [esp + 0x40]
jne 0x426b88
cmp dword [esp + 0x18], 0
jne 0x426b84
lea eax, [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
movzx ecx, byte [ebp]
push ecx
call fcn.004f7ef4
add esp, 4
test eax, eax
je 0x426b9e
mov al, byte [ebp]
jmp 0x426ba0
mov al, 0x2e
mov byte [ebx], al
add ebp, 1
add ebx, 1
cmp ebp, dword [esp + 0x3c]
jb 0x426b62
mov dword [esp + 0x38], ebp
cmp dword [esp + 0x1c], 0
mov byte [ebx], 0
jne 0x426bc0
mov dword [esp + 0x1c], ebx
push 2
mov ecx, edi
call fcn.004b47e8
mov edx, dword [edi]
mov eax, dword [esi + 0xf8]
mov edx, dword [edx + 0x30]
push eax
mov ecx, edi
call edx
mov ecx, dword [esi + 0xf4]
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
push ecx
mov ecx, edi
call edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x48]
call fcn.00404133
mov byte [esp + 0x28c], 1
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
mov edx, dword [edi]
push 0x820
lea ebx, [esp + 0x28]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
mov byte [esp + 0x28c], 0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426c46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x426de7
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004bb345
cmp eax, esi
sete al
test al, al
mov byte [esp + 0x17], al
jne 0x426c7a
mov ecx, esi
call fcn.004bf70c
test al, 4
je 0x426de7
push 1
mov ecx, edi
call fcn.004b47e8
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov eax, ebx
lea ebx, [esp + 0x80]
sub eax, ebx
mov ebx, dword [esi + 0x6c]
sub ebx, dword [esp + 0x1c]
mov dword [esp + 0x64], edx
mov edx, dword [esi + 0x68]
lea ebx, [esp + ebx + 0x7f]
imul eax, edx
add eax, dword [esp + 0x24]
imul ebx, edx
mov edx, dword [esi + 0x78]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
sub ecx, ebx
mov ebx, dword [esi + 0x7c]
add edx, ebx
cmp ecx, edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], ecx
jle 0x426cdf
lea ecx, [edx + 3]
mov dword [esp + 0x60], ecx
mov bl, byte [esp + 0x17]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
add ebp, 1
add ecx, 1
test bl, bl
mov dword [esp + 0x74], eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ecx
je 0x426d0d
mov eax, dword [esi + 0x120]
jmp 0x426d13
mov eax, dword [esi + 0x118]
push eax
lea ecx, [esp + 0x7c]
call fcn.004b5f93
mov byte [esp + 0x28c], 3
test eax, eax
je 0x426d2c
mov eax, dword [eax + 4]
mov edx, dword [edi + 4]
push eax
lea ecx, [esp + 0x6c]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov byte [esp + 0x28c], 0
mov dword [esp + 0x78], vtable.CBrush.0
mov byte [esp + 0x28c], 0
lea ecx, [esp + 0x78]
call fcn.0040410b
test bl, bl
je 0x426d69
mov eax, dword [esi + 0x11c]
jmp 0x426d6f
mov eax, dword [esi + 0x114]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x30]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [esi + 0xfc]
mov edx, dword [edx + 0x2c]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.00404133
mov byte [esp + 0x28c], 5
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
mov edx, dword [edi]
push 0x820
lea ebx, [esp + 0x5c]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
mov byte [esp + 0x28c], 0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426de3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x38]
mov eax, dword [esi + 0x64]
push eax
push 0
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x4c]
add eax, dword [esi + 0x6c]
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
jbe 0x426b14
or eax, 0xffffffff
mov dword [esp + 0x28c], eax
mov dword [esp + 0x50], vtable.CBrush.0
mov dword [esp + 0x28c], eax
lea ecx, [esp + 0x50]
call fcn.0040410b
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.004f409d
add esp, 0x27c
ret 4