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

Disassembly:
sub esp, 0xac
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0xc4], ebx
je 0x41b285
mov eax, dword [esi + 0xcc]
mov dword [esi + 0xd0], 1
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ebp, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebp
mov ecx, dword [esi + 0xc4]
push 0x2710
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41b275
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [esi + 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebp
lea ecx, [esp + 0x74]
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xd4], ebx
call fcn.00424d70
lea ecx, [esp + 0x74]
mov dword [esp + 0x84], ebx
call fcn.00422ae0
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1032
push eax
call edi
cmp eax, 1
jl 0x41b329
or ebp, 0xffffffff
cmp eax, ebx
jle 0x41b329
mov ebx, eax
mov ecx, dword [esi + 0xc]
push 2
push ebp
push 0x100c
push ecx
call edi
lea edx, [esp + 0x94]
mov ebp, eax
mov eax, dword [esi + 0xc]
push edx
push 0
push 0x1005
push eax
mov dword [esp + 0xa4], 4
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], 0
call edi
mov edx, dword [esp + 0xb4]
lea ecx, [esp + 0x74]
neg eax
sbb eax, eax
and eax, edx
push eax
call fcn.0043c6f0
dec ebx
jne 0x41b2cb
xor ebx, ebx
mov ecx, dword [esi + 0xc]
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
call edi
cmp eax, 0xffffffff
jne 0x41b343
mov dword [esp + 0x14], ebx
jmp 0x41b381
lea edx, [esp + 0x94]
mov dword [esp + 0x98], eax
mov eax, dword [esi + 0xc]
push edx
push ebx
push 0x1005
push eax
mov dword [esp + 0xa4], 4
mov dword [esp + 0xac], ebx
call edi
mov ecx, dword [esp + 0xb4]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [0x4eb208]
mov edx, dword [0x4eb200]
push ecx
push edx
call fcn.00424170
mov eax, dword [esi + 0x498]
add esp, 8
cmp eax, 2
jl 0x41b3b9
push 0x403c40
push 4
push eax
mov eax, dword [esi + 0x494]
push eax
call fcn.004beb2c
add esp, 0x10
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0xc]
lea ebp, [esi + 0x4b0]
push ebp
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 8]
push ebp
mov ebp, dword [sym.imp.USER32.dll_ScreenToClient]
push eax
call ebp
mov ecx, dword [esi + 8]
lea eax, [esi + 0x4b8]
push eax
push ecx
call ebp
mov edx, dword [esi + 0xc]
push 8
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0xc]
push ebx
push ebx
push 0xb
push eax
call edi
mov ecx, dword [esi + 0xc]
push ebx
push ebx
push 0x1009
push ecx
call edi
mov edx, dword [esi + 0x498]
or eax, 0xffffffff
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0xc]
push ebx
push edx
push 0x102f
push eax
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x64], ebx
mov dword [esp + 0x30], ebx
call edi
mov eax, dword [0x4eb20c]
cmp eax, ebx
mov eax, dword [0x4eb3d0]
jne 0x41b46a
cmp eax, 4
je 0x41b45c
cmp eax, 5
jne 0x41b464
cmp dword [0x4eb47c], ebx
je 0x41b46a
mov dword [esp + 0x18], ebx
jmp 0x41b472
mov dword [esp + 0x18], 1
cmp eax, 4
je 0x41b47c
cmp eax, 5
jne 0x41b48e
mov ecx, dword [0x4eb478]
mov dword [esp + 0x1c], 1
cmp ecx, ebx
je 0x41b492
mov dword [esp + 0x1c], ebx
mov edx, dword [esi + 0x498]
xor ecx, ecx
cmp edx, ebx
mov dword [esp + 0x10], ecx
jle 0x41b57b
mov eax, edx
cmp ecx, eax
jge 0x41b4bb
cmp ecx, ebx
jl 0x41b4bb
mov edx, dword [esi + 0x494]
mov ebp, dword [edx + ecx*4]
jmp 0x41b4bd
xor ebp, ebp
mov al, byte [ebp + 0x48]
mov dword [ebp + 0x5c], 0xffffffff
test al, 2
je 0x41b4d7
cmp dword [0x4eb210], ebx
je 0x41b563
cmp dword [ebp + 0x3c], ebx
jge 0x41b4f6
mov ecx, ebp
call fcn.004247f0
test eax, eax
jne 0x41b4f2
cmp dword [ebp + 8], ebx
jne 0x41b4f2
cmp dword [esp + 0x18], ebx
jne 0x41b55f
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x41b502
cmp dword [ebp + 0x4c], ebx
je 0x41b563
cmp dword [esp + 0x1c], ebx
je 0x41b50c
cmp eax, ebx
jne 0x41b563
cmp eax, 3
jne 0x41b519
cmp dword [0x4eb214], ebx
je 0x41b563
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x50], eax
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x41b543
mov dword [esp + 0x58], 0x200
mov dword [esp + 0x5c], 0xf00
jmp 0x41b54b
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x4c]
push eax
push ebx
push 0x1007
push ecx
call edi
mov dword [ebp + 0x5c], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x498]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x41b4ac
mov eax, dword [0x4eb3d0]
cmp dword [0x4eb350], ebx
je 0x41b5e6
cmp eax, 3
jne 0x41b5e6
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [esi + 0xc]
push ebx
push ebx
push 0xb
push edx
call edi
mov ebp, 0x4eb3b8
cmp dword [ebp], 0
je 0x41b5b8
push ebx
mov ecx, esi
call fcn.0041c930
add ebp, 4
inc ebx
cmp ebp, 0x4eb3d0
jl 0x41b5aa
mov eax, dword [esi + 0xc]
push 0
push 1
push 0xb
push eax
call edi
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor ebx, ebx
mov ecx, dword [esi + 0xc]
push ebx
push ebx
push 0x1004
mov dword [esi + 0x440], ebx
push ecx
mov dword [esi + 0x434], ebx
mov dword [esi + 0x444], ebx
call edi
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x41b678
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x24]
push edx
push 0
push 0x1005
push eax
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 0
call edi
mov edx, dword [esp + 0x44]
neg eax
sbb eax, eax
and eax, edx
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x41b673
mov ecx, dword [esi + 0x434]
inc ecx
mov dword [esi + 0x434], ecx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov eax, dword [esi + 0x440]
add eax, ecx
mov dword [esi + 0x440], eax
mov eax, dword [esi + 0x444]
adc eax, edx
mov dword [esi + 0x444], eax
inc ebp
cmp ebp, ebx
jl 0x41b60d
mov eax, dword [esi + 0xc]
push 0
push 1
push 0xb
push eax
call edi
mov eax, dword [esi + 0x4b4]
mov edx, dword [esi + 0x4bc]
mov ecx, dword [esi + 0x4b0]
lea ebp, [esi + 0x4b0]
sub edx, eax
push 8
push edx
mov edx, dword [esi + 0x4b8]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0xc]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 8]
push 0
push ebp
mov ebp, dword [sym.imp.USER32.dll_InvalidateRect]
push ecx
call ebp
mov edx, dword [esi + 0xc]
push 1
push 0
push edx
call ebp
cmp dword [0x4eb3d0], 4
jne 0x41b6e9
mov eax, dword [esi + 0xc]
push 0
push 0x64
push 0x1014
push eax
call edi
mov ecx, dword [esp + 0x7c]
or ebp, 0xffffffff
xor ebx, ebx
mov dword [esp + 0x10], ebp
test ecx, ecx
jle 0x41b746
cmp ebx, ecx
jge 0x41b70b
test ebx, ebx
jl 0x41b70b
mov edx, dword [esp + 0x78]
mov eax, dword [edx + ebx*4]
jmp 0x41b70d
xor eax, eax
mov ebp, dword [eax + 0x5c]
test ebp, ebp
jl 0x41b73d
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x24]
push eax
push ebp
push 0x102b
push ecx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 2
call edi
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x10], ebp
inc ebx
cmp ebx, ecx
jl 0x41b6fe
mov ebp, dword [esp + 0x10]
mov bl, byte [esp + 0xc0]
cmp ebp, 0xffffffff
jne 0x41b759
test bl, 1
je 0x41b759
xor ebp, ebp
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41b76a
mov eax, dword [eax + 0x5c]
test eax, eax
jl 0x41b76a
mov ebp, eax
test ebp, ebp
jl 0x41b78c
mov eax, 1
lea edx, [esp + 0x24]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
push edx
push ebp
push 0x102b
push eax
call edi
test bl, 1
je 0x41b7c4
cmp dword [esp + 0x10], 0xffffffff
jne 0x41b7c4
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x24]
push ecx
push ebp
mov eax, 2
push 0x102b
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
call edi
mov eax, dword [esi + 0xc]
push ebp
push 0
push 0x1043
push eax
call edi
mov ecx, esi
call fcn.00418f50
test bl, 2
je 0x41b7de
mov ecx, dword [esi + 0xc]
push ecx
call fcn.00404c80
add esp, 4
jmp 0x41b7ec
mov edx, dword [esi + 0xc]
push 0
push ebp
push 0x1013
push edx
call edi
test bl, 4
jne 0x41b7f8
mov ecx, esi
call fcn.004204e0
lea ecx, [esp + 0x74]
call fcn.00424ec0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 4