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

Disassembly:
push 0xffffffffffffffff
push 0x584379
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x3c], esi
call fcn.0046bed0
mov dword [esi + 4], eax
mov byte [eax + 0x45], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
lea edi, [esi + 0xc]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0xa8], ebx
mov byte [edi + 4], bl
lea ebp, [esi + 0x28]
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0xac], 2
call fcn.004ae0d0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0xb4], 3
call fcn.0040a080
cmp dword [esp + 0x7c], 0x10
mov byte [esp + 0xa8], 2
jb 0x46e8ba
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0055215c
add esp, 4
cmp dword [esi + 0x20], ebx
jbe 0x46e9a3
push 0xe
push str.sw_xy_game.ini
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.0040c1c0
push 1
push 0x597698
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.0040c1c0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0xb4], 5
call fcn.0040cec0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0xb4], 6
call fcn.00408a50
mov edi, 0x10
cmp dword [esp + 0x7c], edi
jb 0x46e955
mov edx, dword [esp + 0x68]
push edx
call fcn.0055215c
add esp, 4
cmp dword [esp + 0x38], edi
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jb 0x46e978
mov eax, dword [esp + 0x24]
push eax
call fcn.0055215c
add esp, 4
cmp dword [esp + 0x58], edi
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov byte [esp + 0xa8], 2
jb 0x46e9a3
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0055215c
add esp, 4
push str.1616_600_252_1_5468_194_23_113_3242
lea edx, [esp + 0x84]
push str.search_game
push edx
call fcn.004828e0
add esp, 0xc
cmp dword [esp + 0x94], ebx
mov byte [esp + 0xa8], 7
je 0x46eb3a
push 1
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x8c]
xor edi, edi
mov byte [esp + 0x20], 0x2c
call fcn.004050c0
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x46ead1
mov byte [esp + 0x14], 0x2c
jmp 0x46ea05
mov eax, dword [esp + 0x1c]
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x8c]
call fcn.0040dd40
cmp dword [esp + 0x7c], 0x10
mov eax, dword [esp + 0x68]
mov byte [esp + 0xa8], 8
jae 0x46ea31
lea eax, [esp + 0x68]
push eax
call fcn.00554a20
mov ecx, dword [ebp + 4]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x18], eax
jne 0x46ea49
xor edi, edi
jmp 0x46ea51
mov edi, dword [ebp + 8]
sub edi, ecx
sar edi, 2
cmp ecx, ebx
je 0x46ea6e
mov edx, dword [ebp + 0xc]
sub edx, ecx
sar edx, 2
cmp edi, edx
jae 0x46ea6e
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp + 8], ecx
jmp 0x46ea8d
mov edi, dword [ebp + 8]
cmp ecx, edi
jbe 0x46ea7a
call fcn.005532de
lea edx, [esp + 0x18]
push edx
push edi
push ebp
lea eax, [esp + 0x68]
push eax
mov ecx, ebp
call fcn.00412690
mov edi, dword [esp + 0x1c]
add edi, 1
cmp dword [esp + 0x7c], 0x10
mov byte [esp + 0xa8], 7
jb 0x46eab0
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0055215c
add esp, 4
push 1
push edi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x8c]
call fcn.004050c0
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x46ea01
mov eax, dword [esp + 0x94]
cmp eax, edi
jbe 0x46eb3a
sub eax, edi
push eax
push edi
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x8c]
call fcn.0040dd40
mov eax, dword [esp + 0x68]
mov edi, 0x10
cmp dword [esp + 0x7c], edi
mov byte [esp + 0xa8], 9
jae 0x46eb0c
lea eax, [esp + 0x68]
push eax
call fcn.00554a20
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.004140f0
cmp dword [esp + 0x7c], edi
jb 0x46eb3f
mov edx, dword [esp + 0x68]
push edx
call fcn.0055215c
add esp, 4
jmp 0x46eb3f
mov edi, 0x10
cmp dword [esp + 0x98], edi
jb 0x46eb58
mov eax, dword [esp + 0x84]
push eax
call fcn.0055215c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00552d63
add esp, 0x98
ret