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

Disassembly:
push 0xffffffffffffffff
push 0x4d010b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4f87d8]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
push 9
xor ebx, ebx
mov ebp, 7
push str.QUICKLINK
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.00405810
mov dword [esp + 0xc8], ebx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, esi
push ecx
mov ecx, edi
call edx
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x14], eax
jb 0x40f334
mov eax, dword [esp + 0x38]
push eax
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
je 0x40f4b9
push 3
push 0x4d8ea0
lea esi, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00405810
mov ecx, dword [esp + 0x14]
mov eax, esi
mov dword [esp + 0xc8], 1
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
push eax
push ecx
mov ecx, edi
call edx
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x40f3a5
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x40f3c5
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
push 0x4fe734
push esi
mov ecx, edi
call eax
push 4
push 0x4d8e80
lea esi, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00405810
mov ecx, dword [esp + 0x14]
mov eax, esi
mov dword [esp + 0xc8], 2
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
push eax
push ecx
mov ecx, edi
call edx
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x40f41f
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x40f43f
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
push 0x4fe490
push esi
mov ecx, edi
call eax
push 8
push str.FILENAME
lea esi, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00405810
mov ecx, dword [esp + 0x14]
mov eax, esi
mov dword [esp + 0xc8], 3
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
push eax
push ecx
mov ecx, edi
call edx
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x40f499
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x40f4b9
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
push 0x4fe718
push esi
mov ecx, edi
call eax
push 6
push str.ADVERT
lea esi, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00405810
mov dword [esp + 0xc8], 4
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
mov eax, esi
push eax
mov ecx, edi
call edx
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x40f50e
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x40f534
push 0x4fea64
push esi
mov ecx, 0x4fe764
mov edx, edi
call fcn.0040eff0
add esp, 8
push ebp
push str.SUCCESS
lea esi, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00405810
mov dword [esp + 0xc8], 5
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
mov eax, esi
push eax
mov ecx, edi
call edx
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x40f588
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x40f5ae
push 0x4fea74
push esi
mov ecx, 0x4fea90
mov edx, edi
call fcn.0040eff0
add esp, 8
push 5
push str.FORCE
lea esi, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00405810
mov dword [esp + 0xc8], 6
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
mov eax, esi
push eax
mov ecx, edi
call edx
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x40f603
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x40f629
push 0x4fe754
push esi
mov ecx, 0x4fe774
mov edx, edi
call fcn.0040eff0
add esp, 8
push 5
push str.POPUP
lea esi, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00405810
mov dword [esp + 0xc8], ebp
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
mov eax, esi
push eax
mov ecx, edi
call edx
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x30], 8
mov dword [esp + 0x14], eax
jb 0x40f67c
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x40fb27
jmp 0x40f6a0
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
mov byte [esp + 0xac], bl
mov dword [esp + 0xc8], 8
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
mov byte [esp + 0xc8], 9
push 3
push 0x4d8ea0
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.00405810
mov ecx, dword [esp + 0x14]
mov eax, esi
mov byte [esp + 0xc8], 0xa
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
push eax
push ecx
mov ecx, edi
call edx
mov byte [esp + 0xc8], 9
cmp dword [esp + 0x4c], 8
mov esi, eax
jb 0x40f737
mov eax, dword [esp + 0x38]
push eax
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
je 0x40f75a
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x90]
push eax
push esi
mov ecx, edi
call edx
push 6
push str.ACTIVE
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.00405810
mov edx, dword [esp + 0x14]
mov byte [esp + 0xc8], 0xb
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
mov ecx, esi
push ecx
push edx
mov ecx, edi
call eax
mov byte [esp + 0xc8], 9
cmp dword [esp + 0x4c], 8
mov esi, eax
jb 0x40f7ae
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
je 0x40f85d
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x74]
push eax
push esi
mov ecx, edi
call edx
push 1
push 0x4d4a68
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.00405810
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x88]
cmp ecx, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
lea edx, [esp + 0x70]
jb 0x40f80e
lea edx, [esp + 0x6c]
mov ecx, dword [esp + 0x38]
mov esi, 8
cmp dword [esp + 0x4c], esi
jae 0x40f821
lea ecx, [esp + 0x38]
cmp dword [esp + 0x8c], esi
mov eax, dword [esp + 0x78]
jae 0x40f832
lea eax, [esp + 0x78]
mov edx, dword [edx]
push edx
push ecx
call fcn.00419f90
add esp, 8
test eax, eax
sete al
cmp dword [esp + 0x4c], esi
mov byte [esp + 0xac], al
jb 0x40f85d
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004a85e6
add esp, 4
push 6
push str.ACTION
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.00405810
mov ecx, dword [esp + 0x14]
mov eax, esi
mov byte [esp + 0xc8], 0xc
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
push eax
push ecx
mov ecx, edi
call edx
mov byte [esp + 0xc8], 9
cmp dword [esp + 0x4c], 8
mov esi, eax
jb 0x40f8b1
mov eax, dword [esp + 0x38]
push eax
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
je 0x40f8ef
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x74]
push eax
push esi
mov ecx, edi
call edx
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x40f8e3
lea eax, [esp + 0x78]
call fcn.00419e70
mov dword [esp + 0xb0], eax
push 4
push str.TYPE
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.00405810
mov edx, dword [esp + 0x14]
mov byte [esp + 0xc8], 0xd
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
mov ecx, esi
push ecx
push edx
mov ecx, edi
call eax
mov byte [esp + 0xc8], 9
cmp dword [esp + 0x4c], 8
mov esi, eax
jb 0x40f943
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
je 0x40f981
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x74]
push eax
push esi
mov ecx, edi
call edx
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x40f975
lea eax, [esp + 0x78]
call fcn.00419e70
mov dword [esp + 0xb8], eax
push 4
push str.STEP
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.00405810
mov edx, dword [esp + 0x14]
mov byte [esp + 0xc8], 0xe
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
mov ecx, esi
push ecx
push edx
mov ecx, edi
call eax
mov byte [esp + 0xc8], 9
cmp dword [esp + 0x4c], 8
mov esi, eax
jb 0x40f9d5
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
je 0x40fa13
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x74]
push eax
push esi
mov ecx, edi
call edx
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x40fa07
lea eax, [esp + 0x78]
call fcn.00419e70
mov dword [esp + 0xb4], eax
cmp dword [0x4fb310], ebx
jne 0x40fa63
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x98]
push eax
mov eax, 0x4fb2fc
call fcn.00405240
mov cl, byte [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
mov byte [0x4fb318], cl
mov ecx, dword [esp + 0xb8]
mov dword [0x4fb31c], edx
mov dword [0x4fb320], eax
mov dword [0x4fb324], ecx
lea edx, [esp + 0x90]
push edx
call fcn.004125d0
push 5
push str.POPUP
lea esi, [esp + 0x58]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
call fcn.00405810
mov edx, dword [esp + 0x14]
mov byte [esp + 0xc8], 0xf
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
mov ecx, esi
push ecx
push edx
mov ecx, edi
call eax
cmp dword [esp + 0x68], 8
mov dword [esp + 0x14], eax
jb 0x40fabe
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004a85e6
add esp, 4
mov esi, 8
cmp dword [esp + 0x8c], esi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jb 0x40fae6
mov edx, dword [esp + 0x78]
push edx
call fcn.004a85e6
add esp, 4
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0xa8], esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
jb 0x40fb1d
mov eax, dword [esp + 0x94]
push eax
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x14], ebx
jne 0x40f6a0
push 9
push str.TIPADVERT
lea esi, [esp + 0x58]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
call fcn.00405810
mov dword [esp + 0xc8], 0x10
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
mov eax, esi
push eax
mov ecx, edi
call edx
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x68], 8
mov dword [esp + 0x14], eax
jb 0x40fb7e
mov eax, dword [esp + 0x54]
push eax
call fcn.004a85e6
add esp, 4
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
je 0x40fe7e
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
mov dword [esp + 0xc8], 0x11
push 5
push str.width
lea esi, [esp + 0x20]
mov dword [0x4fb2b8], 0xffffffff
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00405810
mov ecx, dword [esp + 0x14]
mov eax, esi
mov byte [esp + 0xc8], 0x12
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
push eax
push ecx
mov ecx, edi
call edx
mov byte [esp + 0xc8], 0x11
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x40fc11
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x40fc4d
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x74]
push eax
push esi
mov ecx, edi
call edx
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x40fc43
lea eax, [esp + 0x78]
call fcn.00419e70
mov dword [0x4fb2b8], eax
push 6
push str.height
lea esi, [esp + 0x20]
mov dword [0x4fb2bc], 0xffffffff
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00405810
mov edx, dword [esp + 0x14]
mov byte [esp + 0xc8], 0x13
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
mov ecx, esi
push ecx
push edx
mov ecx, edi
call eax
mov byte [esp + 0xc8], 0x11
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x40fcab
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x40fce7
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x74]
push eax
push esi
mov ecx, edi
call edx
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x40fcdd
lea eax, [esp + 0x78]
call fcn.00419e70
mov dword [0x4fb2bc], eax
mov edx, 0x4d9030
lea eax, [esp + 0x18]
call fcn.00404fb0
mov edx, dword [esp + 0x14]
mov byte [esp + 0xc8], 0x14
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, edi
call eax
mov byte [esp + 0xc8], 0x11
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x40fd2e
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x40fd4e
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
push 0x4fb2c4
push esi
mov ecx, edi
call eax
mov edx, str.time
lea eax, [esp + 0x18]
mov dword [0x4fb2c0], 0xffffffff
call fcn.00404fb0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
mov byte [esp + 0xc8], 0x15
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
push eax
push ecx
mov ecx, edi
call edx
mov byte [esp + 0xc8], 0x11
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x40fd9f
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x40fddb
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x74]
push eax
push esi
mov ecx, edi
call edx
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x40fdd1
lea eax, [esp + 0x78]
call fcn.00419e70
mov dword [0x4fb2c0], eax
push ebx
push 0x4d40cc
mov esi, 0x4fb2e0
call fcn.00405810
mov edx, str.gameid
lea eax, [esp + 0x90]
call fcn.00404fb0
mov edx, dword [esp + 0x14]
mov byte [esp + 0xc8], 0x16
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x90]
push ecx
push edx
mov ecx, edi
call eax
mov byte [esp + 0xc8], 0x11
cmp dword [esp + 0xa8], 8
mov esi, eax
jb 0x40fe3e
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004a85e6
add esp, 4
cmp esi, ebx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
je 0x40fe67
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
push 0x4fb2e0
push esi
mov ecx, edi
call eax
cmp dword [esp + 0x8c], 8
jb 0x40fe7e
mov ecx, dword [esp + 0x78]
push ecx
call fcn.004a85e6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.004a85d7
add esp, 0xbc
ret