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

Disassembly:
mov eax, dword [0x497b6c]
mov ecx, dword [eax + 0x10]
sub esp, 0xb8
push ebx
push ebp
mov ebp, dword [0x47829c]
push esi
push edi
push 1
push 0x202
push 0x202
push ecx
lea edx, [esp + 0xbc]
push edx
call ebp
xor ebx, ebx
test eax, eax
je 0x4212b1
mov dword [0x541430], ebx
mov dword [0x540998], ebx
mov eax, dword [0x497b6c]
mov ecx, dword [eax + 0x10]
push 1
push 0x205
push 0x205
push ecx
lea edx, [esp + 0xbc]
push edx
call ebp
test eax, eax
je 0x4212e0
mov dword [0x541430], ebx
mov dword [0x540998], ebx
mov eax, dword [0x497b6c]
mov ecx, dword [eax + 0x10]
push 1
push 0x208
push 0x208
push ecx
lea edx, [esp + 0xbc]
push edx
call ebp
test eax, eax
je 0x42130f
mov dword [0x541430], ebx
mov dword [0x540998], ebx
cmp dword [0x68d8a4], 0xffffffff
mov edi, dword [0x4783b0]
jne 0x421325
call edi
mov dword [0x68d8a4], eax
mov eax, dword [0x497b6c]
push eax
mov dword [esp + 0x1c], 0xfffffffe
call fcn.004027b0
mov eax, 0x538798
call fcn.00454390
mov ecx, dword [0x497b6c]
push 0x538798
push ebx
push 1
xor edx, edx
call fcn.0045cc30
mov byte [esp + 0x17], 1
mov dword [0x58cae8], ebx
mov dword [0x58caec], ebx
mov dword [0x52b85c], ebx
mov dword [0x58caf0], ebx
call edi
mov dword [esp + 0x40], eax
lea ebx, [ebx]
mov esi, dword [0x497b6c]
push 1
push 0
push 0
push 0
lea ecx, [esp + 0xa0]
push ecx
call ebp
test eax, eax
je 0x4213d4
mov eax, dword [0x497c78]
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x90]
push edx
push eax
push ecx
call dword [0x4782a4]
test eax, eax
jne 0x4213c6
lea edx, [esp + 0x90]
push edx
call dword [0x478288]
lea eax, [esp + 0x90]
push eax
call dword [0x4782ac]
cmp dword [0x58ce54], 0
jne 0x421ed6
cmp dword [0x58ce64], 0
jne 0x421ed6
cmp byte [esp + 0x17], 0
je 0x421415
call edi
mov ecx, dword [esp + 0x40]
mov edx, eax
sub edx, ecx
cmp edx, 0x3e8
jbe 0x421415
cmp eax, ecx
jb 0x421415
call fcn.00425940
mov byte [esp + 0x17], 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
push ecx
call sym.nscr.exe_NScrGetMouse
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
add esp, 8
push edx
push eax
push 0x68d8a0
call fcn.00420670
mov ebp, eax
cmp dword [esp + 0x18], ebp
je 0x4214d6
xor edi, edi
cmp dword [0x68d8a8], edi
jle 0x42148b
mov esi, 0x68d8d4
cmp ebp, edi
jne 0x421468
cmp dword [esi + 0x14], 0x10
jb 0x421464
mov eax, dword [esi]
jmp 0x421476
mov eax, esi
jmp 0x421476
cmp dword [esi - 8], 0x10
jb 0x421473
mov eax, dword [esi - 0x1c]
jmp 0x421476
lea eax, [esi - 0x1c]
push eax
call fcn.0044f560
inc edi
add esp, 4
add esi, 0x58
cmp edi, dword [0x68d8a8]
jl 0x421456
cmp ebp, 0xffffffff
jne 0x4214ac
cmp dword [0x6930c8], 0x10
mov eax, dword [0x6930b4]
jae 0x4214a3
mov eax, 0x6930b4
push eax
call fcn.0044f560
add esp, 4
mov eax, 0x538798
mov dword [esp + 0x18], ebp
call fcn.00454390
mov ecx, dword [0x497b6c]
push 0x538798
push 0
push 1
xor edx, edx
call fcn.0045cc30
mov edi, dword [0x4783b0]
cmp byte [0x68d8ae], 0
je 0x421510
call dword [0x4782b0]
mov ecx, dword [0x497b6c]
cmp eax, dword [ecx + 0x10]
je 0x4214f6
xor esi, esi
xor eax, eax
jmp 0x421503
push 1
call dword [0x4782c8]
movzx eax, ax
xor esi, esi
test eax, 0x8000
jne 0x421b2c
jmp 0x421512
xor esi, esi
cmp dword [0x58cae8], esi
jne 0x421b26
cmp dword [0x58caec], esi
jne 0x421bc3
cmp dword [0x58caf0], esi
jne 0x421bf9
mov eax, dword [0x52b85c]
cmp eax, esi
jl 0x421c2f
jg 0x421c65
cmp dword [0x68d8a0], 0xffffffff
je 0x421589
call edi
mov ecx, dword [0x68d8a4]
mov edx, dword [0x68d8a0]
add edx, ecx
cmp eax, edx
ja 0x42156a
cmp ecx, eax
jbe 0x421589
cmp byte [0x68d8ac], 0
je 0x421c90
push esi
call dword [0x5523e8]
add esp, 4
test al, al
je 0x421c90
cmp dword [0x540998], esi
jne 0x421cb5
cmp dword [0x541430], esi
jne 0x421ce0
mov dword [esp + 0x48], 0x47c1c0
mov dword [esp + 0x4c], 0x47c1c8
mov dword [esp + 0x50], 0x47c1cc
mov dword [esp + 0x54], 0x47c1d0
mov dword [esp + 0x58], 0x47c1d4
mov dword [esp + 0x5c], 0x47c1d8
mov dword [esp + 0x60], 0x47c1dc
mov dword [esp + 0x64], 0x47c1e0
mov dword [esp + 0x68], 0x47c1e4
mov dword [esp + 0x6c], 0x47c1e8
mov dword [esp + 0x70], 0x47c1ec
mov dword [esp + 0x74], 0x47c1f0
mov dword [esp + 0x78], 0x47c1f4
mov dword [esp + 0x7c], 0x47c1f8
mov dword [esp + 0x80], 0x47c200
mov dword [esp + 0x84], 0x47c20c
mov dword [esp + 0x88], 0x47c214
mov dword [esp + 0x8c], 0x47a1ae
mov byte [esp + 0x11], 0
mov byte [esp + 0x10], 0x41
jmp 0x421650
lea eax, [esp + 0x10]
push eax
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
jne 0x421d0b
mov al, byte [esp + 0x10]
inc al
cmp al, 0x5a
mov byte [esp + 0x10], al
jle 0x421650
mov byte [esp + 0x10], 0x30
jmp 0x421680
lea ecx, [esp + 0x10]
push ecx
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
jne 0x421d37
mov al, byte [esp + 0x10]
inc al
cmp al, 0x39
mov byte [esp + 0x10], al
jle 0x421680
xor esi, esi
mov eax, 0x47c1c0
lea ebx, [ebx]
push eax
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
jne 0x421d5d
mov eax, dword [esp + esi*4 + 0x4c]
inc esi
cmp byte [eax], 0
jne 0x4216b0
push 0x47c218
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
je 0x421765
call edi
lea edx, [ebx + 0x7d]
cmp eax, edx
ja 0x4216ed
cmp eax, ebx
jae 0x421765
call edi
cmp byte [0x68d8af], 0
mov ebx, eax
jne 0x421db7
cmp ebp, 0xffffffff
je 0x421d87
mov edx, dword [esp + 0xcc]
mov eax, ebp
imul eax, eax, 0x58
mov ecx, dword [eax + 0x68d8b0]
lea esi, [eax + 0x68d8a0]
push ecx
push 0x47c220
push edx
call fcn.00408143
add esp, 0xc
cmp dword [esi + 0x64], 0x10
jb 0x421739
mov esi, dword [esi + 0x50]
jmp 0x42173c
add esi, 0x50
push esi
call fcn.0044f560
add esp, 4
mov eax, 0x538798
call fcn.00454390
mov ecx, dword [0x497b6c]
push 0x538798
push 0
push 1
xor edx, edx
call fcn.0045cc30
push 0x47c234
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
je 0x4217ff
call edi
lea ecx, [ebx + 0x7d]
cmp eax, ecx
ja 0x421787
cmp eax, ebx
jae 0x4217ff
call edi
cmp byte [0x68d8af], 0
mov ebx, eax
jne 0x421e0e
cmp ebp, 0xffffffff
je 0x421dde
mov ecx, dword [esp + 0xcc]
mov edx, ebp
imul edx, edx, 0x58
mov eax, dword [edx + 0x68d8b0]
lea esi, [edx + 0x68d8a0]
push eax
push 0x47c23c
push ecx
call fcn.00408143
add esp, 0xc
cmp dword [esi + 0x64], 0x10
jb 0x4217d3
mov esi, dword [esi + 0x50]
jmp 0x4217d6
add esi, 0x50
push esi
call fcn.0044f560
add esp, 4
mov eax, 0x538798
call fcn.00454390
mov ecx, dword [0x497b6c]
push 0x538798
push 0
push 1
xor edx, edx
call fcn.0045cc30
push 0x47c250
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
je 0x4218c5
call edi
lea edx, [ebx + 0x7d]
cmp eax, edx
ja 0x421825
cmp eax, ebx
jae 0x4218c5
call edi
cmp byte [0x68d8af], 0
mov ebx, eax
jne 0x421e3e
mov ecx, dword [0x68d8a8]
test ecx, ecx
jle 0x4218c5
lea eax, [ebp - 1]
test eax, eax
jge 0x42184e
lea eax, [ecx - 1]
imul eax, eax, 0x58
mov esi, dword [eax + 0x68d8b0]
mov ecx, esi
imul ecx, ecx, 0x294
mov eax, dword [ecx + 0x59a26c]
cdq
idiv dword [ecx + 0x59a28c]
cmp dword [ecx + 0x59a280], 1
jne 0x42187a
cdq
sub eax, edx
sar eax, 1
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi*4 + 0x53f9f0]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x59a270]
mov ecx, dword [0x497b6c]
cdq
sub eax, edx
mov edx, dword [ecx + 0x10]
sar eax, 1
add eax, dword [esi*4 + 0x4a86d0]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push edx
call dword [0x478338]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [0x478374]
push 0x47c258
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
je 0x42198a
call edi
lea edx, [ebx + 0x7d]
cmp eax, edx
ja 0x4218eb
cmp eax, ebx
jae 0x42198a
call edi
cmp byte [0x68d8af], 0
mov ebx, eax
jne 0x421e65
mov ecx, dword [0x68d8a8]
test ecx, ecx
jle 0x42198a
lea eax, [ebp + 1]
cmp eax, ecx
jl 0x421913
xor eax, eax
imul eax, eax, 0x58
mov esi, dword [eax + 0x68d8b0]
mov ecx, esi
imul ecx, ecx, 0x294
mov eax, dword [ecx + 0x59a26c]
cdq
idiv dword [ecx + 0x59a28c]
cmp dword [ecx + 0x59a280], 1
jne 0x42193f
cdq
sub eax, edx
sar eax, 1
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi*4 + 0x53f9f0]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x59a270]
mov ecx, dword [0x497b6c]
cdq
sub eax, edx
mov edx, dword [ecx + 0x10]
sar eax, 1
add eax, dword [esi*4 + 0x4a86d0]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
push edx
call dword [0x478338]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
call dword [0x478374]
push 0x47c268
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
je 0x421a50
call edi
lea edx, [ebx + 0x7d]
cmp eax, edx
ja 0x4219b0
cmp eax, ebx
jae 0x421a50
call edi
cmp byte [0x68d8af], 0
mov ebx, eax
jne 0x421e8a
mov ecx, dword [0x68d8a8]
test ecx, ecx
jle 0x421a50
lea eax, [ebp - 1]
test eax, eax
jge 0x4219d9
lea eax, [ecx - 1]
imul eax, eax, 0x58
mov esi, dword [eax + 0x68d8b0]
mov ecx, esi
imul ecx, ecx, 0x294
mov eax, dword [ecx + 0x59a26c]
cdq
idiv dword [ecx + 0x59a28c]
cmp dword [ecx + 0x59a280], 1
jne 0x421a05
cdq
sub eax, edx
sar eax, 1
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi*4 + 0x53f9f0]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x59a270]
mov ecx, dword [0x497b6c]
cdq
sub eax, edx
mov edx, dword [ecx + 0x10]
sar eax, 1
add eax, dword [esi*4 + 0x4a86d0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push edx
call dword [0x478338]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [0x478374]
push 0x47c278
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
je 0x421b07
call edi
lea edx, [ebx + 0x7d]
cmp eax, edx
ja 0x421a76
cmp eax, ebx
jae 0x421b07
call edi
cmp byte [0x68d8af], 0
mov ebx, eax
jne 0x421eaf
mov ecx, dword [0x68d8a8]
test ecx, ecx
jle 0x421b07
lea eax, [ebp + 1]
cmp eax, ecx
jl 0x421a9a
xor eax, eax
imul eax, eax, 0x58
mov edi, dword [eax + 0x68d8b0]
mov esi, edi
imul esi, esi, 0x294
lea ecx, [esi + 0x59a008]
call fcn.00401f70
cdq
mov ecx, dword [0x497b6c]
sub eax, edx
sar eax, 1
add eax, dword [edi*4 + 0x53f9f0]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x59a270]
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi*4 + 0x4a86d0]
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x2c]
push eax
push edx
call dword [0x478338]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [0x478374]
mov edi, dword [0x4783b0]
mov edx, dword [0x497b6c]
push edx
call fcn.0045f600
push 1
call dword [0x47823c]
mov ebp, dword [0x47829c]
jmp 0x421380
mov dword [0x58cae8], esi
mov eax, dword [esp + 0xcc]
cmp ebp, 0xffffffff
jne 0x421b61
mov ecx, dword [0x47c178]
mov dword [eax], ecx
mov dx, word [0x47c17c]
mov word [eax + 4], dx
mov cl, byte [0x47c17e]
mov byte [eax + 6], cl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
imul ebp, ebp, 0x58
mov edx, dword [ebp + 0x68d8b0]
lea esi, [ebp + 0x68d8a0]
push edx
push 0x47c180
push eax
call fcn.00408143
add esp, 0xc
cmp dword [esi + 0x64], 0x10
jb 0x421b8a
mov esi, dword [esi + 0x50]
jmp 0x421b8d
add esi, 0x50
push esi
call fcn.0044f560
add esp, 4
mov eax, 0x538798
call fcn.00454390
mov ecx, dword [0x497b6c]
push 0x538798
push 0
push 1
xor edx, edx
call fcn.0045cc30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [str.RCLICK]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov dx, word [0x47c188]
mov word [eax + 4], dx
mov cl, byte [0x47c18a]
mov dword [0x58caec], esi
mov byte [eax + 6], cl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [str.MCLICK]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov cx, word [0x47c190]
mov word [eax + 4], cx
mov dl, byte [0x47c192]
mov dword [0x58caf0], esi
mov byte [eax + 6], dl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [str.WHEELDOWN]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov edx, dword [0x47c198]
mov dword [eax + 4], edx
mov cx, word [0x47c19c]
mov dword [0x52b85c], esi
mov word [eax + 8], cx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [str.WHEELUP]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov ecx, dword [0x47c1a4]
mov dword [0x52b85c], esi
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [str.TIMEOUT]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov ecx, dword [0x47c1ac]
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [0x47c1b0]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov cl, byte [0x47c1b4]
mov byte [eax + 4], cl
mov dword [0x540998], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [0x47c1b8]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov cl, byte [0x47c1bc]
mov byte [eax + 4], cl
mov dword [0x541430], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [esp + 0xcc]
lea eax, [esp + 0x10]
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x421d20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [esp + 0xcc]
lea eax, [esp + 0x10]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x421d46
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov esi, dword [esp + esi*4 + 0x48]
mov ecx, dword [esp + 0xcc]
sub ecx, esi
lea ebx, [ebx]
mov al, byte [esi]
mov byte [ecx + esi], al
inc esi
test al, al
jne 0x421d70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [0x47c224]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov cx, word [0x47c228]
mov word [eax + 4], cx
mov dl, byte [0x47c22a]
mov byte [eax + 6], dl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [0x47c22c]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov dx, word [0x47c230]
mov word [eax + 4], dx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [str.LCLICK]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov dx, word [0x47c244]
mov word [eax + 4], dx
mov cl, byte [0x47c246]
mov byte [eax + 6], cl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [0x47c248]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov cx, word [0x47c24c]
mov word [eax + 4], cx
mov dl, byte [0x47c24e]
mov byte [eax + 6], dl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov cx, word [0x47c254]
mov eax, dword [esp + 0xcc]
mov word [eax], cx
mov dl, byte [0x47c256]
mov byte [eax + 2], dl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [0x47c260]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov dl, byte [0x47c264]
mov byte [eax + 4], dl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [0x47c270]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov dl, byte [0x47c274]
mov byte [eax + 4], dl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [0x47c280]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov dx, word [0x47c284]
mov word [eax + 4], dx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov eax, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
mov byte [eax], 0
pop ebx
add esp, 0xb8
ret 4