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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61e8ab
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [edi + 8]
mov esi, dword [eax + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
mov dword [esp + 0x24], esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x48]
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call edx
fild dword [eax]
cmp byte [0xf0f4f4], 0
fdiv qword [0x657590]
fstp dword [esp + 0x10]
je 0x413ba9
push 0x308
call fcn.005a9085
jmp 0x413bcf
cmp dword [0xf0f300], 0
jne 0x413bc5
mov byte [0xf0f4f4], 1
call fcn.0045b9cd
mov byte [0xf0f4f4], 0
push 0x308
call fcn.0045b7e8
mov dword [esp + 0x1c], eax
add esp, 4
mov dword [esp + 0x88], 0
test eax, eax
je 0x413bee
push esi
push eax
call fcn.00451fa0
jmp 0x413bf0
xor eax, eax
mov dword [esp + 0x88], 0xffffffff
mov dword [edi + 0xbd7d8], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
mov esi, dword [eax + 0xe6978]
call fcn.004642a1
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xe6978]
mov ebx, dword [eax + 0xd0]
lea esi, [ebx + 0xbf0]
mov dword [esp + 0x38], vtable.NekoGameSDK4th::Base::Thread::CCriticalLock.0
mov dword [esp + 0x3c], esi
test esi, esi
jne 0x413c49
push str.CCriticalLock::CCriticalLock__
call fcn.0045bac9
add esp, 4
jmp 0x413c51
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x88], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xcc]
mov ecx, ebx
call edx
test al, al
je 0x413c7d
mov eax, dword [ebx]
mov edx, dword [eax + 0xc8]
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x98]
mov edx, dword [eax + 0x40]
lea ecx, [ebx + 0x98]
push 0x190
call edx
mov eax, dword [ebx + 0x98]
mov edx, dword [eax + 0x6c]
lea ecx, [ebx + 0x98]
push 0x191
push 0x190
call edx
push 0xc8
add ebx, 0x1d0
call fcn.004bd319
mov dword [esp + 0x88], 0xffffffff
test esi, esi
je 0x413cd6
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xe6978]
mov ebx, dword [eax + 0xd0]
lea ecx, [ebx + 0xbf0]
mov dword [esp + 0x38], vtable.NekoGameSDK4th::Base::Thread::CCriticalLock.0
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x413d0d
push str.CCriticalLock::CCriticalLock__
call fcn.0045bac9
add esp, 4
jmp 0x413d13
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x88], 2
mov eax, dword [ebx]
mov edx, dword [eax + 0xcc]
mov ecx, ebx
call edx
test al, al
je 0x413d42
mov eax, dword [ebx]
mov edx, dword [eax + 0xc8]
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x98]
mov edx, dword [eax + 0x40]
lea esi, [ebx + 0x98]
push 0x320
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
push 0x321
push 0x320
mov ecx, esi
call edx
push 0x190
add ebx, 0x1d0
call fcn.004bd319
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x413d97
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xe6978]
mov ebx, dword [eax + 0xd0]
lea ecx, [ebx + 0xbf0]
mov dword [esp + 0x38], vtable.NekoGameSDK4th::Base::Thread::CCriticalLock.0
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x413dce
push str.CCriticalLock::CCriticalLock__
call fcn.0045bac9
add esp, 4
jmp 0x413dd4
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x88], 3
mov eax, dword [ebx]
mov edx, dword [eax + 0xcc]
mov ecx, ebx
call edx
test al, al
je 0x413e03
mov eax, dword [ebx]
mov edx, dword [eax + 0xc8]
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x98]
mov edx, dword [eax + 0x40]
lea esi, [ebx + 0x98]
push 0x258
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
push 0x259
push 0x258
mov ecx, esi
call edx
push 0x12c
add ebx, 0x1d0
call fcn.004bd319
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x413e58
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xe6978]
mov ebx, dword [eax + 0xd0]
lea ecx, [ebx + 0xbf0]
mov dword [esp + 0x38], vtable.NekoGameSDK4th::Base::Thread::CCriticalLock.0
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x413e8f
push str.CCriticalLock::CCriticalLock__
call fcn.0045bac9
add esp, 4
jmp 0x413e95
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x88], 4
mov eax, dword [ebx]
mov edx, dword [eax + 0xcc]
mov ecx, ebx
call edx
test al, al
je 0x413ec4
mov eax, dword [ebx]
mov edx, dword [eax + 0xc8]
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x98]
mov edx, dword [eax + 0x40]
lea esi, [ebx + 0x98]
push 0x4b0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
push 0x4b1
push 0x4b0
mov ecx, esi
call edx
push 0x258
add ebx, 0x1d0
call fcn.004bd319
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x413f19
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xe6978]
mov ebx, dword [eax + 0xd0]
lea ecx, [ebx + 0xbf0]
mov dword [esp + 0x38], vtable.NekoGameSDK4th::Base::Thread::CCriticalLock.0
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x413f50
push str.CCriticalLock::CCriticalLock__
call fcn.0045bac9
add esp, 4
jmp 0x413f56
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x88], 5
mov eax, dword [ebx]
mov edx, dword [eax + 0xcc]
mov ecx, ebx
call edx
test al, al
je 0x413f85
mov eax, dword [ebx]
mov edx, dword [eax + 0xc8]
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x98]
mov edx, dword [eax + 0x40]
lea esi, [ebx + 0x98]
push 0x3e8
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
push 0x3e9
push 0x3e8
mov ecx, esi
call edx
push 0x1f4
add ebx, 0x1d0
call fcn.004bd319
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x413fda
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xe6978]
mov ebx, dword [eax + 0xd0]
lea ecx, [ebx + 0xbf0]
mov dword [esp + 0x38], vtable.NekoGameSDK4th::Base::Thread::CCriticalLock.0
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x414011
push str.CCriticalLock::CCriticalLock__
call fcn.0045bac9
add esp, 4
jmp 0x414017
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x88], 6
mov eax, dword [ebx]
mov edx, dword [eax + 0xcc]
mov ecx, ebx
call edx
test al, al
je 0x414046
mov eax, dword [ebx]
mov edx, dword [eax + 0xc8]
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x98]
mov edx, dword [eax + 0x40]
lea esi, [ebx + 0x98]
push 0x578
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
push 0x579
push 0x578
mov ecx, esi
call edx
push 0x2bc
add ebx, 0x1d0
call fcn.004bd319
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x41409b
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xe6978]
mov ecx, dword [eax + 0xe4]
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
mov ebx, dword [eax + 0xd0]
mov esi, dword [ebx]
fdiv qword [0x657618]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul qword [0x6574e0]
call fcn.005faf10
mov edx, dword [esi + 0xc4]
push eax
push 0
mov ecx, ebx
call edx
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x20d8]
mov ebx, 0xf
lea esi, [ebx + 1]
cmp eax, 1
jne 0x414167
push esi
push str.objm000_000.bmp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.00401500
push 0
push 1
mov dword [esp + 0x90], 7
mov eax, dword [edi + 0xbd7dc]
mov eax, dword [eax + 0x140]
lea ecx, [edi + 0xbd7dc]
push 0x15
lea edx, [esp + 0x50]
push edx
call eax
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x5c], esi
jb 0x414167
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0045ba36
add esp, 4
push esi
push str.obj_n100_000.bmp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.00401500
push 0
push 1
mov dword [esp + 0x90], 8
mov edx, dword [edi + 0xbd870]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0xbd870]
push 0x15
lea eax, [esp + 0x50]
push eax
call edx
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x5c], esi
jb 0x4141cf
mov eax, dword [esp + 0x48]
push eax
call fcn.0045ba36
add esp, 4
push esi
push str.obj_n000_000.bmp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.00401500
push 0
push 1
mov dword [esp + 0x90], 9
mov edx, dword [edi + 0xbd904]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0xbd904]
push 0x15
lea eax, [esp + 0x50]
push eax
call edx
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x5c], esi
jb 0x414237
mov eax, dword [esp + 0x48]
push eax
call fcn.0045ba36
add esp, 4
push esi
push str.obje001_000.bmp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.00401500
push 0
push 1
mov dword [esp + 0x90], 0xa
mov edx, dword [edi + 0xbe410]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0xbe410]
push 0x15
lea eax, [esp + 0x50]
push eax
call edx
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x5c], esi
jb 0x41429f
mov eax, dword [esp + 0x48]
push eax
call fcn.0045ba36
add esp, 4
push esi
push str.obje001_001.bmp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.00401500
push 0
push 1
mov dword [esp + 0x90], 0xb
mov edx, dword [edi + 0xbe4a4]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0xbe4a4]
push 0x15
lea eax, [esp + 0x50]
push eax
call edx
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x5c], esi
jb 0x414307
mov eax, dword [esp + 0x48]
push eax
call fcn.0045ba36
add esp, 4
push esi
push str.obje001_002.bmp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.00401500
push 0
push 1
mov dword [esp + 0x90], 0xc
mov edx, dword [edi + 0xbe94c]
mov edx, dword [edx + 0x140]
lea ebx, [edi + 0xbe94c]
push 0x15
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x5c], esi
jb 0x414371
mov eax, dword [esp + 0x48]
push eax
call fcn.0045ba36
add esp, 4
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call edx
fld dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
fmul qword [0x657a08]
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
xor esi, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], esi
call fcn.005faf10
mov dword [esp + 0x18], eax
mov eax, 4
push eax
push esi
mov eax, 3
push eax
push esi
mov eax, 2
push eax
push esi
mov eax, 1
push eax
push esi
xor eax, eax
push eax
mov ecx, esi
imul ecx, ecx, 0x74
mov edx, dword [ecx + edi + 0xbe538]
push esi
mov eax, 5
push eax
mov eax, 9
push eax
lea ebx, [ecx + edi + 0xbe538]
lea eax, [edi + 0xbe4a4]
push eax
mov eax, dword [edx + 0x84]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push 0
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push 1
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
push 0
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x7c]
mov ecx, ebx
call eax
cmp esi, 8
jae 0x414466
fld dword [esp + 0x10]
fld qword [0x657a28]
fmul st(1)
call fcn.005faf10
fild dword [esp + 0x14]
mov dword [esp + 0x30], eax
fmul qword [0x657a20]
fadd qword [0x657a18]
fmulp st(1)
call fcn.005faf10
mov edx, dword [ebx]
push eax
mov eax, dword [esp + 0x34]
mov ecx, ebx
jmp 0x414499
jne 0x41449f
fld dword [esp + 0x10]
fld qword [0x657a28]
fmul st(1)
call fcn.005faf10
fmul qword [0x657a10]
mov dword [esp + 0x38], eax
call fcn.005faf10
mov edx, dword [edi + 0xbe8d8]
lea ecx, [edi + 0xbe8d8]
push eax
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + 0x2c]
push eax
call edx
mov eax, esi
imul eax, eax, 0x154
mov edx, dword [eax + edi + 0xbe9e0]
lea ecx, [eax + edi + 0xbe9e0]
lea eax, [edi + 0xbe94c]
push eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x10], ecx
call eax
mov edx, dword [esp + 0x28]
lea eax, [esi + 1]
mov dword [esp + 0x20], eax
imul eax, edx
mov ecx, esi
imul ecx, edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
mov edx, dword [edx + 0x4c]
mov dword [esp + 0x1c], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x1c]
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
push 0xff
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
push 0xf
call edx
cmp esi, 8
jne 0x414553
fld dword [esp + 0x10]
fmul qword [0x657758]
call fcn.005faf10
mov edx, dword [edi + 0xbf480]
mov edx, dword [edx + 0x44]
lea ecx, [edi + 0xbf480]
push eax
mov eax, dword [esp + 0x1c]
push eax
call edx
mov esi, dword [esp + 0xc]
jmp 0x414585
fild dword [esp + 0x14]
fmul qword [0x657a20]
fadd qword [0x657a18]
fsub qword [0x657a00]
fmul dword [esp + 0x10]
call fcn.005faf10
mov esi, dword [esp + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call edx
push esi
push ebx
lea eax, [edi + 0xbf5d4]
push eax
call fcn.0044f0f0
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], esi
cmp esi, 9
jb 0x4143b0
mov eax, dword [edi + 0xbe538]
mov edx, dword [eax + 0x78]
lea esi, [edi + 0xbe538]
mov ecx, esi
call edx
mov eax, dword [edi + 0xbe5ac]
mov edx, dword [eax + 0x78]
lea ebx, [edi + 0xbe5ac]
mov ecx, ebx
call edx
mov eax, dword [edi + 0xbe7f0]
mov edx, dword [eax + 0x78]
lea ecx, [edi + 0xbe7f0]
call edx
mov eax, dword [edi + 0xbe864]
mov edx, dword [eax + 0x78]
lea ecx, [edi + 0xbe864]
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 1
mov ecx, esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
push 1
mov ecx, ebx
call edx
mov ebx, dword [esp + 0x24]
mov dword [edi + 0xbf5dc], ebx
mov dword [edi + 0xbf600], 2
mov eax, dword [ebx + 0x7e33c]
push eax
push 0x64e188
mov dword [edi + 0xbe3e8], eax
call fcn.00401100
mov eax, dword [ebx + 0x79318]
push eax
push 0x64de54
call fcn.00401100
mov ecx, dword [ebx + 0x7931c]
push ecx
push 0x64de5c
call fcn.00401100
mov edx, dword [ebx + 0x79320]
push edx
push 0x64de68
call fcn.00401100
mov eax, dword [ebx + 0x79324]
push eax
push 0x64de74
call fcn.00401100
mov ecx, dword [ebx + 0x79328]
push ecx
push 0x64de84
call fcn.00401100
mov edx, dword [ebx + 0x7932c]
push edx
push 0x64de90
call fcn.00401100
mov eax, dword [ebx + 0x79330]
push eax
push 0x64de9c
call fcn.00401100
mov ecx, dword [ebx + 0x79334]
add esp, 0x40
push ecx
push 0x64dea8
call fcn.00401100
mov edx, dword [ebx + 0x79338]
push edx
push 0x64deb4
call fcn.00401100
mov eax, dword [ebx + 0x7933c]
push eax
push 0x64debc
call fcn.00401100
mov eax, dword [edi + 0xbe3e8]
add esp, 0x18
push eax
mov ecx, edi
call fcn.00415b20
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x3138]
push 0x10
push str.obj_n004_000.bmp
lea ecx, [esp + 0x4c]
mov dword [edi + 0xbf73c], eax
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.00401500
push 0
push 1
mov dword [esp + 0x90], 0xd
mov edx, dword [edi + 0xbf604]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0xbf604]
push 0x15
lea eax, [esp + 0x50]
push eax
call edx
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0x4147b9
cmp byte [0xf0f4f5], 0
je 0x414776
mov eax, dword [esp + 0x48]
push eax
call fcn.005a914f
add esp, 4
jmp 0x4147b9
mov ecx, dword [esp + 0x48]
mov esi, dword [0xf0f300]
push ecx
call fcn.0045b855
cmp dword [0xf0f2c4], 0
jne 0x4147b9
mov ecx, dword [0xf0f300]
mov byte [0xf0f4f5], 1
test ecx, ecx
je 0x4147a8
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0xf0f300], 0
mov byte [0xf0f4f5], 0
push 0x10
push str.obj_n004_001.bmp
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
call fcn.00401500
push 0
push 1
mov dword [esp + 0x90], 0xe
mov edx, dword [edi + 0xbf698]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0xbf698]
push 0x15
lea eax, [esp + 0x6c]
push eax
call edx
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x78], 0x10
jb 0x414878
cmp byte [0xf0f4f5], 0
je 0x414835
mov eax, dword [esp + 0x64]
push eax
call fcn.005a914f
add esp, 4
jmp 0x414878
mov ecx, dword [esp + 0x64]
mov esi, dword [0xf0f300]
push ecx
call fcn.0045b855
cmp dword [0xf0f2c4], 0
jne 0x414878
mov ecx, dword [0xf0f300]
mov byte [0xf0f4f5], 1
test ecx, ecx
je 0x414867
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0xf0f300], 0
mov byte [0xf0f4f5], 0
mov eax, 0xa
mov ecx, 1
lea edx, [edi + 0xbf698]
mov dword [edi + 0xbf730], edx
mov dword [edi + 0xbf734], eax
mov dword [edi + 0xbf738], ecx
mov dword [edi + 0xbe3bc], ebx
mov dword [edi + 0xbe3e0], 2
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret