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

Disassembly:
push 0xffffffffffffffff
push 0x5d4974
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push fcn.0043ffd0
push fcn.0044c710
push 4
lea eax, [ebp + 0x20]
push 0x10
push eax
mov dword [esp + 0x3c], ebp
call fcn.005c3e67
xor ebx, ebx
mov dword [ebp + 0x60], 0x5db7f8
mov dword [esp + 0x54], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x68], ebx
push fcn.0043ffd0
push fcn.0044c710
push 4
lea ecx, [ebp + 0x70]
push 0x10
push ecx
mov byte [esp + 0x68], 1
call fcn.005c3e67
push fcn.0043ffd0
push fcn.0044c710
push 4
lea edx, [ebp + 0xb0]
push 0x10
push edx
mov byte [esp + 0x68], 2
call fcn.005c3e67
lea edi, [ebp + 0x114]
mov byte [esp + 0x54], 3
mov esi, edi
mov dword [ebp + 0x110], ebx
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.00417f80
lea ecx, [esi + 0x5c]
mov byte [esp + 0x54], 4
call fcn.0044c710
mov dword [esi], fcn.005498b0
mov byte [esi + 0x6c], bl
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebx
lea eax, [esp + 0x12]
lea ecx, [esi + 0x7c]
push eax
mov byte [esp + 0x58], 5
call fcn.00486050
mov dword [esi], 0x5da45c
push fcn.00463a40
push 0x4638e0
lea eax, [ebp + 0x20c]
push 8
or esi, 0xffffffff
push 0xd8
push eax
mov byte [esp + 0x68], 6
mov dword [ebp + 0x1a0], esi
mov dword [ebp + 0x1ac], ebx
mov dword [ebp + 0x1bc], ebx
mov byte [ebp + 0x209], bl
call fcn.005c3e67
push fcn.00482db0
mov byte [esp + 0x58], 7
mov dword [ebp + 0x8f0], esi
push 0x463d30
push 4
lea ecx, [ebp + 0x8f4]
push 0x1c
push ecx
call fcn.005c3e67
lea ecx, [ebp + 0x964]
mov byte [esp + 0x54], 8
call fcn.00462c70
mov dword [ebp + 0xa4c], ebx
mov dword [ebp + 0xa48], 0x5db058
mov dword [ebp + 0xa54], ebx
mov dword [ebp + 0xa50], ebx
mov dword [ebp + 0xa5c], ebx
mov dword [ebp + 0xa58], 0x5db7f0
mov dword [ebp + 0xa64], ebx
mov dword [ebp + 0xa60], ebx
mov dl, byte [esp + 0x12]
mov dword [ebp + 0xa6c], ebx
mov byte [ebp + 0xa68], dl
mov dword [ebp + 0xa70], ebx
mov dword [ebp + 0xa74], ebx
lea ecx, [ebp + 0xa78]
mov byte [esp + 0x54], 0xc
call fcn.0046a8e0
mov al, byte [esp + 0x12]
mov dword [ebp + 0xbe4], ebx
mov byte [ebp + 0xbe0], al
mov dword [ebp + 0xbe8], ebx
mov dword [ebp + 0xbec], ebx
mov byte [ebp + 0xbf0], bl
mov dword [ebp], 0x5db7ec
mov dword [0x5f3390], ebp
mov dword [0x5f33a0], ebx
mov byte [esp + 0x54], 0xe
mov dword [ebp + 0xbf4], ebx
mov byte [ebp + 0x208], bl
mov dword [ebp + 0x204], esi
mov dword [ebp + 0x200], esi
lea eax, [ebp + 0x100]
lea ecx, [ebp + 0x1c0]
mov dword [esp + 0x18], 4
mov esi, ecx
xor edx, edx
add ecx, 0x10
add eax, 4
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x18]
mov dword [eax - 0x14], 0xffffffff
mov dword [eax - 4], ebx
dec edx
mov dword [esp + 0x18], edx
jne 0x46363b
lea ecx, [esp + 0x12]
push ecx
push str.deck_c_kabegami.txt
lea ecx, [esp + 0x44]
call fcn.0040e960
mov esi, eax
lea edx, [esp + 0x13]
lea ecx, [esp + 0x2c]
push edx
push str.data_J_
mov byte [esp + 0x5c], 0xf
call fcn.0040e960
sub esp, 0x10
mov byte [esp + 0x64], 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
push esi
push eax
push ecx
call fcn.0040eed0
mov edx, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [edx]
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0xf
call fcn.00402850
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 0xe
call fcn.00402850
lea edx, [ebp + 0x8cc]
mov ecx, 8
xor eax, eax
mov edi, edx
lea esi, [ebp + 0x20c]
mov dword [esp + 0x1c], 0x5db6e0
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edx
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
push ebx
mov dword [esp + 0x28], ecx
mov byte [ecx], al
call fcn.00402850
mov edi, str.deck_c_font.txt
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [esp + 0x28]
push edi
mov dword [esp + 0x3c], edi
call fcn.00402980
test al, al
je 0x463768
mov ecx, dword [esp + 0x24]
mov esi, str.deck_c_font.txt
mov eax, dword [ecx + 4]
mov ecx, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x24]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov esi, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov eax, dword [eax + 4]
add eax, ecx
mov byte [eax], bl
mov ecx, esi
call fcn.00463ac0
mov edi, dword [esp + 0x1c]
push 9
push ebx
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esi + 0xa0], ecx
mov ecx, esi
mov dword [esi + 0xa4], eax
call fcn.0046ff50
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x13]
mov ecx, dword [eax]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
push str._02d
call fcn.0040e960
mov ecx, esi
call fcn.0046fc10
mov eax, dword [esp + 0x18]
add edi, 8
add eax, 4
add esi, 0xd8
cmp edi, 0x5db720
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
jl 0x4636f8
xor ecx, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0x5db7e4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ecx
mov eax, dword [ebp + 0xa6c]
lea esi, [ebp + 0xa68]
cmp eax, ebx
mov byte [esp + 0x54], 0x11
je 0x46381a
mov edx, dword [esi + 8]
mov edi, edx
sub edi, eax
sar edi, 4
cmp edi, 0xa
jae 0x463840
cmp eax, ebx
jne 0x46381e
xor ecx, ecx
jmp 0x463826
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 4
mov eax, dword [esi + 8]
lea edx, [esp + 0x2c]
push edx
mov edx, 0xa
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.00478170
jmp 0x463863
jbe 0x463867
add eax, 0xa0
push eax
push edx
push edx
call fcn.004793d0
add esp, 0xc
mov edi, eax
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.00478450
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], 0x5db7e4
cmp ecx, ebx
mov byte [esp + 0x54], 0x12
je 0x4638a2
lea eax, [esp + 0x2c]
cmp ecx, eax
jne 0x463890
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x4638a2
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x4638a2
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
xor eax, eax
mov dword [ebp + 0xbd8], ebx
mov dword [ebp + 0xbd4], ebx
mov dword [ebp + 8], eax
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
pop edi
mov dword [ebp + 0x14], eax
pop esi
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 0x1b8], ebx
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret