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

Disassembly:
push 0xffffffffffffffff
push 0x498a6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor edi, edi
lea ecx, [esp + 0x28]
push edi
mov dword [esp + 0xf0], edi
call fcn.00431a20
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf0], 1
call fcn.00431a20
lea ecx, [esp + 0x4c]
mov byte [esp + 0xec], 2
call fcn.0042c2e0
push edi
lea ecx, [esp + 0xf8]
mov byte [esp + 0xf0], 3
mov dword [esp + 0x14], edi
call fcn.00484863
mov esi, eax
mov al, byte [esp + 0x17]
push edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], al
call fcn.0041cfc0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x3c]
push ebp
call fcn.0041d200
test al, al
je 0x447742
mov edi, dword [esp + 0x3c]
mov ecx, ebp
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 [esp + 0x3c]
mov dword [esp + 0x40], ebp
mov byte [eax + ebp], 0
lea ecx, [esp + 0x28]
push 1
lea edx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xf8], 4
call fcn.0042c370
and eax, 0xff
push 1
lea ecx, [esp + 0x3c]
mov esi, eax
mov byte [esp + 0xf0], 3
call fcn.0041cfc0
or edi, 0xffffffff
lea ecx, [esp + 0xf4]
push edi
call fcn.004848b2
test esi, esi
jne 0x44780a
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0xf0], 7
call fcn.0041cfc0
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0xf0], 6
call fcn.0041cfc0
mov eax, dword [esp + 0xa8]
mov byte [esp + 0xec], 5
test eax, eax
je 0x4477e0
lea ecx, [esp + 0x7c]
call fcn.0041d0a0
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x4477cc
mov eax, dword [esp + 0x78]
mov byte [esp + 0xec], 2
test eax, eax
je 0x447890
lea ecx, [esp + 0x4c]
call fcn.0041d010
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x4477f4
jmp 0x447890
lea ecx, [esp + 0x28]
call fcn.004321c0
cmp eax, 6
je 0x4478cc
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0xf0], 0xa
call fcn.0041cfc0
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0xf0], 9
call fcn.0041cfc0
mov eax, dword [esp + 0xa8]
mov byte [esp + 0xec], 8
test eax, eax
je 0x44786f
lea ecx, [esp + 0x7c]
call fcn.0041d0a0
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x44785b
mov eax, dword [esp + 0x78]
mov byte [esp + 0xec], 2
test eax, eax
je 0x447890
lea ecx, [esp + 0x4c]
call fcn.0041d010
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x44787f
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 1
call fcn.00431f40
lea ecx, [esp + 0x28]
mov byte [esp + 0xec], 0
call fcn.00431f40
lea ecx, [esp + 0xf4]
mov dword [esp + 0xec], edi
call fcn.00484433
xor eax, eax
jmp 0x447b1e
lea ecx, [esp + 0x28]
xor esi, esi
call fcn.00432cb0
test eax, eax
jbe 0x447a4c
push esi
lea ecx, [esp + 0x2c]
call fcn.00432d60
push eax
lea ecx, [esp + 0x1c]
call fcn.004320c0
lea ecx, [esp + 0x18]
call fcn.004321c0
cmp eax, 7
jne 0x447b39
push 0x20
call fcn.00484998
add esp, 4
test eax, eax
je 0x44791e
mov ecx, dword [0x4be818]
mov dword [eax + 0x1c], ecx
jmp 0x447920
xor eax, eax
push str.FBPrice
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
call fcn.00432ed0
push eax
call fcn.0040ab30
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x18]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x10]
push str.cLevel
mov dword [eax + 0x18], 0
call fcn.00432ed0
push eax
call fcn.0040ab30
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x14], eax
push str.price
lea ecx, [esp + 0x1c]
call fcn.00432ed0
push eax
call fcn.0040ab30
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x18]
push str.timeLimit
mov dword [edx + 8], eax
call fcn.00432ed0
push eax
call fcn.0040ab30
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0xc], eax
push 0x4ba740
lea ecx, [esp + 0x1c]
call fcn.00432ed0
push eax
call fcn.0040ab30
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x18]
push 0x4ba738
mov dword [edx + 0x10], eax
call fcn.00432ed0
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0040ac10
add esp, 8
mov ecx, dword [esp + 0x10]
push eax
add ecx, 0x1c
mov byte [esp + 0xf0], 0xe
call fcn.0048456c
lea ecx, [esp + 0x48]
mov byte [esp + 0xec], 3
call fcn.00484433
push 0x4ba748
lea ecx, [esp + 0x1c]
call fcn.00432ed0
push eax
call fcn.0040ab30
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [ebx + 0xd0]
mov dword [edx], eax
lea edx, [esp + 0x10]
mov eax, dword [ecx + 8]
push edx
push 1
push eax
call fcn.00450ab0
lea ecx, [esp + 0x28]
inc esi
call fcn.00432cb0
cmp esi, eax
jb 0x4478df
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0xf0], 0x11
call fcn.0041cfc0
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0xf0], 0x10
call fcn.0041cfc0
mov eax, dword [esp + 0xa8]
mov byte [esp + 0xec], 0xf
test eax, eax
je 0x447a9f
lea ecx, [esp + 0x7c]
call fcn.0041d0a0
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x447a8b
mov eax, dword [esp + 0x78]
mov byte [esp + 0xec], 2
test eax, eax
je 0x447ae0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, 4
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x447acf
mov eax, ecx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x447ad8
lea ecx, [esp + 0x4c]
call fcn.0041d320
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x447aaf
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 1
call fcn.00431f40
lea ecx, [esp + 0x28]
mov byte [esp + 0xec], 0
call fcn.00431f40
lea ecx, [esp + 0xf4]
mov dword [esp + 0xec], 0xffffffff
call fcn.00484433
mov eax, 1
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe0
ret 4
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0xf0], 0xd
call fcn.0041cfc0
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0xf0], 0xc
call fcn.0041cfc0
mov eax, dword [esp + 0xa8]
mov byte [esp + 0xec], 0xb
test eax, eax
je 0x447b8c
lea ecx, [esp + 0x7c]
call fcn.0041d0a0
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x447b78
mov eax, dword [esp + 0x78]
mov byte [esp + 0xec], 2
test eax, eax
je 0x447bad
lea ecx, [esp + 0x4c]
call fcn.0041d010
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x447b9c
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 1
call fcn.00431f40
lea ecx, [esp + 0x28]
mov byte [esp + 0xec], 0
call fcn.00431f40
lea ecx, [esp + 0xf4]
mov dword [esp + 0xec], 0xffffffff
call fcn.00484433
xor eax, eax
jmp 0x447b1e