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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x4fbbfc]
xor eax, esp
mov dword [esp + 0xd0], eax
cmp ecx, 6
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [ebx + 0x88], ecx
mov dword [ebx + 0x8c], edx
mov esi, 0xe
jne 0x4175e1
mov dword [ebx + 0x90], 5
mov dword [ebx + 0x94], 0x38
movzx eax, byte [edx + 0x4d9970]
mov dword [ebx + 0x98], eax
jmp 0x417649
mov eax, dword [ebx + ecx*4 + 0xa4]
movzx eax, byte [eax]
mov dword [ebx + 0x90], eax
mov eax, dword [ebx + ecx*4 + 0xa4]
movzx eax, byte [eax + 1]
lea edi, [edx*8]
sub edi, edx
add edi, edi
mov dword [ebx + 0x94], eax
sub eax, edi
mov dword [esp + 0x14], eax
cmp eax, esi
mov dword [esp + 0x10], esi
lea eax, [esp + 0x14]
jl 0x417623
lea eax, [esp + 0x10]
cmp ecx, 5
mov eax, dword [eax]
mov dword [ebx + 0x98], eax
jne 0x417649
mov eax, dword [ebx + 0x90]
cmp edx, eax
jne 0x417640
mov dword [ebx + 0x98], esi
add eax, 1
mov dword [ebx + 0x90], eax
xor edx, edx
cmp dword [ebx + 0x98], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], edx
jle 0x417c5b
mov ecx, dword [esp + 0x1c]
cmp ecx, 5
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], 0xffffffff
jne 0x4176be
cmp eax, 4
jne 0x4176be
mov edi, dword [ebx + 0x60]
mov eax, dword [edi + 0x20]
add edi, 0x1c
test eax, eax
lea esi, [edx + 0xb86]
je 0x417699
mov ecx, dword [edi + 8]
sub ecx, eax
cmp esi, ecx
jb 0x4176a2
call fcn.004af167
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 4]
cmp byte [esi + ecx], 0
je 0x4176b4
add dword [esp + 0x28], 1
mov dword [esp + 0xc], edx
add dword [esp + 0x24], 1
jmp 0x417c3d
mov edi, dword [ebx + ecx*4 + 0xa4]
lea esi, [eax*8]
sub esi, eax
lea esi, [edx + esi*2]
mov edi, dword [edi + esi*4 + 2]
add edi, dword [ebx + 0xa0]
movzx esi, word [edi]
cmp byte [esi + 0x4ff528], 0
je 0x4176f0
mov dword [esp + 0xc], edx
jmp 0x417bcf
test ecx, ecx
jne 0x417807
test eax, eax
jne 0x417751
cmp edx, 5
jne 0x417bcf
movzx edx, word [0x4ffbc6]
cmp byte [edx + 0x4ff528], al
je 0x417721
mov dword [esp + 0xc], 0x10
jmp 0x417bcf
movzx eax, word [0x4ffc96]
cmp byte [eax + 0x4ff528], 0
je 0x41773e
mov dword [esp + 0xc], 0x11
jmp 0x417bcf
movzx ecx, word [0x4ffbd6]
cmp byte [ecx + 0x4ff528], 0
jmp 0x417bc5
cmp eax, 2
jne 0x4177a6
cmp edx, 1
jne 0x41777c
movzx edx, word [0x5019c6]
cmp byte [edx + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x11
jmp 0x417bcf
cmp edx, 3
jne 0x417bcf
movzx eax, word [0x501da6]
cmp byte [eax + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x10
jmp 0x417bcf
cmp eax, 4
jne 0x4177d5
cmp edx, 8
jne 0x417bcf
movzx ecx, word [0x503db6]
cmp byte [ecx + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x10
jmp 0x417bcf
cmp eax, 5
jne 0x417bcf
test edx, edx
jne 0x417bcf
movzx edx, word [0x5007d6]
cmp byte [edx + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x10
jmp 0x417bcf
cmp ecx, 1
jne 0x417896
test eax, eax
jne 0x417864
cmp edx, 5
jne 0x41783a
movzx eax, word [0x503536]
cmp byte [eax + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x10
jmp 0x417bcf
cmp edx, 8
jne 0x417bcf
movzx ecx, word [0x5035e6]
cmp byte [ecx + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x11
jmp 0x417bcf
cmp eax, 2
jne 0x417bcf
test edx, edx
jne 0x417bcf
movzx edx, word [0x503e66]
cmp byte [edx + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x10
jmp 0x417bcf
cmp ecx, 2
jne 0x41794c
test eax, eax
jne 0x4178cd
cmp edx, 6
jne 0x417bcf
movzx eax, word [0x503436]
cmp byte [eax + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x10
jmp 0x417bcf
cmp eax, 1
jne 0x4178fc
cmp edx, 3
jne 0x417bcf
movzx ecx, word [0x502a66]
cmp byte [ecx + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x10
jmp 0x417bcf
cmp eax, 2
jne 0x417bcf
cmp edx, 1
jne 0x417bcf
movzx edx, word [0x500856]
cmp byte [edx + 0x4ff528], 0
je 0x41792b
mov dword [esp + 0xc], 0x10
jmp 0x417bcf
movzx eax, word [0x500876]
cmp byte [eax + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x11
jmp 0x417bcf
cmp ecx, 3
jne 0x4179f7
test eax, eax
jne 0x41799f
cmp edx, 0xc
jne 0x417bcf
movzx ecx, word [0x500776]
cmp byte [ecx + 0x4ff528], al
je 0x41797e
mov dword [esp + 0xc], 0x10
jmp 0x417bcf
movzx edx, word [0x5007a6]
cmp byte [edx + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x11
jmp 0x417bcf
cmp eax, 1
jne 0x417bcf
cmp edx, eax
jne 0x4179cd
movzx eax, word [0x503fe6]
cmp byte [eax + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x10
jmp 0x417bcf
cmp edx, 5
jne 0x417bcf
movzx ecx, word [0x500466]
cmp byte [ecx + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x11
jmp 0x417bcf
cmp ecx, 4
je 0x417bcf
cmp ecx, 5
jne 0x417bcf
cmp eax, 1
jne 0x417b74
cmp edx, 3
jne 0x417a55
movzx edx, word [0x500b76]
cmp byte [edx + 0x4ff528], 0
je 0x417a34
mov dword [esp + 0xc], 0x10
jmp 0x417bcf
movzx eax, word [0x500b86]
cmp byte [eax + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x11
jmp 0x417bcf
cmp edx, 4
jne 0x417ac9
movzx ecx, word [0x5019f6]
cmp byte [ecx + 0x4ff528], 0
jne 0x417bc7
movzx edx, word [0x501a16]
cmp byte [edx + 0x4ff528], 0
je 0x417a8b
mov dword [esp + 0xc], 0x13
jmp 0x417bcf
movzx eax, word [0x501a46]
cmp byte [eax + 0x4ff528], 0
je 0x417aa8
mov dword [esp + 0xc], 0x14
jmp 0x417bcf
movzx ecx, word [0x501a26]
cmp byte [ecx + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x15
jmp 0x417bcf
cmp edx, 5
jne 0x417aef
movzx edx, word [0x501956]
cmp byte [edx + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x16
jmp 0x417bcf
cmp edx, 7
jne 0x417b32
movzx eax, word [0x5022c6]
cmp byte [eax + 0x4ff528], 0
je 0x417b11
mov dword [esp + 0xc], 0x17
jmp 0x417bcf
movzx ecx, word [0x5022e6]
cmp byte [ecx + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x18
jmp 0x417bcf
cmp edx, 8
jne 0x417b55
movzx edx, word [0x502336]
cmp byte [edx + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x19
jmp 0x417bcf
cmp edx, 9
jne 0x417bcf
movzx eax, word [0x5007f6]
cmp byte [eax + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x1a
jmp 0x417bcf
cmp eax, 2
jne 0x417bcf
cmp edx, 7
jne 0x417b98
movzx ecx, word [0x5005b6]
cmp byte [ecx + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x10
jmp 0x417bcf
cmp edx, 0xa
jne 0x417bcf
movzx edx, word [0x502ea6]
cmp byte [edx + 0x4ff528], 0
je 0x417bb7
mov dword [esp + 0xc], 0x11
jmp 0x417bcf
movzx eax, word [0x502eb6]
cmp byte [eax + 0x4ff528], 0
je 0x417bcf
mov dword [esp + 0xc], 0x12
cmp dword [esp + 0xc], 0xffffffff
movzx esi, byte [edi + 2]
mov dword [esp + 0x20], 0
je 0x417c2d
test esi, esi
jle 0x417c08
add edi, 3
mov dword [esp + 0x14], esi
lea ecx, [ecx]
call fcn.0041ab60
test eax, eax
je 0x417bfe
add dword [esp + 0x20], 1
add edi, 6
sub dword [esp + 0x14], 1
jne 0x417bf0
cmp dword [esp + 0x1c], 5
jne 0x417c2d
mov eax, 3
cmp dword [esp + 0x18], eax
jne 0x417c2d
cmp dword [esp + 0x10], eax
jne 0x417c2d
mov ecx, dword [esp + 0x20]
lea edx, [ecx + ecx]
add esi, esi
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], esi
add dword [esp + 0x28], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [ebx + edx*4 + 0xc0], ecx
add edx, 1
cmp edx, dword [ebx + 0x98]
mov dword [esp + 0x10], edx
jl 0x417663
mov eax, dword [ebx + 0x98]
cmp eax, 0xe
jge 0x417c79
mov ecx, 0xe
lea edi, [ebx + eax*4 + 0xc0]
sub ecx, eax
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x98]
add eax, 0xfffffffb
cmp eax, 9
ja case.0x417c87.6
jmp dword [eax*4 + 0x4182b4]
mov dword [ebx + 0xf8], 0x4d9418
jmp case.0x417c87.6
mov dword [ebx + 0xf8], 0x4d9420
jmp case.0x417c87.6
mov dword [ebx + 0xf8], 0x4d9428
jmp case.0x417c87.6
mov dword [ebx + 0xf8], 0x4d9434
jmp case.0x417c87.6
mov dword [ebx + 0xf8], 0x4d9440
jmp case.0x417c87.6
mov dword [ebx + 0xf8], 0x4d9450
mov edi, dword [ebx + 0x78]
cmp dword [ebx + 0x74], edi
lea esi, [ebx + 0x70]
mov dword [esp + 0x14], edi
jbe 0x417ce8
call fcn.004af167
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x10], eax
jbe 0x417cfd
call fcn.004af167
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x417d50
mov ecx, dword [esp + 0x50]
mov edi, dword [esi + 8]
mov byte [esp + 0x20], 0
mov edx, dword [esp + 0x20]
push edx
mov byte [esp + 0x10], 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edi
call fcn.0040fd80
sub edi, dword [esp + 0x24]
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add esp, 0x10
add eax, edx
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x10]
lea ecx, [eax + edx*4]
mov dword [esi + 8], ecx
mov edx, str.cgmode.area
mov ecx, esi
call fcn.0040f340
xor edi, edi
cmp dword [ebx + 0x98], edi
jle 0x417ddd
jmp 0x417d70
mov edx, dword [ebx + 0xf8]
movzx eax, byte [edx + edi]
mov ecx, eax
and ecx, 0x80000003
jns 0x417d89
dec ecx
or ecx, 0xfffffffc
inc ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
imul eax, eax, 0x62
shl ecx, 7
add eax, 0x30
add ecx, 0x28
mov dword [esp + 0x30], eax
add eax, 0x5a
mov dword [esp + 0x2c], ecx
add ecx, 0x78
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x44], edi
call dword [0x4c92a0]
lea edx, [esp + 0x3c]
push edx
call fcn.0040f810
add edi, 1
cmp edi, dword [ebx + 0x98]
jl 0x417d70
mov eax, dword [ebx]
mov edx, dword [eax + 0xac]
push 0
mov ecx, ebx
call edx
mov edi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xac]
push 2
mov ecx, ebx
mov dword [esp + 0x24], edi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xac]
push 3
mov ecx, ebx
call edx
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xac]
push 5
mov ecx, ebx
call edx
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x98]
push eax
lea ecx, [esp + 0x5c]
push str.sp_cg_bg_02d.rmt
push ecx
mov byte [esp + 0x5c], 0x61
mov byte [esp + 0x5d], 0x67
mov byte [esp + 0x5e], 0x65
mov byte [esp + 0x5f], 0x66
mov byte [esp + 0x60], 0x69
mov byte [esp + 0x61], 0x68
mov byte [esp + 0x62], 0x6b
call fcn.004af177
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
movsx ecx, byte [esp + eax + 0x5c]
add esp, 0xc
add edx, 1
push edx
push ecx
lea edx, [esp + 0xa0]
push str.sp_cg__c_02d.rmt
push edx
call fcn.004af177
mov eax, dword [ebx]
mov edx, dword [eax + 0xa8]
add esp, 0x10
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
mov eax, dword [eax + 0xa8]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push ecx
lea edx, [esp + 0xac]
push edx
mov ecx, ebx
call eax
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push eax
push str.sp_cg_p.rmt
mov edx, dword [edx + 0xa8]
mov ecx, ebx
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
push 1
push 0
push 0
push esi
push 0x1e0
push 0x280
push 0
push 0
mov ecx, edi
call edx
xor esi, esi
lea eax, [ebx + 0xc0]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
nop
mov edx, dword [ebx]
mov eax, dword [edx + 0xac]
push 0
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xac]
push 2
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0xac]
push 3
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0xac]
push 5
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx]
cmp edi, 0xffffffff
je 0x417fe6
mov edx, dword [ebx + 0xf8]
movzx eax, byte [edx + esi]
mov ecx, eax
and ecx, 0x80000003
jns 0x417f78
dec ecx
or ecx, 0xfffffffc
inc ecx
cdq
and edx, 3
add eax, edx
mov esi, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov eax, edi
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 2
sar esi, 2
imul eax, eax, 0x5a
imul esi, esi, 0x62
push 1
shl ecx, 7
push eax
mov eax, dword [edx]
add ecx, 0x28
add esi, 0x30
and eax, 0x80000003
jns 0x417fbc
dec eax
or eax, 0xfffffffc
inc eax
mov edx, eax
shl edx, 4
sub edx, eax
mov eax, dword [esp + 0x14]
add edx, edx
add edx, edx
add edx, edx
push edx
push eax
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x44]
push 0x5a
push 0x78
push esi
push ecx
mov ecx, dword [esp + 0x34]
call edx
mov esi, dword [esp + 0x1c]
add dword [esp + 0x18], 4
add esi, 1
cmp esi, 0xe
mov dword [esp + 0x1c], esi
jl 0x417f10
xor esi, esi
lea ecx, [ecx]
push 0
push esi
push 1
xor eax, eax
mov ecx, ebx
call fcn.00417240
add esi, 1
cmp esi, 7
jl 0x418000
xor edi, edi
mov eax, dword [ebx]
mov edx, dword [eax + 0xac]
push 0
mov ecx, ebx
mov dword [esp + 0x20], 0
call edx
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xac]
push 2
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xac]
mov esi, 3
push esi
mov ecx, ebx
call edx
mov dword [esp + 0x50], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xac]
push 5
mov ecx, ebx
call edx
test edi, edi
mov dword [esp + 0x18], eax
jne 0x418074
cmp dword [ebx + 0x8c], edi
jmp 0x418087
cmp edi, 1
jne 0x41808d
mov eax, dword [ebx + 0x90]
sub eax, edi
cmp dword [ebx + 0x8c], eax
jne 0x41808d
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
mov esi, edi
imul esi, esi, 0x34
push 1
add esi, 0x154
push esi
push 0x1a4
push eax
push 0x30
push 0x6c
push esi
push 0x1a4
call edx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
lea eax, [edi + edi*2]
shl eax, 4
push eax
mov eax, dword [esp + 0x20]
imul eax, eax, 0x6c
push eax
mov eax, dword [esp + 0x20]
push eax
push 0x30
push 0x6c
push esi
push 0x1a4
call edx
add edi, 1
cmp edi, 2
jl 0x418018
mov eax, dword [ebx]
mov edx, dword [eax + 0xac]
push 0
mov ecx, ebx
call edx
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xac]
push 2
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xac]
push 3
mov ecx, ebx
call edx
mov edi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xac]
push 5
mov ecx, ebx
call edx
push 1
push 0x184
push 0x214
push edi
push 0x34
push 0x60
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
push 0x184
push 0x214
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push 0x60
push 0
push ebx
push 0x34
push 0x60
push 0x184
push 0x214
mov ecx, esi
call edx
mov eax, dword [esp + 0x28]
imul eax, eax, 0x64
cdq
idiv dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov esi, eax
cmp esi, 0x64
jl 0x4181c3
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov ecx, 0xa
idiv ecx
mov eax, dword [esp + 0x10]
mov edi, dword [ebx]
push 0x94
mov ecx, ebx
add edx, 0xc
lea edx, [edx + edx*2]
add edx, edx
add edx, edx
push edx
mov edx, dword [edi + 0x48]
push eax
push 0xc
push 0xc
push 0x3e
push 0x4c
call edx
cmp esi, 0xa
jl 0x418207
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov ecx, 0xa
idiv ecx
mov eax, dword [esp + 0x10]
mov edi, dword [ebx]
push 0x94
mov ecx, ebx
add edx, 0xc
lea edx, [edx + edx*2]
add edx, edx
add edx, edx
push edx
mov edx, dword [edi + 0x48]
push eax
push 0xc
push 0xc
push 0x3e
push 0x58
call edx
mov eax, 0x66666667
imul esi
mov edi, dword [ebx]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
lea eax, [eax + eax*4]
add eax, eax
sub esi, eax
mov eax, dword [edi + 0x48]
push 0x94
add esi, 0xc
lea ecx, [esi + esi*2]
add ecx, ecx
add ecx, ecx
push ecx
push edx
push 0xc
push 0xc
push 0x3e
push 0x64
mov ecx, ebx
call eax
mov ecx, dword [0x514e34]
xor esi, esi
cmp ecx, esi
jne 0x418289
push 0x18
call fcn.004ae2dd
add esp, 4
cmp eax, esi
je 0x41827b
mov ecx, 1
mov dword [eax], vtable.CDrawManager2D.0
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x14], esi
jmp 0x41827d
xor eax, eax
mov ecx, eax
cmp ecx, esi
mov dword [0x514e34], ecx
je 0x41829c
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0x258
push 0x320
push esi
push esi
call eax
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ae38c
mov esp, ebp
pop ebp
ret 4