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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5fff1d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x112c
call fcn.005e0df0
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x1140]
mov dword fs:[0], eax
mov dword [esp + 0x38], ecx
xor esi, esi
mov dword [esp + 0x2c], esi
mov eax, dword [0x741af8]
push eax
push esi
lea ecx, [esp + 0xcc]
push ecx
call fcn.00475440
mov dword [esp + 0x1148], esi
mov ebx, dword [ebp + 0xc]
lea edx, [esp + 0xc4]
push edx
mov edi, ebx
call fcn.00475790
mov dword [esp + 0x1148], 0xffffffff
lea ecx, [esp + 0xc4]
call fcn.00475600
lea ecx, [esp + 0x10]
call fcn.00472830
mov dword [esp + 0x1148], 1
lea eax, [esp + 0xf4]
push eax
call fcn.0047edf0
mov byte [esp + 0x1148], 2
mov eax, dword [ebp + 8]
push 3
push closesocket
call fcn.004221b0
push eax
lea ecx, [esp + 0x100]
call fcn.0047ef50
test al, al
jne 0x4fe642
lea ecx, [esp + 0x24]
call fcn.00472830
mov byte [esp + 0x1148], 3
lea ecx, [esp + 0x3c]
push ecx
call fcn.0047bab0
add esp, 4
mov byte [esp + 0x1148], 4
lea edi, [esp + 0x24]
call fcn.00472a50
mov byte [esp + 0x1148], 3
lea ecx, [esp + 0x3c]
call fcn.004740c0
push esi
or edi, 0xffffffff
mov eax, str.keymaps_
lea esi, [esp + 0x44]
call fcn.004728e0
mov byte [esp + 0x1148], 5
mov esi, dword [ebp + 8]
push esi
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.004737a0
add esp, 0xc
mov byte [esp + 0x1148], 6
push eax
lea edi, [esp + 0x28]
call fcn.00472a90
mov byte [esp + 0x1148], 5
lea ecx, [esp + 0x3c]
call fcn.004740c0
mov byte [esp + 0x1148], 3
lea ecx, [esp + 0x40]
call fcn.004740c0
push 3
push closesocket
mov eax, edi
call fcn.004221b0
push eax
lea ecx, [esp + 0x100]
call fcn.0047ef50
test al, al
jne 0x4fe62f
mov ecx, dword [0x741af8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x9c]
push edx
call fcn.00475440
mov byte [esp + 0x1148], 7
mov eax, dword [0x741af8]
push eax
push 0xe1370001
lea ecx, [esp + 0xcc]
push ecx
call fcn.00475440
mov byte [esp + 0x1148], 8
lea edx, [esp + 0xc4]
push edx
mov edi, ebx
call fcn.00475790
mov byte [esp + 0x1148], 7
lea ecx, [esp + 0xc4]
call fcn.00475600
mov edx, dword [ebx]
mov eax, esi
call fcn.004221b0
push eax
mov eax, dword [edx + 0x20]
mov ecx, ebx
call eax
mov esi, dword [ebx]
lea ecx, [esp + 0x94]
add esi, 0x20
call fcn.00475a00
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x1148], 3
lea ecx, [esp + 0x94]
call fcn.00475600
mov byte [esp + 0x1148], 2
lea ecx, [esp + 0x24]
call fcn.004740c0
mov byte [esp + 0x1148], 1
lea ecx, [esp + 0xf4]
call fcn.0047eeb0
mov dword [esp + 0x1148], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004740c0
xor al, al
mov ecx, dword [esp + 0x1140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [esp + 0x1148], 2
lea ecx, [esp + 0x24]
call fcn.004740c0
xor esi, esi
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x24]
mov byte [eax + 0x8008], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], esi
call fcn.00472830
mov byte [esp + 0x1148], 9
lea edi, [esp + 0x24]
lea esi, [esp + 0xf4]
call fcn.0047f150
test al, al
je 0x4ff0b0
mov edi, edi
cmp dword [esp + 0x20], 3
jge 0x4fefd5
inc dword [esp + 0x30]
xor edi, edi
lea eax, [esp + 0x24]
call fcn.00473690
cmp word [eax], 0x3b
jne 0x4fe6b0
mov ecx, dword [esp + 0x38]
mov byte [ecx + 0x8008], 1
jmp 0x4fefb4
lea eax, [esp + 0x24]
call fcn.00473170
test al, al
jne 0x4fefb4
push 0
push 0x6dee78
or eax, 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.004729d0
mov ebx, dword [sym.imp.MSVCR90.dll_wcstok]
push eax
call ebx
add esp, 8
or edi, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.004728e0
mov byte [esp + 0x1148], 0xa
push 0
push 0x6dee78
push 0
call ebx
add esp, 8
or edi, edi
lea esi, [esp + 0x38]
call fcn.004728e0
mov byte [esp + 0x1148], 0xb
push 0
push 0x6bdad8
push 0
call ebx
add esp, 8
or edi, 0xffffffff
lea esi, [esp + 0x18]
call fcn.004728e0
mov byte [esp + 0x1148], 0xc
lea eax, [esp + 0x18]
call fcn.00473120
test eax, eax
je 0x4feef0
lea eax, [esp + 0x34]
call fcn.00473120
test eax, eax
je 0x4feef0
mov eax, esi
call fcn.00473120
test eax, eax
je 0x4feef0
lea eax, [esp + 0x34]
call fcn.00472ca0
lea ecx, [esp + 0x34]
call fcn.00510bf0
mov dword [esp + 0x48], eax
cmp eax, edi
jne 0x4fe81d
lea ecx, [esp + 0x4c]
call fcn.00472830
mov byte [esp + 0x1148], 0xf
mov edx, dword [esp + 0x30]
push edx
lea eax, [esp + 0x38]
call fcn.004221b0
push eax
lea eax, [esp + 0x54]
push 0x6deeb8
push eax
call fcn.00473260
add esp, 0x10
lea eax, [esp + 0x10]
call fcn.00473170
test al, al
jne 0x4fe7fa
push 0
or edi, edi
mov eax, 0x6bdad8
lea esi, [esp + 0x7c]
call fcn.004728e0
mov byte [esp + 0x1148], 0x10
mov ecx, esi
push ecx
lea edi, [esp + 0x14]
call fcn.00472a90
mov byte [esp + 0x1148], 0xf
mov ecx, esi
call fcn.004740c0
lea edx, [esp + 0x4c]
push edx
lea edi, [esp + 0x14]
call fcn.00472a90
inc dword [esp + 0x20]
mov byte [esp + 0x1148], 0xc
lea ecx, [esp + 0x4c]
jmp 0x4fef79
xor ebx, ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x28], ebx
call fcn.00472ca0
push ebx
push 0x4e
lea eax, [esp + 0x20]
push eax
call fcn.00473070
cmp eax, ebx
jl 0x4fe84e
mov edi, eax
push 0x20
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], ebx
call fcn.00473230
push ebx
push 0x45
lea ecx, [esp + 0x20]
push ecx
call fcn.00473070
cmp eax, ebx
jl 0x4fe874
mov edi, eax
push 0x20
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], 0x100
call fcn.00473230
push ebx
push 0x43
lea edx, [esp + 0x20]
push edx
call fcn.00473070
cmp eax, ebx
jl 0x4fe89a
or dword [esp + 0x28], 0x200
mov edi, eax
push 0x20
lea eax, [esp + 0x1c]
call fcn.00473230
push ebx
push 0x53
lea eax, [esp + 0x20]
push eax
call fcn.00473070
cmp eax, ebx
jl 0x4fe8c0
or dword [esp + 0x28], 0x400
mov edi, eax
push 0x20
lea eax, [esp + 0x1c]
call fcn.00473230
push ebx
push 0x41
lea ecx, [esp + 0x20]
push ecx
call fcn.00473070
cmp eax, ebx
jl 0x4fe8e6
or dword [esp + 0x28], 0x800
mov edi, eax
push 0x20
lea eax, [esp + 0x1c]
call fcn.00473230
lea eax, [esp + 0x18]
call fcn.00473120
test eax, eax
jle 0x4fe9b9
mov edi, ebx
lea eax, [esp + 0x18]
call fcn.00473690
cmp word [eax], 0x20
je 0x4fe9a7
lea ecx, [esp + 0x58]
call fcn.00472830
mov byte [esp + 0x1148], 0x11
lea eax, [esp + 0x18]
call fcn.00473690
mov edx, dword [esp + 0x30]
movzx eax, word [eax]
push edx
push eax
lea ecx, [esp + 0x60]
push 0x6def08
push ecx
call fcn.00473260
add esp, 0x10
lea eax, [esp + 0x10]
call fcn.00473170
test al, al
jne 0x4fe984
push 0
or edi, 0xffffffff
mov eax, 0x6bdad8
lea esi, [esp + 0x6c]
call fcn.004728e0
mov byte [esp + 0x1148], 0x12
mov edx, esi
push edx
lea edi, [esp + 0x14]
call fcn.00472a90
mov byte [esp + 0x1148], 0x11
mov ecx, esi
call fcn.004740c0
lea eax, [esp + 0x58]
push eax
lea edi, [esp + 0x14]
call fcn.00472a90
inc dword [esp + 0x20]
mov byte [esp + 0x1148], 0xc
lea ecx, [esp + 0x58]
call fcn.004740c0
lea eax, [esp + 0x18]
inc ebx
call fcn.00473120
cmp ebx, eax
jl 0x4fe8f7
lea eax, [esp + 0x14]
xor ebx, ebx
call fcn.00473120
test eax, eax
jle 0x4fe9fe
jmp 0x4fe9d0
mov edi, ebx
lea eax, [esp + 0x14]
call fcn.00473690
cmp word [eax], 0x20
je 0x4fe9f0
lea eax, [esp + 0x14]
call fcn.00473690
cmp word [eax], 9
jne 0x4fe9fe
lea eax, [esp + 0x14]
inc ebx
call fcn.00473120
cmp ebx, eax
jl 0x4fe9d0
mov edi, ebx
lea eax, [esp + 0x14]
call fcn.00473690
cmp word [eax], 0x22
jne 0x4feb1a
mov ecx, 0x22
lea eax, [esp + 0x14]
call fcn.00473110
mov esi, eax
cmp esi, ebx
jg 0x4feabf
lea ecx, [esp + 0x5c]
call fcn.00472830
mov byte [esp + 0x1148], 0x13
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x60]
push 0x6def58
push edx
call fcn.00473260
add esp, 0xc
lea eax, [esp + 0x10]
call fcn.00473170
test al, al
jne 0x4fea99
push 0
or edi, 0xffffffff
mov eax, 0x6bdad8
lea esi, [esp + 0x80]
call fcn.004728e0
mov byte [esp + 0x1148], 0x14
mov eax, esi
push eax
lea edi, [esp + 0x14]
call fcn.00472a90
mov byte [esp + 0x1148], 0x13
mov ecx, esi
call fcn.004740c0
lea ecx, [esp + 0x5c]
push ecx
lea edi, [esp + 0x14]
call fcn.00472a90
inc dword [esp + 0x20]
lea esi, [ebx + 1]
mov byte [esp + 0x1148], 0xc
lea ecx, [esp + 0x5c]
call fcn.004740c0
sub esi, ebx
dec esi
push esi
lea eax, [esp + 0x88]
lea edx, [ebx + 1]
push eax
lea ecx, [esp + 0x1c]
call fcn.00472e50
mov byte [esp + 0x1148], 0x15
mov eax, dword [esp + 0x28]
or eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
mov dword [ecx + eax*4 + 4], 1
lea edi, [ecx + eax*4 + 0x4004]
lea eax, [esp + 0x84]
call fcn.00472a50
mov byte [esp + 0x1148], 0xc
lea ecx, [esp + 0x84]
jmp 0x4fef79
push 3
lea ecx, [esp + 0x90]
push ecx
mov edx, ebx
lea ecx, [esp + 0x1c]
call fcn.00472e50
mov byte [esp + 0x1148], 0x16
or dword [esp + 0x2c], 1
mov esi, 0x6c7b88
call fcn.00473b10
test al, al
jne 0x4feb82
push 6
lea edx, [esp + 0x8c]
push edx
mov edx, ebx
lea ecx, [esp + 0x1c]
call fcn.00472e50
mov dword [esp + 0x1148], 0x17
or dword [esp + 0x2c], 2
mov esi, str.LAUNCH
call fcn.00473b10
mov byte [esp + 0x1f], 0
test al, al
je 0x4feb87
mov byte [esp + 0x1f], 1
mov dword [esp + 0x1148], 0x16
test byte [esp + 0x2c], 2
je 0x4febaa
and dword [esp + 0x2c], 0xfffffffd
lea ecx, [esp + 0x88]
call fcn.004740c0
mov dword [esp + 0x1148], 0xc
test byte [esp + 0x2c], 1
je 0x4febcd
and dword [esp + 0x2c], 0xfffffffe
lea ecx, [esp + 0x8c]
call fcn.004740c0
cmp byte [esp + 0x1f], 0
je 0x4fedac
push 3
lea eax, [esp + 0x94]
push eax
mov edx, ebx
lea ecx, [esp + 0x1c]
call fcn.00472e50
mov byte [esp + 0x1148], 0x18
mov esi, 0x6c7b88
call fcn.00473b10
mov byte [esp + 0x1f], al
mov byte [esp + 0x1148], 0xc
lea ecx, [esp + 0x90]
call fcn.004740c0
push 0
or edi, 0xffffffff
mov eax, 0x6defa4
lea esi, [esp + 0x84]
call fcn.004728e0
mov byte [esp + 0x1148], 0x19
mov ecx, esi
push ecx
mov edi, ebx
lea eax, [esp + 0x18]
call fcn.004730f0
mov dword [esp + 0x70], eax
mov byte [esp + 0x1148], 0xc
mov ecx, esi
call fcn.004740c0
push 0
or edi, 0xffffffff
mov eax, 0x6defac
lea esi, [esp + 0x68]
call fcn.004728e0
mov byte [esp + 0x1148], 0x1a
mov edx, esi
push edx
mov edi, ebx
lea eax, [esp + 0x18]
call fcn.004730f0
mov esi, eax
mov byte [esp + 0x1148], 0xc
lea ecx, [esp + 0x64]
call fcn.004740c0
mov edx, dword [esp + 0x70]
test edx, edx
jl 0x4fed1e
test esi, esi
jl 0x4fed1e
add edx, 2
sub esi, edx
push esi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
call fcn.00472e50
mov byte [esp + 0x1148], 0x1d
mov eax, dword [esp + 0x28]
or eax, dword [esp + 0x48]
mov bl, byte [esp + 0x1f]
mov esi, dword [esp + 0x38]
xor ecx, ecx
test bl, bl
sete cl
lea edi, [esi + eax*4 + 0x4004]
add ecx, 2
mov dword [esi + eax*4 + 4], ecx
lea eax, [esp + 0x60]
call fcn.00472a50
mov ecx, 0x6c7b88
test bl, bl
jne 0x4fecfa
mov ecx, str.LAUNCH
lea eax, [esp + 0x60]
call fcn.004221b0
push eax
push ecx
call fcn.004078f0
add esp, 8
mov byte [esp + 0x1148], 0xc
lea ecx, [esp + 0x60]
jmp 0x4fef79
lea ecx, [esp + 0x54]
call fcn.00472830
mov byte [esp + 0x1148], 0x1b
mov edx, dword [esp + 0x30]
push edx
lea eax, [esp + 0x58]
push 0x6dee80
push eax
call fcn.00473260
add esp, 0xc
lea eax, [esp + 0x10]
call fcn.00473170
test al, al
jne 0x4fed89
push 0
or edi, 0xffffffff
mov eax, 0x6bdad8
lea esi, [esp + 0x70]
call fcn.004728e0
mov byte [esp + 0x1148], 0x1c
mov ecx, esi
push ecx
lea edi, [esp + 0x14]
call fcn.00472a90
mov byte [esp + 0x1148], 0x1b
mov ecx, esi
call fcn.004740c0
lea edx, [esp + 0x54]
push edx
lea edi, [esp + 0x14]
call fcn.00472a90
inc dword [esp + 0x20]
mov byte [esp + 0x1148], 0xc
lea ecx, [esp + 0x54]
jmp 0x4fef79
lea ecx, [esp + 0x44]
call fcn.00472830
mov byte [esp + 0x1148], 0x1e
lea eax, [esp + 0x14]
call fcn.00473120
cmp ebx, eax
jge 0x4fee14
lea ebx, [ebx]
mov edi, ebx
lea eax, [esp + 0x14]
call fcn.00473690
cmp word [eax], 0x20
je 0x4fee14
lea eax, [esp + 0x14]
call fcn.00473690
cmp word [eax], 9
je 0x4fee14
lea eax, [esp + 0x14]
call fcn.00473690
movzx eax, word [eax]
push eax
lea edi, [esp + 0x48]
call fcn.00472b20
lea eax, [esp + 0x14]
inc ebx
call fcn.00473120
cmp ebx, eax
jl 0x4fedd0
lea ecx, [esp + 0x44]
push ecx
call fcn.004fcd80
add esp, 4
cmp eax, 1
jle 0x4fee47
mov ecx, dword [esp + 0x28]
or ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov dword [edx + ecx*4 + 4], eax
mov byte [esp + 0x1148], 0xc
lea ecx, [esp + 0x44]
jmp 0x4fef79
lea ecx, [esp + 0x50]
call fcn.00472830
mov byte [esp + 0x1148], 0x1f
mov eax, dword [esp + 0x30]
push eax
lea eax, [esp + 0x48]
call fcn.004221b0
push eax
lea ecx, [esp + 0x58]
push 0x6defb8
push ecx
call fcn.00473260
add esp, 0x10
lea eax, [esp + 0x10]
call fcn.00473170
test al, al
jne 0x4feebc
push 0
or edi, 0xffffffff
mov eax, 0x6bdad8
lea esi, [esp + 0x78]
call fcn.004728e0
mov byte [esp + 0x1148], 0x20
mov edx, esi
push edx
lea edi, [esp + 0x14]
call fcn.00472a90
mov byte [esp + 0x1148], 0x1f
mov ecx, esi
call fcn.004740c0
lea eax, [esp + 0x50]
push eax
lea edi, [esp + 0x14]
call fcn.00472a90
inc dword [esp + 0x20]
mov byte [esp + 0x1148], 0x1e
lea ecx, [esp + 0x50]
call fcn.004740c0
mov byte [esp + 0x1148], 0xc
lea ecx, [esp + 0x44]
jmp 0x4fef79
lea ecx, [esp + 0x40]
call fcn.00472830
mov byte [esp + 0x1148], 0xd
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x44]
push 0x6dee80
push edx
call fcn.00473260
add esp, 0xc
lea eax, [esp + 0x10]
call fcn.00473170
test al, al
jne 0x4fef5b
push 0
or edi, 0xffffffff
mov eax, 0x6bdad8
lea esi, [esp + 0x40]
call fcn.004728e0
mov byte [esp + 0x1148], 0xe
mov eax, esi
push eax
lea edi, [esp + 0x14]
call fcn.00472a90
mov byte [esp + 0x1148], 0xd
mov ecx, esi
call fcn.004740c0
lea ecx, [esp + 0x40]
push ecx
lea edi, [esp + 0x14]
call fcn.00472a90
inc dword [esp + 0x20]
mov byte [esp + 0x1148], 0xc
lea ecx, [esp + 0x40]
call fcn.004740c0
mov byte [esp + 0x1148], 0xb
lea ecx, [esp + 0x14]
call fcn.004740c0
mov byte [esp + 0x1148], 0xa
lea ecx, [esp + 0x34]
call fcn.004740c0
mov byte [esp + 0x1148], 9
lea ecx, [esp + 0x18]
call fcn.004740c0
mov ebx, dword [ebp + 0xc]
lea edi, [esp + 0x24]
lea esi, [esp + 0xf4]
call fcn.0047f150
test al, al
jne 0x4fe680
mov eax, dword [esp + 0x20]
cmp eax, 3
jl 0x4ff043
mov edx, dword [0x741af8]
push edx
push 0xe1370001
lea eax, [esp + 0x9c]
push eax
call fcn.00475440
mov byte [esp + 0x1148], 0x21
lea ecx, [esp + 0x94]
push ecx
mov edi, ebx
call fcn.00475790
mov byte [esp + 0x1148], 9
lea ecx, [esp + 0x94]
call fcn.00475600
mov eax, dword [ebp + 8]
mov edx, dword [ebx]
call fcn.004221b0
push eax
mov eax, dword [edx + 0x20]
mov ecx, ebx
call eax
mov edx, dword [ebx]
lea eax, [esp + 0x10]
call fcn.004221b0
push eax
mov eax, dword [edx + 0x20]
mov ecx, ebx
call eax
jmp 0x4fe5dc
test eax, eax
jle 0x4ff0b0
mov ecx, dword [0x741af8]
push ecx
push 0xa1370002
lea edx, [esp + 0x9c]
push edx
call fcn.00475440
mov byte [esp + 0x1148], 0x22
lea eax, [esp + 0x94]
push eax
mov edi, ebx
call fcn.00475790
mov byte [esp + 0x1148], 9
lea ecx, [esp + 0x94]
call fcn.00475600
mov eax, dword [ebp + 8]
mov edx, dword [ebx]
call fcn.004221b0
push eax
mov eax, dword [edx + 0x20]
mov ecx, ebx
call eax
mov edx, dword [ebx]
lea eax, [esp + 0x10]
call fcn.004221b0
push eax
mov eax, dword [edx + 0x20]
mov ecx, ebx
call eax
mov esi, dword [esp + 0x38]
mov ecx, dword [esi + 0x8004]
test ecx, ecx
je 0x4ff0c7
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push 1
call eax
push 0x800c
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x70], eax
mov byte [esp + 0x1148], 0x23
test eax, eax
je 0x4ff0ec
push eax
call fcn.004fce80
jmp 0x4ff0ee
xor eax, eax
mov byte [esp + 0x1148], 9
mov dword [esi + 0x8004], eax
mov esi, eax
call fcn.004fcfc0
mov byte [esp + 0x1148], 2
lea ecx, [esp + 0x24]
call fcn.004740c0
mov byte [esp + 0x1148], 1
lea ecx, [esp + 0xf4]
call fcn.0047eeb0
mov dword [esp + 0x1148], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004740c0
mov al, 1
mov ecx, dword [esp + 0x1140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8