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

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x7f02
mov ebp, ecx
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, ebp
mov dword [esp + 0x74], eax
call fcn.0041a530
cmp dword [ebp + 0x2a4], esi
je 0x41964b
mov ecx, ebp
call fcn.00412dd0
mov eax, dword [ebp + 4]
push 3
push eax
mov dword [ebp + 0x2b8], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esp + 0x2c]
call fcn.0041e310
lea ecx, [ebp + 0x1a4]
push 1
lea edx, [ebp + 0xa4]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0041e410
test eax, eax
jne 0x4196a4
mov ecx, ebp
call fcn.0040e710
lea ecx, [esp + 0x2c]
call fcn.0041e3a0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
push esi
push esi
mov dword [esp + 0x44], esi
call fcn.0041d730
mov eax, dword [esp + 0x3c]
add esp, 8
cmp eax, 2
jl 0x4196d4
push 0x4035d0
push 4
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.004986d0
mov eax, dword [esp + 0x44]
add esp, 0x10
push eax
call fcn.004985f0
mov ecx, dword [esp + 0x38]
mov edi, eax
mov edx, ecx
mov eax, 0x1010101
shr ecx, 2
mov dword [esp + 0x24], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
push 0x80
and ecx, 3
rep stosb byte es:[edi], al
call fcn.004985f0
mov edi, dword [ebp + 0x484]
add esp, 4
dec edi
mov dword [esp + 0x5c], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], 0x1f
mov dword [esp + 0x10], edi
js 0x41988d
cmp edi, dword [ebp + 0x484]
jge 0x419745
test edi, edi
jl 0x419745
mov eax, dword [ebp + 0x480]
mov ebx, dword [eax + edi*4]
jmp 0x419747
xor ebx, ebx
test ebx, ebx
mov dword [esp + 0x1c], ebx
je 0x41977a
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 0x4035d0
push 4
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00499230
add esp, 0x14
test eax, eax
je 0x41977a
sub eax, dword [esp + 0x30]
sar eax, 2
jmp 0x41977d
or eax, 0xffffffff
test eax, eax
mov dword [esp + 0x14], eax
jl 0x419f47
cmp eax, dword [esp + 0x34]
jge 0x419798
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + eax*4]
jmp 0x41979a
xor ecx, ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov byte [eax + edx], 0
mov eax, dword [ecx + 0x1c]
cmp dword [ebx + 0x1c], eax
jne 0x4197d1
mov edx, dword [ebx + 0x3c]
mov esi, dword [ecx + 0x3c]
cmp edx, esi
jne 0x4197d1
mov edx, dword [esp + 0x18]
mov ecx, 8
lea esi, [ebx + 0x34]
lea edi, [edx + 0x34]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x419878
mov edi, dword [esp + 0x18]
mov esi, dword [ebx + 0x54]
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x3c]
mov dword [ebx + 0x3c], eax
mov ecx, dword [edi + 0x34]
mov dword [ebx + 0x34], ecx
mov edx, dword [edi + 0x38]
test esi, esi
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x30], 0xfffffffe
je 0x419808
mov ecx, esi
call fcn.00448210
push esi
call fcn.00498600
add esp, 4
mov ecx, ebp
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x4c], 0xffffffff
call fcn.00413740
mov esi, dword [esp + 0x24]
xor ecx, ecx
cmp ebx, eax
push ebx
sete cl
or esi, ecx
mov ecx, ebp
mov dword [esp + 0x28], esi
call fcn.00417300
mov eax, dword [ebx + 0x50]
cmp eax, 0xffffffff
jle 0x419853
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push eax
push 0x1015
push edx
call esi
jmp 0x41987e
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
test edi, edi
mov byte [esi + eax], 0xff
je 0x41986b
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
cmp esi, dword [esp + 0x34]
jge 0x419878
mov eax, dword [esp + 0x30]
mov dword [eax + esi*4], ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x10]
dec edi
mov dword [esp + 0x10], edi
jns 0x41972e
mov eax, dword [esp + 0x34]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jle 0x419994
mov edx, dword [esp + 0x20]
cmp byte [edi + edx], 0
je 0x419983
cmp edi, eax
jge 0x4198be
test edi, edi
jl 0x4198be
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + edi*4]
jmp 0x4198c0
xor ebx, ebx
push ebx
mov ecx, ebp
call fcn.00417300
mov ecx, dword [esp + 0x20]
cmp byte [edi + ecx], 1
jne 0x419983
test ebx, ebx
je 0x419983
mov eax, dword [ebp + 0x488]
mov ecx, dword [ebp + 0x484]
lea edx, [eax + 1]
cmp ecx, edx
jne 0x419967
mov ecx, dword [ebp + 0x490]
add ecx, eax
lea edx, [ecx*4 + 4]
push edx
call fcn.004985f0
mov ecx, dword [ebp + 0x488]
mov esi, dword [ebp + 0x480]
mov edi, eax
add esp, 4
lea ecx, [ecx*4 + 4]
mov dword [esp + 0x1c], eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x480]
push eax
call fcn.00498600
mov edx, dword [ebp + 0x490]
mov eax, dword [ebp + 0x488]
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x14]
add esp, 4
add eax, edx
mov dword [ebp + 0x480], ecx
mov dword [ebp + 0x488], eax
mov eax, dword [ebp + 0x484]
mov ecx, dword [ebp + 0x480]
mov dword [ecx + eax*4], ebx
mov eax, dword [ebp + 0x484]
inc eax
mov dword [ebp + 0x484], eax
mov eax, dword [esp + 0x34]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edi
jl 0x41989f
mov ecx, ebp
call fcn.00412c70
push 0
mov ecx, ebp
call fcn.0041a450
mov edi, dword [esp + 0x5c]
cmp edi, 2
jl 0x4199c2
mov edx, dword [esp + 0x58]
push 0x41c480
push 4
push edi
push edx
call fcn.004986d0
add esp, 0x10
dec edi
test edi, edi
jl 0x4199f6
mov eax, dword [esp + 0x58]
lea ebx, [eax + edi*4]
cmp edi, dword [esp + 0x5c]
jge 0x4199dc
test edi, edi
jl 0x4199dc
mov eax, dword [ebx]
jmp 0x4199de
xor eax, eax
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push 0
push ecx
push 0x1008
push edx
call esi
dec edi
sub ebx, 4
test edi, edi
jge 0x4199ce
mov eax, dword [ebp + 8]
mov edi, 1
or ebx, 0xffffffff
push edi
push ebx
push 0x100c
push eax
mov dword [esp + 0x28], 0
call esi
mov ecx, dword [0x4ca934]
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
cmp ecx, eax
mov eax, dword [0x4caaf4]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x94], ebx
jne 0x419a5e
cmp eax, 4
jne 0x419a54
mov ecx, dword [0x4cab98]
test ecx, ecx
je 0x419a5e
mov dword [esp + 0x28], 0
jmp 0x419a62
mov dword [esp + 0x28], edi
cmp eax, 4
jne 0x419a74
mov eax, dword [0x4cab94]
mov dword [esp + 0x50], edi
test eax, eax
je 0x419a7c
mov dword [esp + 0x50], 0
mov eax, dword [0x4cab8c]
mov ecx, dword [0x4ca930]
mov edx, dword [0x4ca928]
push ecx
neg eax
sbb eax, eax
push edx
and eax, 2
mov dword [esp + 0x54], eax
call fcn.0041d730
mov ecx, dword [0x4cab90]
add esp, 8
test ecx, ecx
jne 0x419ab3
mov eax, dword [esp + 0x34]
dec eax
jmp 0x419ab5
xor eax, eax
test ecx, ecx
mov edx, ebx
je 0x419abf
mov edx, dword [esp + 0x34]
neg ecx
sbb ecx, ecx
mov edi, eax
and ecx, 2
mov dword [esp + 0x1c], edx
dec ecx
cmp eax, edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x10], edi
je 0x419d60
cmp edi, dword [esp + 0x34]
jge 0x419af0
test edi, edi
jl 0x419af0
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + edi*4]
jmp 0x419af2
xor ebx, ebx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
cmp byte [edi + edx], 0
je 0x419d4a
cmp dword [ebx + 0x50], 0xffffffff
jne 0x419d4a
mov eax, dword [esp + 0x28]
test eax, eax
je 0x419b50
mov eax, dword [ebx + 0x30]
test eax, eax
jl 0x419b50
mov eax, dword [ebx + 0x5c]
lea ecx, [esp + 0xc8]
push eax
call fcn.00443dd0
lea ecx, [esp + 0xc8]
call fcn.00444a10
test eax, eax
jne 0x419b44
mov dword [ebx + 0x30], 0xffffffff
lea ecx, [esp + 0xc8]
call fcn.00443ff0
test byte [ebx + 0x3c], 2
je 0x419b63
mov eax, dword [0x4ca938]
test eax, eax
je 0x419d4a
mov eax, dword [ebx + 0x30]
test eax, eax
jge 0x419b88
mov ecx, ebx
call fcn.0041dce0
test eax, eax
jne 0x419b88
mov eax, dword [ebx + 4]
test eax, eax
jne 0x419b88
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x419d4a
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x419b9a
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x419d4a
mov eax, dword [esp + 0x50]
test eax, eax
je 0x419baa
test ecx, ecx
jne 0x419d4a
mov eax, dword [0x4cab90]
sub eax, 0
je 0x419c5b
dec eax
je 0x419c01
dec eax
jne 0x419c9b
mov ecx, dword [ebp + 8]
push 0
push 0
push 0x1004
push ecx
call esi
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x419c93
push edi
mov ecx, ebp
call fcn.004136f0
mov ecx, dword [esp + 0x14]
push eax
call fcn.0041d400
test eax, eax
jne 0x419c93
inc edi
cmp edi, ebx
jl 0x419bdd
jmp 0x419c93
push 0
cmp ecx, 1
push 0
push 0x1004
jne 0x419c33
mov edx, dword [ebp + 8]
push edx
call esi
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x419c97
push edi
mov ecx, ebp
call fcn.004136f0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x419c93
inc edi
cmp edi, ebx
jl 0x419c1d
jmp 0x419c97
mov eax, dword [ebp + 8]
push eax
call esi
lea edi, [eax - 1]
mov dword [esp + 0x7c], eax
test edi, edi
jl 0x419c9b
push edi
mov ecx, ebp
call fcn.004136f0
cmp dword [eax + 4], 3
jne 0x419c9b
mov dword [esp + 0x7c], edi
dec edi
jns 0x419c44
jmp 0x419c9b
cmp ecx, 1
jne 0x419c66
mov dword [esp + 0x7c], ecx
jmp 0x419c9b
mov ecx, dword [ebp + 8]
push 0
push 0
push 0x1004
push ecx
call esi
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x419c97
push edi
mov ecx, ebp
call fcn.004136f0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x419c93
inc edi
cmp edi, ebx
jl 0x419c7d
jmp 0x419c97
mov dword [esp + 0x7c], edi
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x419cee
mov eax, dword [0x4cab8c]
test eax, eax
je 0x419cee
or edi, 0xffffffff
mov edx, dword [ebp + 8]
push 2
push edi
push 0x100c
push edx
call esi
mov ecx, dword [ebp + 8]
mov edi, eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xb0], 2
push eax
push edi
push 0x102b
push ecx
mov dword [esp + 0xbc], 0
call esi
cmp edi, 0xffffffff
jne 0x419caf
mov dword [esp + 0x98], ebx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x419d17
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x88], 0xf02
or dh, 2
mov dword [esp + 0x84], edx
jmp 0x419d2d
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x88], 2
mov dword [esp + 0x84], eax
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x78]
push ecx
push 0
push 0x1007
push edx
call esi
mov edi, dword [esp + 0x10]
mov dword [ebx + 0x50], eax
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x1c]
add edi, ecx
cmp edi, eax
mov dword [esp + 0x10], edi
jne 0x419add
mov eax, dword [ebp + 8]
push 0
push 0
push 0x1004
push eax
call esi
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x419d87
push edi
mov ecx, ebp
call fcn.004136f0
mov dword [eax + 0x50], edi
inc edi
cmp edi, ebx
jl 0x419d77
mov eax, dword [0x4cab8c]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x419de4
test ebx, ebx
je 0x419de4
mov edx, dword [ebx + 0x50]
mov eax, 1
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], eax
mov eax, dword [ebp + 8]
push ecx
push edx
push 0x102b
push eax
call esi
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebp + 8]
push 0
push ecx
push 0x1013
push edx
call esi
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebp + 8]
push eax
push 0
push 0x1043
push ecx
call esi
mov edx, dword [ebp + 8]
mov edi, 2
push edi
push 0xffffffffffffffff
push 0x100c
push edx
call esi
cmp eax, 0xffffffff
jne 0x419e2d
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xa0]
push eax
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], edi
call esi
mov edx, dword [ebp + 8]
push eax
push 0x102b
push edx
call esi
mov eax, dword [0x4caa74]
test eax, eax
je 0x419e3d
mov ecx, ebp
call fcn.00417530
mov ecx, ebp
call fcn.004164b0
push 0
mov ecx, ebp
call fcn.004151a0
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
xor edi, edi
test eax, eax
jle 0x419e87
cmp byte [edi + esi], 0
jne 0x419e82
cmp edi, eax
jge 0x419e72
test edi, edi
jl 0x419e72
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + edi*4]
jmp 0x419e74
xor ecx, ecx
test ecx, ecx
je 0x419e82
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x34]
inc edi
cmp edi, eax
jl 0x419e5b
push esi
call fcn.00498600
add esp, 4
test ebx, ebx
je 0x419ec0
mov eax, dword [0x4caaf4]
cmp eax, 2
je 0x419ec0
cmp eax, 3
je 0x419ec0
cmp dword [0x4cab90], 2
je 0x419eb5
mov eax, dword [0x4ca93c]
test eax, eax
je 0x419ec0
push 0
push 1
mov ecx, ebp
call fcn.00416160
push 0
mov ecx, ebp
call fcn.0041a4c0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x419eda
push 1
mov ecx, ebp
call fcn.0040f0b0
mov ecx, ebp
call fcn.0041a5b0
mov eax, dword [esp + 0x74]
xor edi, edi
push eax
mov dword [ebp + 0x4bc], edi
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [esp + 0x5c], edi
jle 0x419f21
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
cmp edi, esi
jge 0x419f0e
test edi, edi
jl 0x419f0e
mov eax, dword [ebx]
jmp 0x419f10
xor eax, eax
push eax
call fcn.00498600
add esp, 4
inc edi
add ebx, 4
cmp edi, esi
jl 0x419efe
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00498600
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.0041e3a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x114
ret
cmp dword [ebx + 4], 3
je 0x419882
mov ecx, ebp
call fcn.00413740
mov edx, dword [esp + 0x24]
xor ecx, ecx
cmp ebx, eax
sete cl
or edx, ecx
mov ecx, dword [ebp + 0x6dc]
test ecx, ecx
mov dword [esp + 0x24], edx
je 0x419f7e
mov edx, dword [ebx + 0x5c]
push 0
push edx
call fcn.00423050
mov eax, dword [ebx + 0x50]
test eax, eax
jl 0x41a013
push 4
call fcn.004985f0
add esp, 4
test eax, eax
je 0x419fa2
mov ecx, dword [ebx + 0x50]
mov dword [esp + 0x18], eax
mov dword [eax], ecx
jmp 0x419faa
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41a013
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
lea esi, [edx + 1]
cmp eax, esi
jne 0x419fff
mov ebx, edx
lea eax, [ebx*4 + 0x104]
push eax
call fcn.004985f0
mov edi, eax
mov eax, dword [esp + 0x5c]
add esp, 4
mov ecx, esi
mov esi, eax
mov dword [esp + 0x1c], edi
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00498600
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
add esp, 4
add ebx, 0x40
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], ebx
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
mov dword [edx + eax*4], ecx
inc eax
mov dword [esp + 0x5c], eax
test edi, edi
jl 0x419878
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x484]
cmp edx, eax
jge 0x419878
mov eax, dword [ebp + 0x48c]
test eax, eax
je 0x41a04e
mov eax, dword [ebp + 0x480]
mov edi, edx
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x41a052
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x41a052
mov edi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x484]
mov eax, edi
dec ecx
cmp edi, ecx
jge 0x41a078
mov ecx, dword [ebp + 0x480]
inc eax
mov edx, dword [ecx + eax*4]
mov dword [ecx + eax*4 - 4], edx
mov ecx, dword [ebp + 0x484]
dec ecx
cmp eax, ecx
jl 0x41a05f
mov eax, dword [ebp + 0x484]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
dec eax
mov dword [ebp + 0x484], eax
jmp 0x419882