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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5026c5
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0xb4], ebp
je 0x42063a
mov eax, dword [esi + 0xc0]
mov edx, dword [esp + 0x2a8]
mov ecx, eax
mov dword [esp + 0x2c], ebp
neg ecx
sbb ecx, ecx
mov dword [esp + 0x28], ebp
and ecx, edx
mov dword [esp + 0x2a8], ecx
je 0x41fb5f
mov eax, dword [eax + 0x88]
mov dword [esp + 0x2c], eax
mov ecx, esi
mov dword [esi + 0xc0], ebp
call fcn.0041f8a0
push 0x3fd
mov ecx, esi
call fcn.004e50d2
push 1
push 1
push 1
push 1
lea ecx, [esp + 0x74]
mov edi, eax
call fcn.004ef3c8
mov edx, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x64]
push ecx
push edx
call ebx
lea eax, [esp + 0x64]
mov ecx, edi
push eax
call fcn.004ea1e9
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.004ea1ad
push 0x3fe
mov ecx, esi
call fcn.004e50d2
push 1
push 1
push 1
push 1
lea ecx, [esp + 0x88]
mov edi, eax
call fcn.004ef3c8
mov eax, dword [edi + 0x1c]
lea edx, [esp + 0x78]
push edx
push eax
call ebx
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
call fcn.004ea1e9
lea edx, [esp + 0x78]
mov ecx, esi
push edx
call fcn.004ea1ad
mov eax, dword [esi + 0xb4]
add eax, 0x18
mov edx, dword [eax + 4]
cmp edx, ebp
jne 0x41fc0d
xor ebp, ebp
jmp 0x41fc27
mov ecx, dword [eax + 8]
mov eax, 0x92492493
sub ecx, edx
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebp, edx
mov ecx, dword [esi + 0xb8]
mov eax, ebp
xor edx, edx
div ecx
mov edx, eax
mov dword [esi + 0xe4], eax
imul edx, ecx
cmp edx, ebp
jne 0x41fc49
dec eax
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0xe4]
xor edi, edi
cmp eax, edi
jg 0x41fc5f
mov dword [esi + 0xe4], 1
mov eax, dword [esi + 0xe4]
mov ecx, dword [esi + 0xe0]
cmp ecx, eax
jl 0x41fc76
dec eax
mov dword [esi + 0xe0], eax
mov ecx, esi
call fcn.00421750
mov eax, dword [esi + 0xb8]
mov ecx, eax
imul ecx, dword [esi + 0xe0]
sub ebp, ecx
mov dword [esp + 0x10], ebp
je 0x42063a
mov ebx, eax
mov dword [esp + 0x48], ebx
lea eax, [ebx + ebx]
cmp ebp, eax
jbe 0x41fcab
mov ebp, eax
mov dword [esp + 0x10], ebp
call fcn.00436d40
cmp ebx, 0x20
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
jbe 0x41fcca
mov ebx, 0x20
mov dword [esp + 0x48], ebx
cmp dword [esi + 0xe4], 1
jle 0x41fd97
mov edi, ebx
imul edi, dword [esi + 0xe0]
lea edx, [edi + ebp]
cmp edi, edx
jae 0x41fe28
lea eax, [esp + 0x218]
lea ecx, [esp + 0x198]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0xb8]
cmp edx, eax
jae 0x41fd23
mov eax, dword [esp + 0x10]
inc edx
mov dword [esp + 0x18], edx
mov dword [eax], edi
add eax, 4
mov dword [esp + 0x10], eax
jmp 0x41fd39
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
inc edx
mov dword [eax], edi
add eax, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2a8]
test eax, eax
je 0x41fd7e
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x41fd7e
mov ecx, dword [esi + 0xb4]
lea eax, [esp + 0x9c]
push edi
push eax
call fcn.0041efa0
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp eax, edx
sete cl
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x9c]
call fcn.0041af70
mov edx, ebx
inc edi
imul edx, dword [esi + 0xe0]
add edx, ebp
cmp edi, edx
jb 0x41fd01
jmp 0x41fe28
xor edi, edi
test ebp, ebp
jbe 0x41fe28
lea ebx, [esp + 0x218]
lea ebp, [esp + 0x198]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xb8]
cmp eax, ecx
jae 0x41fdcc
mov ecx, eax
mov dword [ebp], edi
inc ecx
add ebp, 4
mov dword [esp + 0x18], ecx
jmp 0x41fdda
mov ecx, dword [esp + 0x20]
mov dword [ebx], edi
inc ecx
add ebx, 4
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x2a8]
test eax, eax
je 0x41fe1f
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x41fe1f
lea ecx, [esp + 0x9c]
push edi
push ecx
mov ecx, dword [esi + 0xb4]
call fcn.0041efa0
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x2c]
xor edx, edx
cmp eax, ecx
sete dl
lea ecx, [esp + 0x9c]
mov dword [esp + 0x28], edx
call fcn.0041af70
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jb 0x41fdaf
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x198]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
cmp eax, 1
mov dword [esp + 0x58], ecx
mov dword [esp + 0x1c], edx
jne 0x41fe9d
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x218]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], ecx
fld qword [0x54b790]
fmul qword [0x50e7c0]
call fcn.004b0f30
sub edi, ebp
mov ebx, eax
mov eax, edi
mov edi, dword [esp + 0x48]
mov ecx, ebx
xor edx, edx
imul ecx, edi
sub eax, ecx
mov ecx, dword [esp + 0x1c]
div edi
test ecx, ecx
mov dword [esp + 0x40], 0
jbe 0x420628
add eax, ebx
mov dword [esp + 0x60], eax
push 0xb38
call fcn.004e1a0a
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x2a0], 0
je 0x41ff08
mov ecx, eax
call fcn.0041bb00
mov edi, eax
jmp 0x41ff0a
xor edi, edi
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
mov dword [edi + 0xb34], 3
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x54]
mov eax, edx
mov dword [esp + 0x2a0], 0xffffffff
imul eax, ecx
add eax, ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x8c], eax
add edx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], edx
mov ebp, dword [eax + ecx*4]
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x41ff78
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4200e6
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x4200e3
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x41ffa9
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004e974b
test eax, eax
mov dword [esp + 0x14], eax
je 0x41ffb4
mov eax, dword [eax + 4]
push eax
lea ebx, [esi + 0x60]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call fcn.004e9760
test eax, eax
je 0x4200e6
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esp + 0x38]
sub ecx, ebx
push eax
mov eax, dword [edx + 4]
push ecx
push eax
lea ebx, [esi + 0x70]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.004eaa47
test eax, eax
je 0x4200e6
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x42001e
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x1c]
mov edx, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
test ebx, ebx
je 0x420025
mov ebx, dword [ebx + 4]
mov ecx, dword [esi + 0x64]
push ebx
push ecx
call fcn.004e98d9
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004e1f6d
mov ebx, eax
test ebx, ebx
je 0x42005d
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004ea1e9
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.004ea1ad
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4200d5
push 0
push 0
push 0
push 0
lea ecx, [esp + 0xac]
call fcn.00404fd0
lea ebx, [esi + 0x78]
push eax
push ebx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x4200a4
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
jmp 0x4200b0
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 0xcc0020
push ecx
push edx
mov edx, dword [esi + 0x5c]
sub ebx, ecx
push edx
push ebx
mov ebx, dword [esp + 0x44]
lea ecx, [esi + 0x60]
sub eax, ebx
push eax
push 0
push 0
call fcn.00405080
mov edx, dword [esi]
lea eax, [esi + 0x60]
push eax
mov ecx, esi
call dword [edx + 0xd0]
lea eax, [esi + 0x60]
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x44]
test eax, eax
je 0x420107
lea ecx, [edi + 0x40]
call fcn.004e97c8
mov eax, dword [edi + 0x54]
test eax, eax
je 0x420107
lea ecx, [edi + 0x50]
call fcn.004eaa9e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc4]
mov ecx, dword [edi + 0xab0]
mov eax, 1
cmp ecx, eax
je 0x42014c
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0xab0], eax
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42014c
mov edx, dword [edi + 0x1c]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 2
mov ecx, edi
call fcn.0041ccb0
lea ecx, [esp + 0x128]
push ebp
push ecx
mov ecx, dword [esi + 0xb4]
call fcn.0041efa0
lea edx, [esp + 0x74]
mov ecx, eax
push edx
mov dword [esp + 0x2a4], 1
call fcn.00407140
mov eax, dword [eax]
push 0
lea ecx, [esp + 0x8c]
push esi
push ecx
push 0x50010000
push eax
mov ecx, edi
mov byte [esp + 0x2b4], 2
call fcn.004ee878
lea ecx, [esp + 0x74]
mov byte [esp + 0x2a0], 1
call fcn.004e1339
lea ecx, [esp + 0x128]
mov dword [esp + 0x2a0], 0xffffffff
call fcn.0041af70
mov ecx, dword [esi + 0xb4]
lea edx, [esp + 0xf0]
push ebp
push edx
call fcn.0041efa0
mov ecx, dword [eax + 4]
cmp ecx, 0xf00000
lea ecx, [esp + 0xf0]
setae bl
call fcn.0041af70
test bl, bl
push ebp
je 0x420247
mov ecx, dword [esi + 0xb4]
lea eax, [esp + 0x164]
push eax
call fcn.0041efa0
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x4c]
or ebx, 0xffffffff
mov dword [esp + 0x2a0], 3
push ebx
push eax
call fcn.00438cb0
push eax
mov ecx, edi
call fcn.0041dea0
lea ecx, [esp + 0x160]
mov dword [esp + 0x2a0], ebx
call fcn.0041af70
jmp 0x42028e
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [esi + 0xb4]
call fcn.0041efa0
mov eax, dword [eax + 0x14]
push 0
push 0xffffffffffffffff
push eax
mov ecx, edi
mov dword [esp + 0x2ac], 4
call fcn.0041c020
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2a0], 0xffffffff
call fcn.0041af70
or ebx, 0xffffffff
mov ecx, dword [esi + 0xb4]
lea edx, [esp + 0x17c]
push ebp
push edx
call fcn.0041efa0
mov eax, dword [eax + 4]
mov ecx, edi
push eax
push 0x8012
push 0x8011
push 0x8010
mov dword [esp + 0x2b0], 5
call fcn.0041d820
lea ecx, [esp + 0x17c]
mov dword [esp + 0x2a0], ebx
call fcn.0041af70
mov ecx, dword [esi + 0xb4]
lea eax, [esp + 0xd4]
push ebp
push eax
call fcn.0041efa0
push ecx
mov dword [esp + 0x2a4], 6
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, eax
call fcn.00407160
mov ecx, edi
call fcn.004070c0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x2a0], ebx
call fcn.0041af70
mov ecx, dword [esi + 0xb4]
lea edx, [esp + 0x10c]
push ebp
push edx
call fcn.0041efa0
push ecx
mov dword [esp + 0x2a4], 7
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, eax
call fcn.004206b0
mov ecx, edi
call fcn.00420660
lea ecx, [esp + 0x10c]
mov dword [esp + 0x2a0], ebx
call fcn.0041af70
mov ecx, edi
call fcn.0041d560
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
call fcn.004eaa32
push eax
mov ecx, edi
call fcn.0041d280
push 0xffffff
push 0xf7dfd6
mov ecx, edi
mov dword [edi + 0x8c], 1
call fcn.0041d260
mov eax, dword [esp + 0x2a8]
test eax, eax
je 0x4203e3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4203e3
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0x88]
cmp ecx, eax
push 1
mov ecx, edi
jne 0x4203de
call fcn.0041d870
mov dword [esi + 0xc0], edi
jmp 0x4203e3
call fcn.0041d8c0
push 0x50
call fcn.004e1a0a
add esp, 4
lea ecx, [esp + 0x144]
mov ebx, eax
push ebp
push ecx
mov ecx, dword [esi + 0xb4]
call fcn.0041efa0
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x4c]
push 0x14
push eax
push ebx
mov dword [esp + 0x2ac], 8
call fcn.00437cb0
lea ecx, [esp + 0x144]
mov ebp, eax
mov dword [esp + 0x2a0], 0xffffffff
call fcn.0041af70
push ebx
call fcn.004e1a33
add esp, 4
test ebp, ebp
jg 0x42044d
push 0
mov ecx, edi
call fcn.0041cc70
mov ebp, dword [esi + 0xac]
mov edx, dword [esi + 0xb0]
sub edx, ebp
mov ebx, ebp
sar edx, 2
cmp edx, 1
mov dword [esp + 0x24], ebx
jae 0x420547
mov ecx, dword [esi + 0xa8]
test ecx, ecx
je 0x420483
mov eax, ebp
sub eax, ecx
sar eax, 2
cmp eax, 1
ja 0x420488
mov eax, 1
test ecx, ecx
jne 0x420490
xor ebp, ebp
jmp 0x420495
sub ebp, ecx
sar ebp, 2
add eax, ebp
test eax, eax
mov dword [esp + 0x14], eax
jge 0x4204a1
xor eax, eax
shl eax, 2
push eax
call fcn.004e1a0a
mov ecx, dword [esi + 0xa8]
add esp, 4
cmp ecx, ebx
mov ebp, eax
je 0x4204cb
test eax, eax
je 0x4204c1
mov edx, dword [ecx]
mov dword [eax], edx
add ecx, 4
add eax, 4
cmp ecx, ebx
jne 0x4204b9
test eax, eax
je 0x4204d1
mov dword [eax], edi
mov edx, dword [esi + 0xac]
lea ecx, [eax + 4]
cmp ebx, edx
je 0x4204f8
mov edi, ecx
sub edi, eax
lea eax, [edi + ebx - 4]
test ecx, ecx
je 0x4204ee
mov edi, dword [eax]
mov dword [ecx], edi
add eax, 4
add ecx, 4
cmp eax, edx
jne 0x4204e6
mov eax, dword [esi + 0xa8]
push eax
mov dword [esp + 0x28], eax
call fcn.004e1a33
mov eax, dword [esp + 0x18]
add esp, 4
lea ecx, [ebp + eax*4]
mov dword [esi + 0xb0], ecx
mov ecx, dword [esi + 0xa8]
test ecx, ecx
jne 0x420527
xor eax, eax
jmp 0x420532
mov eax, dword [esi + 0xac]
sub eax, ecx
sar eax, 2
lea edx, [ebp + eax*4 + 4]
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], edx
jmp 0x420613
mov eax, ebp
sub eax, ebx
sar eax, 2
cmp eax, 1
jae 0x4205a8
cmp ebx, ebp
lea eax, [ebx + 4]
je 0x42056f
lea ecx, [eax - 4]
test eax, eax
je 0x420565
mov edx, dword [ecx]
mov dword [eax], edx
add ecx, 4
add eax, 4
cmp ecx, ebp
jne 0x42055d
mov ecx, dword [esi + 0xac]
mov eax, 1
mov edx, ecx
sub edx, ebx
sar edx, 2
sub eax, edx
je 0x420591
test ecx, ecx
je 0x42058b
mov dword [ecx], edi
add ecx, 4
dec eax
jne 0x420585
mov ecx, dword [esi + 0xac]
mov eax, ebx
cmp ebx, ecx
je 0x42060c
mov dword [eax], edi
add eax, 4
cmp eax, ecx
jne 0x42059d
jmp 0x42060c
lea ebx, [ebp - 4]
mov dword [esp + 0x14], ebp
cmp ebx, ebp
mov dword [esp + 0x98], ebx
je 0x4205da
mov eax, dword [esp + 0x14]
push ebx
push eax
call fcn.00422300
mov edx, dword [esp + 0x1c]
add ebx, 4
add esp, 8
add edx, 4
cmp ebx, ebp
mov dword [esp + 0x14], edx
jne 0x4205ba
mov ecx, dword [esi + 0xac]
mov edx, dword [esp + 0x24]
lea eax, [ecx - 4]
cmp edx, eax
je 0x4205fa
mov ebx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edx
mov dword [ecx], ebx
jne 0x4205eb
lea ecx, [edx + 4]
mov eax, edx
cmp edx, ecx
je 0x42060c
mov dword [eax], edi
add eax, 4
cmp eax, ecx
jne 0x420603
add dword [esi + 0xac], 4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x40], eax
jb 0x41fedd
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 2
mov dword [esp + 0x10], eax
jb 0x41fe30
mov ecx, dword [esp + 0x298]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x294
ret 4