Function at 0x4182e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d0f72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
push 1
mov dword [esp + 0x14], edi
call fcn.0045cf80
lea esi, [edi + 0x54]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], esi
call fcn.00418560
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5da880
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
push ebx
push ebx
lea ecx, [esi + 0x18]
mov byte [esp + 0x28], 2
call fcn.0041a700
push ebx
push ebx
lea ecx, [esi + 0x28]
mov byte [esp + 0x28], 3
call fcn.0041a700
push ebx
push ebx
lea ecx, [esi + 0x38]
mov byte [esp + 0x28], 4
call fcn.0041a700
push ebx
push ebx
lea ecx, [esi + 0x48]
mov byte [esp + 0x28], 5
call fcn.0041a700
mov dword [edi + 0xac], 0x5da720
mov eax, dword [0x5f33e8]
mov ecx, eax
inc eax
test ecx, ecx
mov byte [esp + 0x20], 6
mov dword [0x5f33e8], eax
jne 0x4183e5
push 0x8c
call fcn.0054a1d0
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0x20], 7
je 0x4183ce
mov ecx, esi
call fcn.00413890
lea edx, [esp + 0xe]
lea ecx, [esi + 0x7c]
push edx
mov byte [esp + 0x24], 8
call fcn.00486050
mov dword [esi], 0x5da45c
mov ecx, esi
jmp 0x4183d0
xor ecx, ecx
push str.duel_font_number.txt
mov byte [esp + 0x24], 6
mov dword [0x5f33ec], ecx
call fcn.00413db0
mov dword [edi + 0xb0], ebx
mov dword [edi + 0xb4], 0xa
mov dword [edi], 0x5da868
mov eax, dword [0x5f2fd0]
mov ecx, eax
inc eax
test ecx, ecx
mov byte [esp + 0x20], 9
mov dword [0x5f2fd0], eax
jne 0x418507
push 0x58
call fcn.0054a1d0
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0x20], 0xa
je 0x418485
mov ecx, esi
call fcn.00418560
push ebx
push ebx
lea ecx, [esi + 8]
mov byte [esp + 0x28], 0xb
mov dword [esi + 4], ebx
call fcn.0041a700
push ebx
push ebx
lea ecx, [esi + 0x18]
mov byte [esp + 0x28], 0xc
call fcn.0041a700
push ebx
push ebx
lea ecx, [esi + 0x28]
mov byte [esp + 0x28], 0xd
call fcn.0041a700
push ebx
push ebx
lea ecx, [esi + 0x38]
mov byte [esp + 0x28], 0xe
call fcn.0041a700
push ebx
push ebx
lea ecx, [esi + 0x48]
mov byte [esp + 0x28], 0xf
call fcn.0041a700
jmp 0x418487
xor esi, esi
push 0x8c
mov byte [esp + 0x24], 9
mov dword [0x5f2fd4], esi
call fcn.0054a1d0
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0x20], 0x10
je 0x4184f0
mov ecx, esi
call fcn.00417f80
lea ecx, [esi + 0x5c]
mov byte [esp + 0x20], 0x11
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 edx, [esp + 0xf]
lea ecx, [esi + 0x7c]
push edx
mov byte [esp + 0x24], 0x12
call fcn.00486050
mov dword [esi], 0x5da45c
mov ecx, esi
jmp 0x4184f2
xor ecx, ecx
push str.duel_card_card.txt
mov byte [esp + 0x24], 9
mov dword [0x5f2fd8], ecx
call fcn.00413db0
mov edx, dword [esp + 0x28]
mov eax, ebx
mov ecx, ebx
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
push edx
mov ecx, edi
mov byte [edi + 0x20], 1
mov byte [edi + 0x21], bl
mov byte [edi + 0x22], bl
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], 0x10000
mov dword [edi + 0x48], ebx
call fcn.00418b10
mov ecx, dword [esp + 0x18]
mov dword [edi + 0xc], 0x100
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4