Function at 0x40f68a
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5d02cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
call fcn.00493f30
lea ebp, [esi + 8]
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [esp + 0x28], ebx
mov dword [ebp], 0x5da5fc
call fcn.004a8370
lea eax, [esi + 0x240]
mov byte [esp + 0x28], 1
push eax
mov dword [eax], 0x5da5f4
mov dword [eax + 4], esi
call fcn.00493fe0
add esp, 4
lea edi, [esi + 0x248]
mov byte [esp + 0x28], 2
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.0054b0a0
mov byte [edi + 0x20], bl
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi], 0x5da5a8
push 1
mov ecx, edi
mov byte [esp + 0x2c], 3
mov dword [0x5f33e0], edi
call fcn.0054afc0
lea edi, [esi + 0x27c]
mov byte [esp + 0x28], 4
mov ecx, edi
mov dword [esp + 0x1c], edi
call fcn.0054b480
lea ecx, [edi + 0x54]
mov byte [esp + 0x28], 5
call fcn.005476a0
lea ecx, [edi + 0x68]
mov dword [esp + 0x14], ecx
call fcn.00413890
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x13]
push eax
add ecx, 0x7c
mov byte [esp + 0x2c], 6
call fcn.00486050
mov edx, dword [esp + 0x14]
mov dword [edx], 0x5da45c
lea ecx, [edi + 0xf4]
mov byte [esp + 0x28], 7
call fcn.0040fbb0
mov byte [edi + 0x10d], 1
mov dword [edi], 0x5da594
mov dword [0x5f33e4], edi
push 1
mov ecx, edi
mov byte [esp + 0x2c], 8
mov byte [edi + 0x40], bl
mov byte [edi + 0x41], 1
mov dword [edi + 0x108], ebx
mov byte [edi + 0x10c], bl
call fcn.0054b5c0
mov byte [esp + 0x28], 9
lea edi, [esi + 0x38c]
mov ecx, edi
call fcn.0055d450
mov dword [edi], 0x5da590
lea ecx, [esi + 0x410]
mov byte [esp + 0x28], 0xa
call fcn.004797e0
lea eax, [esi + 0xe0c]
mov byte [esp + 0x28], 0xb
push eax
mov dword [eax + 0x118], ebx
mov byte [eax + 0x120], bl
mov byte [eax + 0x121], bl
mov byte [eax + 0x122], bl
mov dword [eax + 0x124], ebx
mov dword [eax], 0x5da58c
mov dword [0x5f33c0], eax
mov byte [eax + 0x114], bl
mov dword [eax + 0xc], ebx
mov dword [eax + 0x11c], ebx
call fcn.00493fe0
add esp, 4
lea ecx, [esi + 0xf34]
mov byte [esp + 0x28], 0xc
call fcn.005c0070
mov al, byte [esp + 0x13]
lea edi, [esi + 0xf38]
push ebx
mov ecx, edi
mov byte [esp + 0x2c], 0xd
mov dword [esp + 0x20], edi
mov byte [edi], al
call fcn.00402850
lea ecx, [edi + 0x10]
mov byte [esp + 0x28], 0xe
call fcn.0044c710
sub esp, 0x10
lea edx, [esp + 0x23]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
push str.SOFTWAREKONAMIYu_Gi_Oh__Power_Of_Chaos
mov byte [esp + 0x40], 0xf
mov dword [0x5f33f8], edi
call fcn.0040e960
mov ecx, edi
call fcn.0040fef0
lea eax, [esi + 0xf58]
mov dword [eax], 0x5da584
mov dword [0x5f301c], eax
lea eax, [esi + 0xf5c]
mov byte [eax + 4], 1
mov dword [eax + 8], ebx
mov dword [eax], 0x5da57c
mov dword [0x5f32f0], eax
lea edi, [esi + 0xf68]
mov byte [esp + 0x28], 0x12
mov dword [esp + 0x1c], edi
lea ecx, [edi + 4]
call fcn.0044c710
lea ecx, [edi + 0x14]
mov byte [esp + 0x28], 0x13
call fcn.0040f950
lea ecx, [edi + 0x34]
mov byte [esp + 0x28], 0x14
call fcn.00410060
lea eax, [esp + 0x13]
mov byte [esp + 0x28], 0x15
push eax
lea ecx, [edi + 0x78]
call fcn.00486050
mov ecx, edi
mov byte [esp + 0x28], 0x16
mov dword [0x5f3248], edi
call fcn.00410270
lea ecx, [esi + 0xff8]
mov byte [esp + 0x28], 0x17
call fcn.00443460
mov eax, esi
mov dword [esi], 0x5da574
neg eax
sbb eax, eax
mov dword [ebp], 0x5da570
and eax, ebp
mov dword [0x5f2fb8], esi
push eax
mov byte [esp + 0x2c], 0x18
mov byte [esi + 0x1068], 1
call fcn.00493fe0
mov ecx, dword [esp + 0x24]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret