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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x625585
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x67e034]
xor eax, esp
mov dword [esp + 0x518], eax
push ebx
push esi
push edi
mov eax, dword [0x67e034]
xor eax, esp
push eax
lea eax, [esp + 0x530]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x64], ebx
test ebx, ebx
je 0x578670
lea ecx, [ebx + 0x10]
jmp 0x578672
xor ecx, ecx
mov eax, dword [ebx + 8]
push ecx
call fcn.004c032d
push 0x3208
call fcn.0045ba07
pop ecx
mov dword [esp + 0x20], eax
and dword [esp + 0x538], 0
test eax, eax
je 0x5786aa
mov eax, dword [ebx + 8]
add eax, 0x87488
push eax
push dword [esp + 0x24]
call fcn.00574461
jmp 0x5786ac
xor eax, eax
or dword [esp + 0x538], 0xffffffff
mov dword [ebx + 0x310], eax
lea eax, [ebx + 0x158]
push 0xa
mov dword [esp + 0x7c], eax
mov esi, eax
pop edi
push 0x48
call fcn.0045ba07
pop ecx
test eax, eax
je 0x5786e5
mov ecx, dword [ebx + 8]
add ecx, 0x87488
call fcn.0059e798
jmp 0x5786e7
xor eax, eax
mov dword [esi], eax
add esi, 4
dec edi
jne 0x5786c9
lea eax, [esp + 0x24]
call fcn.004c4b7b
push str.cfgCgViewSceneInner.ini
lea ecx, [esp + 0x208]
mov dword [esp + 0x53c], 1
call fcn.00401330
lea eax, [esp + 0x204]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x53c], 2
call fcn.004c4bcf
neg al
sbb al, al
inc al
lea ecx, [esp + 0x204]
mov byte [esp + 0x1b], al
mov byte [esp + 0x538], 1
call fcn.00401370
cmp byte [esp + 0x1b], 0
jne 0x5795b7
push fcn.00401370
push 0x4129b0
push 2
push 0x1c
lea eax, [esp + 0x1dc]
push eax
call fcn.005a87bf
mov byte [esp + 0x538], 3
jmp 0x579521
mov eax, dword [esp + 0x1e0]
push str.plate
push 6
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
push 0xf
pop esi
test eax, eax
jne 0x5789f2
xor edi, edi
push edi
lea ecx, [esp + 0x208]
mov dword [esp + 0x220], esi
call fcn.00401670
mov byte [esp + 0x538], 4
push 2
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
call fcn.004c4c80
test al, al
je 0x578969
mov eax, dword [esp + 0x1e0]
push 0x640278
push 2
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x578969
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x1d4]
push eax
lea ecx, [esp + 0x210]
call fcn.004013d0
push edi
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
call fcn.004c4c80
test al, al
je 0x578969
mov eax, dword [esp + 0x1e0]
push 0x64027c
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x578969
lea eax, [esp + 0x1cc]
call fcn.00488a03
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x1e8]
call fcn.00488a03
push edi
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], eax
call fcn.004c4c80
test al, al
je 0x578969
mov eax, dword [esp + 0x1e0]
push 0x640280
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x578969
lea eax, [esp + 0x1cc]
call fcn.00488a03
mov dword [esp + 0x70], eax
lea eax, [esp + 0x1e8]
call fcn.00488a03
push edi
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], eax
call fcn.004c4c80
test al, al
je 0x578969
mov eax, dword [esp + 0x1e0]
push 0x640284
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x578969
lea eax, [esp + 0x1cc]
call fcn.00488a03
mov dword [esp + 0x68], eax
lea eax, [esp + 0x1e8]
call fcn.00488a03
mov dword [esp + 0x6c], eax
jmp 0x578953
mov eax, dword [esp + 0x1e0]
push 0x640288
push 2
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x578969
push 2
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
call fcn.004c4c80
test al, al
jne 0x578934
push 0x5c
call fcn.0045ba07
pop ecx
test eax, eax
je 0x578987
mov ecx, dword [ebx + 8]
add ecx, 0x87488
call fcn.0059efd3
mov edi, eax
jmp 0x578989
xor edi, edi
push dword [esp + 0x74]
lea eax, [esp + 0x208]
push dword [esp + 0x74]
push 1
push eax
mov eax, edi
call fcn.0059f04e
test al, al
je 0x5789d1
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x60]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0x54], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x58], eax
mov dword [edi + 0x2c], 0xff
mov dword [ebx + 0x154], edi
jmp 0x5789de
test edi, edi
je 0x5789de
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x20]
lea ecx, [esp + 0x204]
mov byte [esp + 0x538], 3
call fcn.00401370
mov eax, dword [esp + 0x1e0]
push str.number
push 7
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
jne 0x578c6a
mov edi, fcn.00401370
push edi
push 0x4129b0
push 0x14
push 0x1c
lea eax, [esp + 0x304]
push eax
call fcn.005a87bf
lea eax, [esp + 0x2f4]
mov byte [esp + 0x538], 5
mov dword [esp + 0x14], eax
xor esi, esi
push edi
push 0x4129b0
push 5
push 0x1c
lea eax, [esp + 0x274]
push eax
call fcn.005a87bf
push 5
lea edx, [esp + 0x268]
lea ecx, [esp + 0x28]
mov byte [esp + 0x53c], 6
call fcn.004c4c80
test al, al
je 0x578ba9
mov eax, dword [esp + 0x278]
push 0x640294
push 2
pop edi
lea ecx, [esp + 0x268]
call fcn.0041ae10
test eax, eax
je 0x578ba4
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x26c]
push eax
call fcn.004013d0
lea eax, [esp + 0x280]
call fcn.00488a03
mov dword [esp + esi + 0x8c], eax
lea eax, [esp + 0x29c]
call fcn.00488a03
mov dword [esp + esi + 0x90], eax
lea eax, [esp + 0x2b8]
call fcn.00488a03
mov dword [esp + esi + 0x12c], eax
lea eax, [esp + 0x2d4]
call fcn.00488a03
mov edi, fcn.00401370
push edi
push 5
mov dword [esp + esi + 0x138], eax
push 0x1c
lea eax, [esp + 0x270]
push eax
mov byte [esp + 0x548], 5
call fcn.005a85ef
add dword [esp + 0x14], 0x1c
add esi, 8
cmp esi, 0x58
jl 0x578a46
and dword [esp + 0x14], 0
lea esi, [ebx + 0x318]
push 2
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
call fcn.004c4c80
test al, al
je 0x578bf6
mov eax, dword [esp + 0x1e0]
push 0x640298
push 2
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x578bf6
lea eax, [esp + 0x1cc]
call fcn.00488a03
mov dword [esi - 4], eax
lea eax, [esp + 0x1e8]
call fcn.00488a03
inc dword [esp + 0x14]
mov dword [esi], eax
add esi, 8
cmp dword [esp + 0x14], 5
jl 0x578b3e
jmp 0x578be1
mov edi, fcn.00401370
push edi
push 5
push 0x1c
lea eax, [esp + 0x270]
push eax
mov byte [esp + 0x548], 5
call fcn.005a85ef
jmp 0x578bf6
mov eax, dword [esp + 0x1e0]
push 0x64029c
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x578bf6
push edi
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
call fcn.004c4c80
test al, al
jne 0x578bc5
lea eax, [esp + 0x2f4]
xor edi, edi
mov dword [esp + 0x14], eax
mov esi, dword [ebx + 0x310]
mov eax, edi
shl eax, 3
push dword [esp + eax + 0x130]
push dword [esp + eax + 0x130]
push dword [esp + eax + 0x98]
push dword [esp + eax + 0x98]
push dword [esp + 0x24]
call fcn.00574542
add dword [esp + 0x14], 0x1c
inc edi
cmp edi, 0xb
jl 0x578c03
mov esi, dword [ebx + 0x310]
call fcn.00574586
push fcn.00401370
push 0x14
push 0x1c
lea eax, [esp + 0x300]
push eax
mov byte [esp + 0x548], 3
call fcn.005a85ef
push 0xf
pop esi
mov eax, dword [esp + 0x1e0]
push 0x6402a0
push 0xc
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x578d08
mov eax, dword [esp + 0x1e0]
push 0x6402b0
mov edi, esi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x578d08
mov eax, dword [esp + 0x1e0]
push 0x6402c0
push 0xe
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x578d08
mov eax, dword [esp + 0x1e0]
push 0x6402d0
push 0xb
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x578d08
mov eax, dword [esp + 0x1e0]
push 0x6402dc
push 0xc
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
jne 0x579521
mov eax, dword [esp + 0x1e0]
and dword [esp + 0x14], 0
push str.button_auto
push 0xc
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
jne 0x578d30
and dword [esp + 0x14], eax
mov eax, dword [esp + 0x1e0]
push str.button_nextsub
mov edi, esi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
jne 0x578d56
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x1e0]
push str.button_nextcg
push 0xe
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
jne 0x578d7d
mov dword [esp + 0x14], 2
mov eax, dword [esp + 0x1e0]
push str.button_win
push 0xb
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
jne 0x578da4
mov dword [esp + 0x14], 3
mov eax, dword [esp + 0x1e0]
push str.button_exit
push 0xc
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
jne 0x578dcb
mov dword [esp + 0x14], 4
xor edi, edi
push edi
lea ecx, [esp + 0x24c]
mov dword [esp + 0x264], esi
call fcn.00401670
push edi
lea ecx, [esp + 0x230]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x208], edi
mov dword [esp + 0x20c], edi
mov dword [esp + 0x210], edi
mov dword [esp + 0x214], edi
mov dword [esp + 0x218], edi
mov dword [esp + 0x21c], edi
mov dword [esp + 0x220], edi
mov dword [esp + 0x224], edi
mov dword [esp + 0x228], edi
mov dword [esp + 0x22c], edi
mov dword [esp + 0x248], esi
call fcn.00401670
mov byte [esp + 0x538], 8
push 2
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x24], edi
call fcn.004c4c80
test al, al
je 0x579184
mov eax, dword [esp + 0x1e0]
push 0x640338
push 2
pop edi
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x579184
push 0xffffffffffffffff
xor esi, esi
push esi
lea eax, [esp + 0x1d4]
push eax
lea ecx, [esp + 0x254]
call fcn.004013d0
push edi
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
call fcn.004c4c80
test al, al
je 0x579184
mov eax, dword [esp + 0x1e0]
push 0x64033c
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x579184
lea eax, [esp + 0x1cc]
call fcn.00488a03
mov dword [esp + 0x44], eax
lea eax, [esp + 0x1e8]
call fcn.00488a03
push edi
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], eax
call fcn.004c4c80
test al, al
je 0x579184
mov eax, dword [esp + 0x1e0]
push 0x640340
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x579184
lea eax, [esp + 0x1cc]
call fcn.00488a03
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x1e8]
call fcn.00488a03
mov dword [esp + 0x40], eax
push edi
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
call fcn.004c4c80
test al, al
je 0x578fc4
mov eax, dword [esp + 0x1e0]
push 0x640344
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x578fc4
lea eax, [esp + 0x1cc]
call fcn.00488a03
mov dword [esp + esi*8 + 0x204], eax
lea eax, [esp + 0x1e8]
call fcn.00488a03
mov dword [esp + esi*8 + 0x208], eax
inc esi
cmp esi, 5
jl 0x578f67
push edi
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
call fcn.004c4c80
test al, al
je 0x579184
mov eax, dword [esp + 0x1e0]
push 0x640348
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x579184
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x1d4]
push eax
lea ecx, [esp + 0x238]
call fcn.004013d0
push edi
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
call fcn.004c4c80
test al, al
je 0x579184
mov eax, dword [esp + 0x1e0]
push 0x64034c
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x579184
lea eax, [esp + 0x1cc]
call fcn.00488a03
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x1e8]
call fcn.00488a03
push edi
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], eax
call fcn.004c4c80
test al, al
je 0x579184
mov eax, dword [esp + 0x1e0]
push 0x640350
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x579184
lea eax, [esp + 0x1cc]
call fcn.00488a03
lea eax, [esp + 0x1e8]
call fcn.00488a03
push edi
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
call fcn.004c4c80
test al, al
je 0x579184
mov eax, dword [esp + 0x1e0]
push 0x640354
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x579184
lea eax, [esp + 0x1cc]
call fcn.00488a03
lea eax, [esp + 0x1e8]
call fcn.00488a03
push edi
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
call fcn.004c4c80
test al, al
je 0x579184
mov eax, dword [esp + 0x1e0]
push 0x640358
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x579184
lea eax, [esp + 0x1cc]
call fcn.00488a03
mov dword [esp + 0x20], eax
jmp 0x57916f
mov eax, dword [esp + 0x1e0]
push 0x64035c
lea ecx, [esp + 0x1d0]
call fcn.0041ae10
test eax, eax
je 0x579184
push edi
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
call fcn.004c4c80
test al, al
jne 0x579153
mov esi, dword [esp + 0x14]
test esi, esi
je 0x579205
jle 0x57928d
cmp esi, 4
jg 0x57928d
push dword [esp + 0x228]
lea eax, [esp + 0x24c]
push dword [esp + 0x228]
lea edi, [ebx + esi*4 + 0x158]
push dword [esp + 0x228]
mov ebx, dword [edi]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x68]
push dword [esp + 0x68]
push 1
push eax
push 4
call fcn.0059e7f8
jmp 0x579271
push dword [esp + 0x228]
lea eax, [esp + 0x24c]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x228]
push dword [esp + 0x68]
push dword [esp + 0x68]
push 1
push eax
mov eax, dword [esp + 0xb0]
mov ebx, dword [eax]
push 5
call fcn.0059e7f8
mov edi, dword [esp + 0x78]
push dword [esp + 0x48]
mov eax, dword [edi]
push dword [esp + 0x48]
call fcn.0059eb5c
mov edi, dword [edi]
mov ebx, dword [esp + 0x64]
mov dword [edi + 0x20], 0xff
lea edi, [ebx + esi*4 + 0x298]
mov eax, dword [edi]
mov dword [esp + 0x58], edi
test eax, eax
je 0x5792b1
mov ecx, dword [ebx + 8]
push eax
lea edi, [ecx + 0x87488]
call fcn.004cade9
mov edi, dword [esp + 0x58]
mov eax, esi
imul eax, eax, 0x1c
lea eax, [eax + ebx + 0x180]
mov dword [esp + 0x1c], eax
call fcn.00412a20
and dword [edi], 0
or dword [ebx + esi*4 + 0x2e8], 0xffffffff
and dword [esp + 0x14], 0
lea eax, [ebx + 0x180]
lea edi, [ebx + 0x2c0]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x22c]
call fcn.0046a96a
test al, al
je 0x579336
cmp dword [edi], 0
je 0x579336
mov ecx, dword [edi]
mov eax, dword [ecx]
lea edx, [esp + 0x84]
push edx
call dword [eax + 0x64]
mov ecx, dword [esp + 0x4c]
cmp dword [eax], ecx
jne 0x579336
mov ecx, dword [edi]
mov eax, dword [ecx]
lea edx, [esp + 0x7c]
push edx
call dword [eax + 0x64]
mov ecx, dword [esp + 0x50]
cmp dword [eax + 4], ecx
jne 0x579336
mov eax, dword [esp + 0x14]
mov dword [ebx + esi*4 + 0x2e8], eax
inc dword [esp + 0x14]
add dword [esp + 0x54], 0x1c
add edi, 4
cmp dword [esp + 0x14], 0xa
jb 0x5792e6
cmp dword [ebx + esi*4 + 0x2e8], 0xffffffff
jne 0x579501
mov eax, dword [ebx + 8]
push 0
lea ecx, [esp + 0x230]
push ecx
lea edi, [eax + 0x87488]
call fcn.004cabbe
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
mov dword [edi], eax
push 0
lea eax, [esp + 0x234]
push eax
call fcn.004013d0
cmp dword [edi], 0
je 0x579501
lea edi, [ebx + esi*4 + 0x2c0]
mov ecx, dword [edi]
test ecx, ecx
je 0x5793a7
mov eax, dword [ecx]
push 1
call dword [eax + 0x20]
mov eax, dword [esp + 0x20]
sub eax, 0
je 0x579490
dec eax
je 0x57945e
dec eax
je 0x57943b
dec eax
je 0x579418
dec eax
je 0x5793f5
dec eax
jne 0x5794c7
push 0x16c
call fcn.0045ba07
pop ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x538], 0xe
test eax, eax
je 0x579482
push eax
call fcn.0048f837
jmp 0x579484
push 0x16c
call fcn.0045ba07
pop ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x538], 0xd
test eax, eax
je 0x579482
push eax
call fcn.0048feb6
jmp 0x579484
push 0x16c
call fcn.0045ba07
pop ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x538], 0xc
test eax, eax
je 0x579482
push eax
call fcn.0048eab3
jmp 0x579484
push 0x16c
call fcn.0045ba07
pop ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x538], 0xb
test eax, eax
je 0x579482
push eax
call fcn.0048f191
jmp 0x579484
push 0x154
call fcn.0045ba07
pop ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x538], 0xa
test eax, eax
je 0x579482
mov ecx, eax
call fcn.0048acaa
jmp 0x579484
xor eax, eax
mov byte [esp + 0x538], 8
mov dword [edi], eax
jmp 0x5794c7
push 0x13c
call fcn.0045ba07
mov esi, eax
pop ecx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x538], 9
test esi, esi
je 0x5794bb
push esi
call fcn.0054d482
mov dword [esi], vtable.NekoGameSDK4th::GameBase::CNullMotionTexture.0
jmp 0x5794bd
xor esi, esi
mov byte [esp + 0x538], 8
mov dword [edi], esi
mov edx, dword [esp + 0x58]
mov ecx, dword [edi]
push dword [edx]
mov eax, dword [ecx]
call dword [eax + 0x28]
push dword [esp + 0x50]
mov ecx, dword [edi]
push dword [esp + 0x50]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [edi]
mov eax, dword [ecx]
push 0xff
call dword [eax + 0x48]
mov ecx, dword [edi]
mov eax, dword [ecx]
push 0x14
call dword [eax + 0x50]
mov edi, dword [edi]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
lea ecx, [esp + 0x22c]
call fcn.00401370
lea ecx, [esp + 0x248]
mov byte [esp + 0x538], 3
call fcn.00401370
push 2
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x28]
call fcn.004c4c80
test al, al
jne 0x57877e
xor esi, esi
cmp dword [ebx + 0x154], esi
je 0x579574
push 0xa
lea ecx, [ebx + 0x368]
mov eax, dword [ecx]
push esi
push esi
call dword [eax]
push 0xa
lea ecx, [ebx + 0x390]
mov eax, dword [ecx]
push 0x14
push esi
call dword [eax]
push 0xa
lea ecx, [ebx + 0x3b8]
mov eax, dword [ecx]
push esi
push 0xff
call dword [eax]
mov eax, dword [0xf0f2cc]
mov edi, ebx
call fcn.00579ddb
mov eax, dword [0xf0f2d0]
mov ecx, ebx
call fcn.00579e18
push esi
push ebx
call fcn.00579e70
push ebx
call fcn.0057a2a1
push fcn.00401370
push 2
push 0x1c
lea eax, [esp + 0x1d8]
push eax
mov byte [esp + 0x548], 1
call fcn.005a85ef
or dword [esp + 0x538], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.004c4bbb
mov ecx, dword [esp + 0x530]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x518]
xor ecx, esp
call fcn.005a7b0e
mov esp, ebp
pop ebp
ret