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

Disassembly:
mov eax, dword [0x564e34]
sub esp, 0x4ec
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
jne 0x415f82
mov eax, dword [0x54ad1c]
or ebx, 0xffffffff
push ebx
push eax
push 0x19d
push 0x26e
push esi
push 9
call fcn.00448610
mov edx, eax
mov ecx, 7
mov eax, ebx
mov edi, 0x54dbbc
rep stosd dword es:[edi], eax
mov ecx, 0xf
mov edi, 0x54c9d4
rep stosd dword es:[edi], eax
mov ecx, ebx
add esp, 0x18
mov dword [0x54c90c], ecx
mov dword [0x564e34], edx
mov dword [0x54c910], ecx
mov eax, 0x564683
mov dword [0x54c914], ecx
mov dword [0x54c918], ecx
mov dword [0x54c91c], ecx
mov byte [eax - 0x1d], 0
mov byte [eax], 0
mov byte [eax - 0x1f], 0
mov dword [eax - 0x27], esi
mov dword [eax - 0x23], esi
mov byte [eax - 0x1e], 0
mov byte [eax + 0x1d], 0xff
mov dword [eax - 0x2b], ebx
add eax, 0x4c
cmp eax, 0x564c73
jl 0x415ccf
mov al, byte [esp + 0x500]
test al, al
je 0x415d54
mov ecx, 0x41
xor eax, eax
mov edi, 0x54cbb0
rep stosd dword es:[edi], eax
mov byte [0x54ccb7], al
mov byte [0x54ccb9], al
mov byte [0x54ccb8], al
mov al, 0x14
mov byte [0x54ccb4], al
mov byte [0x54ccb5], al
mov byte [0x54ccb6], 0
mov eax, dword [edx + 0x18]
add eax, 0x19
mov dword [0x54ccbc], eax
mov ecx, dword [edx + 0x1c]
add ecx, 0x15a
mov dword [0x54cccc], 1
mov dword [0x54ccc0], ecx
mov eax, dword [0x564e48]
mov dword [0x564e4c], 0x462bf4c
cmp eax, esi
mov dword [0x54c884], esi
mov dword [0x54c9b4], esi
mov byte [0x4aa040], 1
mov byte [0x564e50], 0
je 0x415d90
push eax
call fcn.004011c0
add esp, 4
mov dword [0x564e48], esi
mov eax, dword [esp + 0x504]
mov dword [0x564e54], esi
cmp eax, esi
je 0x416bb8
lea edx, [esp + 0x3c]
push edx
push 0x7f
push 2
push 0x7c
push eax
call fcn.00489f70
lea eax, [esp + 0x50]
push eax
call fcn.004929fe
add esp, 0x18
cmp eax, esi
jle 0x416bb8
mov ebx, 4
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x504]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [ebx - 1]
push 0x7f
push edx
push 0x7c
push ebp
call fcn.00489f70
lea eax, [esp + 0x50]
push eax
call fcn.004929fe
lea ecx, [esp + 0x54]
mov edi, eax
push ecx
push 0x7f
push ebx
push 0x7c
push ebp
call fcn.00489f70
lea edx, [esp + 0x68]
push edx
call fcn.004929fe
mov esi, eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [ebx + 1]
push 0x7f
push ecx
push 0x7c
push ebp
call fcn.00489f70
add esp, 0x44
lea edx, [esp + 0x3c]
push edx
call fcn.004929fe
push 0x564658
mov ebp, eax
call fcn.00415c20
add esp, 8
mov dword [0x564e54], eax
test eax, eax
je 0x415f65
test edi, edi
jne 0x415eda
mov ecx, dword [0x564e4c]
lea edi, [esi + esi*2]
shl edi, 5
add edi, esi
shl edi, 2
cmp word [edi + ecx + 0xdc], 0
je 0x415f65
mov byte [eax + 0x48], 0
mov edx, dword [0x564e54]
mov dword [edx], esi
mov eax, dword [0x564e54]
mov dword [eax + 8], ebp
mov ecx, dword [0x564e4c]
mov eax, dword [0x564e54]
lea edx, [edi + ecx + 0xe6]
add eax, 0xe
push edx
push 0x4a145c
push eax
call fcn.004923a7
mov ecx, dword [0x564e4c]
mov eax, dword [0x564e54]
add esp, 0xc
mov edx, dword [edi + ecx + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [0x564e54]
mov byte [ecx + 0xd], 1
mov dword [esi*4 + 0x54c9b0], esi
jmp 0x415f65
cmp edi, 1
jne 0x415f65
lea edi, [esi + esi*8]
shl edi, 3
sub edi, esi
lea edi, [edi + edi*4]
shl edi, 3
cmp word [edi + 0x46274ce], 0
je 0x415f65
mov byte [eax + 0x48], 1
mov edx, dword [0x564e54]
lea ecx, [edi + 0x46274ac]
mov dword [edx], esi
mov eax, dword [0x564e54]
push ecx
push 0x4a145c
mov dword [eax + 8], ebp
mov edx, dword [0x564e54]
add edx, 0xe
push edx
call fcn.004923a7
mov ecx, dword [0x564e54]
lea eax, [edi + 0x46274bd]
push eax
add ecx, 0x2b
push 0x4a145c
push ecx
call fcn.004923a7
mov edx, dword [0x564e54]
add esp, 0x18
mov dword [edx + 4], 1
mov eax, dword [0x564e54]
mov byte [eax + 0xd], 1
mov dword [esi*4 + 0x54c90c], esi
mov eax, dword [esp + 0x10]
add ebx, 3
dec eax
mov dword [esp + 0x10], eax
jne 0x415dd4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4ec
ret
cmp dword [eax + 0x78], esi
jle 0x416bb8
mov cl, byte [0x564e50]
test cl, cl
je 0x415fcb
call fcn.00415aa0
cmp eax, 0xffffffff
mov dword [0x54c8fc], eax
je 0x415fc6
mov ecx, 0x564664
cmp byte [ecx], 0
je 0x415fb4
mov dword [ecx - 4], eax
mov byte [ecx], 0
add ecx, 0x4c
cmp ecx, 0x564c54
jl 0x415fa9
mov byte [0x564e50], 0
mov eax, dword [0x564e34]
mov edi, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
push 0x14
push 0x54d178
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ebx
call fcn.004210e0
push 2
lea esi, [ebx + 0x184]
push 0x66b1
push 0x69
lea ecx, [edi + 0x50]
push esi
push ecx
mov dword [esp + 0x2c], eax
call fcn.0047e210
push 2
push 0x66b3
push 0x69
lea edx, [edi + 0xe6]
push esi
push edx
mov dword [0x54dbbc], eax
call fcn.0047e210
mov dword [0x54dbc0], eax
push 2
push 0x66db
lea eax, [ebx + 0x2c]
lea esi, [edi + 0x131]
push 0x69
push eax
push esi
call fcn.0047e210
add esp, 0x44
lea ecx, [ebx + 0x130]
mov dword [0x54dbc4], eax
push 2
push 0x66dc
push 0x69
push ecx
push esi
call fcn.0047e210
push 2
mov dword [0x54dbc8], eax
push 0x65ce
lea edx, [ebx + 0x12c]
push 0x69
lea eax, [edi + 0x14f]
push edx
push eax
call fcn.0047e210
push 2
lea esi, [ebx + 0x3c]
push 0x65bf
push 0x69
lea ecx, [edi + 0x208]
push esi
push ecx
mov dword [0x54dbcc], eax
call fcn.0047e210
push 2
push 0x65c0
push 0x69
lea edx, [edi + 0x23a]
push esi
push edx
mov dword [0x54dbd0], eax
call fcn.0047e210
mov dword [0x54dbd4], eax
mov eax, dword [0x54c9b4]
add esp, 0x50
mov dword [esp + 0x18], eax
lea ecx, [eax + 0xa]
cmp eax, ecx
jge 0x4161a2
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*8]
mov ebx, 0x54d178
lea eax, [eax + edx*2]
lea ebp, [ecx + 0x20]
lea esi, [eax*4 + 0x564660]
mov al, byte [esi + 5]
test al, al
je 0x416165
mov al, byte [esi + 0x40]
test al, al
mov eax, dword [esi]
jne 0x416120
test eax, eax
jne 0x416110
mov edx, dword [esi - 4]
push 0x4aa1bc
lea eax, [esi + 6]
push edx
push eax
push str.__20sx_3d_13s
jmp 0x416146
mov edx, dword [esi - 4]
push eax
lea eax, [esi + 6]
push edx
push eax
push str.__20sx_3d_13d
jmp 0x416146
test eax, eax
jne 0x416138
lea edx, [esi + 0x23]
push 0x4aa1bc
lea eax, [esi + 6]
push edx
push eax
push str.__17s__12s_8s
jmp 0x416146
push eax
lea edx, [esi + 0x23]
lea eax, [esi + 6]
push edx
push eax
push str.__17s__12s_8d
lea ecx, [esp + 0x4c]
push ecx
call fcn.004923a7
add esp, 0x14
lea edx, [esp + 0x3c]
lea eax, [edi + 0x14]
push 2
push edx
push 0
push 1
push ebp
push eax
jmp 0x416175
push 0
push 0x4e220c
push 0
push 1
lea ecx, [edi + 0x14]
push ebp
push ecx
call fcn.0041d860
mov edx, dword [0x54c9b4]
mov dword [ebx], eax
mov eax, dword [esp + 0x30]
add esp, 0x18
inc eax
add edx, 0xa
add esi, 0x4c
add ebp, 0x1c
add ebx, 4
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x4160e8
mov eax, dword [0x45f1bc4]
mov edx, dword [0x45f1bf0]
xor esi, esi
and eax, 1
mov ecx, 0x54dbbc
test eax, eax
je 0x4161bf
cmp edx, dword [ecx]
je 0x416205
add ecx, 4
inc esi
cmp ecx, 0x54dbd8
jl 0x4161b7
mov al, byte [0x564e50]
test al, al
jne 0x416656
mov edx, dword [0x45f1bc4]
mov edi, dword [esp + 0x10]
mov esi, edx
xor ebx, ebx
xor ecx, ecx
and esi, 1
mov eax, 0x54d178
cmp esi, ebx
je 0x4165ae
cmp edi, dword [eax]
je 0x4165cb
jmp 0x4165b7
push 0xf0
push 0x140
push 0xd9
call fcn.00488190
add esp, 0xc
cmp esi, 6
ja case.default.0x416221
jmp dword [esi*4 + 0x416bc4]
mov al, byte [0x564e50]
test al, al
jne 0x416656
xor ebx, ebx
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x2fc]
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esp + 0xfc]
rep stosd dword es:[edi], eax
mov ebp, 0x564660
mov al, byte [ebp + 5]
test al, al
je 0x4162b1
mov eax, dword [ebp]
mov ecx, dword [ebp - 8]
movsx edx, byte [ebp + 0x40]
push eax
push ecx
push edx
lea eax, [esp + 0x38]
push 0x4aa170
push eax
call fcn.004923a7
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xfc]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
add ebp, 0x4c
cmp ebp, 0x564c50
jl 0x41625a
test ebx, ebx
je 0x41639a
mov al, byte [0x54ccb7]
test al, al
jne 0x4162e6
push 0x4aa164
push 0x54cbb0
call fcn.004923a7
add esp, 8
mov byte [0x54ccb7], 0xa
lea eax, [esp + 0xfc]
push 0x54cbb0
push eax
push ebx
lea ecx, [esp + 0x308]
push str.S_d_s_s
push ecx
call fcn.004923a7
mov eax, dword [0x461b404]
lea edx, [esp + 0x310]
push edx
push eax
call fcn.00490560
mov eax, dword [0x462e3d8]
add esp, 0x1c
cmp eax, 0xffffffff
jle 0x4163ca
lea ecx, [esp + 0xbc]
push str.RP_1
push ecx
call fcn.004923a7
mov eax, dword [0x461b658]
add esp, 8
test eax, eax
je 0x416358
mov eax, dword [0x461b404]
lea edx, [esp + 0xbc]
push edx
push eax
jmp 0x416367
mov edx, dword [0x461b404]
lea ecx, [esp + 0xbc]
push ecx
push edx
call fcn.00490420
mov eax, dword [0x461b658]
add esp, 8
and eax, 0xf000000
cmp eax, 0xf000000
jne 0x4163ca
mov ecx, dword [0x462e3d8]
mov edx, dword [0x461b404]
push 0
push ecx
push edx
call fcn.00490470
add esp, 0xc
jmp 0x4163ca
mov eax, dword [0x461b404]
push 0x4aa14c
push eax
jmp 0x4163b8
cmp esi, 1
jne 0x4163ca
mov ecx, dword [0x461b404]
push 0x4aa14c
push ecx
call fcn.00490560
add esp, 8
mov dword [0x46308b0], 0
mov eax, dword [0x564e48]
xor esi, esi
cmp eax, esi
mov word [0x564e3c], si
mov word [0x5676a0], si
je 0x4163f2
push eax
call fcn.004011c0
add esp, 4
mov dword [0x564e48], esi
mov eax, dword [0x564e44]
cmp eax, esi
je 0x416404
push eax
call fcn.004011c0
add esp, 4
push 0x54a3c8
mov dword [0x564e44], esi
call fcn.00411990
add esp, 4
jmp case.default.0x416221
mov eax, dword [0x54c9b4]
dec eax
mov dword [0x54c9b4], eax
jns case.default.0x416221
mov dword [0x54c9b4], 0
jmp case.default.0x416221
mov eax, dword [0x54c9b4]
inc eax
cmp eax, 0xa
mov dword [0x54c9b4], eax
jle case.default.0x416221
mov dword [0x54c9b4], 0xa
jmp case.default.0x416221
mov al, byte [0x564e50]
test al, al
jne 0x416656
push 0x564658
call fcn.00415c20
add esp, 4
mov dword [0x564e54], eax
test eax, eax
je case.default.0x416221
mov ecx, dword [0x54c884]
cmp dword [ecx*4 + 0x54c90c], 0xffffffff
jne case.default.0x416221
mov edx, dword [0x564e48]
test edx, edx
je case.default.0x416221
mov dword [ecx*4 + 0x54c90c], ecx
mov byte [0x564e50], 1
mov byte [eax + 0xd], 1
mov edx, dword [0x564e54]
mov byte [edx + 0xc], 1
mov ecx, dword [0x54c884]
mov edx, dword [0x564e54]
lea eax, [ecx + ecx*8]
add edx, 0xe
shl eax, 3
sub eax, ecx
lea eax, [eax + eax*4]
lea ecx, [eax*8 + 0x46274ac]
push ecx
push 0x4a145c
push edx
call fcn.004923a7
mov ecx, dword [0x54c884]
mov edx, dword [0x564e54]
add edx, 0x2b
lea eax, [ecx + ecx*8]
shl eax, 3
sub eax, ecx
lea eax, [eax + eax*4]
lea ecx, [eax*8 + 0x46274bd]
push ecx
push 0x4a145c
push edx
call fcn.004923a7
mov eax, dword [0x564e54]
add esp, 0x18
mov dword [eax + 4], 1
mov ecx, dword [0x564e54]
mov byte [ecx + 0x48], 1
mov eax, dword [0x564e54]
mov edx, dword [0x54c884]
mov dword [eax], edx
jmp case.default.0x416221
mov al, byte [0x564e50]
test al, al
jne 0x416656
mov ecx, dword [0x54c884]
xor edx, edx
mov byte [0x4aa040], 1
lea eax, [ecx + 1]
cmp eax, 4
setg dl
dec edx
and edx, eax
mov dword [0x54c884], edx
jmp 0x4161d8
mov al, byte [0x564e50]
test al, al
jne 0x416656
mov eax, dword [0x54c884]
mov dword [0x54c884], 4
dec eax
test eax, eax
jl 0x4165a2
mov dword [0x54c884], eax
mov byte [0x4aa040], 1
jmp 0x4161d8
test dl, 2
je 0x4165b7
cmp edi, dword [eax]
je 0x4165eb
add eax, 4
inc ecx
cmp eax, 0x54d1a0
jl 0x4161f0
jmp 0x416656
mov edx, dword [0x54c9b4]
mov byte [0x564e50], 1
lea eax, [edx + ecx]
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
mov byte [edx*4 + 0x564664], 1
jmp 0x416656
mov eax, dword [0x54c9b4]
add eax, ecx
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
shl eax, 2
mov cl, byte [eax + 0x5646a0]
mov edx, dword [eax + 0x564658]
test cl, cl
jne 0x416617
or ecx, 0xffffffff
mov dword [edx*4 + 0x54c9b0], ecx
jmp 0x416621
or ecx, 0xffffffff
mov dword [edx*4 + 0x54c90c], ecx
mov byte [eax + 0x564666], 0
mov byte [eax + 0x564683], 0
mov byte [eax + 0x564664], 0
mov dword [eax + 0x56465c], ebx
mov dword [eax + 0x564660], ebx
mov byte [eax + 0x564665], 0
mov byte [eax + 0x5646a0], 0xff
mov dword [eax + 0x564658], ecx
mov ecx, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x10], 9
mov eax, 0x54c9d4
lea ebx, [ecx + 0xf7]
mov edx, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], edi
lea ebp, [edx + 0x15c]
mov eax, dword [0x564e4c]
cmp word [esi + eax + 0xe80], 0
je 0x4166ca
mov cl, byte [0x564e50]
push 0
test cl, cl
jne 0x4166b3
mov eax, dword [esi + eax + 0xda8]
lea ecx, [ebx + 0x19]
push eax
push 0x6c
push ecx
jmp 0x4166c1
mov edx, dword [esi + eax + 0xda8]
lea eax, [ebx + 0x19]
push edx
push 0x68
push eax
push ebp
call fcn.0047e210
add esp, 0x14
cmp dword [edi], 0xffffffff
je 0x4166f4
mov al, byte [0x564e50]
test al, al
jne 0x4167f5
push 0
push str.SELL
push 6
lea ecx, [ebx + 0x19]
push 1
push ecx
push ebp
call fcn.0041d860
add esp, 0x18
mov al, byte [0x564e50]
test al, al
jne 0x4167f5
lea edx, [ebx + 0x2f]
push 0x69
lea eax, [ebp + 0x19]
push edx
push eax
lea ecx, [ebp - 0x19]
push ebx
push ecx
call fcn.0044aba0
add esp, 0x14
cmp eax, 1
jne 0x4167f5
mov edx, dword [0x564e4c]
cmp word [esi + edx + 0xe80], 0
je 0x4167f5
test byte [0x45f1bc4], 0x10
je 0x4167f5
cmp dword [edi], 0xffffffff
jne 0x4167f5
push 0x564658
call fcn.00415c20
add esp, 4
mov dword [0x564e54], eax
test eax, eax
je 0x4167f5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push 0xf0
lea edi, [eax + ecx]
push 0x140
push 0xd9
mov dword [edx], edi
call fcn.00488190
mov eax, dword [0x564e54]
mov byte [0x564e50], 1
mov byte [eax + 0xd], 1
mov ecx, dword [0x564e54]
mov byte [ecx + 0xc], 1
mov edx, dword [0x564e4c]
mov ecx, dword [0x564e54]
lea eax, [esi + edx + 0xe8a]
add ecx, 0xe
push eax
push 0x4a145c
push ecx
call fcn.004923a7
mov edx, dword [0x564e4c]
mov ecx, dword [0x564e54]
add esp, 0x18
mov eax, dword [esi + edx + 0xdb0]
mov dword [ecx + 4], eax
mov edx, dword [0x564e54]
mov byte [edx + 0x48], 0
mov eax, dword [0x564e54]
mov dword [eax], edi
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
add edi, 4
inc eax
add esi, 0x184
add ebp, 0x33
cmp eax, 5
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edi
jl 0x416687
mov edx, dword [esp + 0x10]
add ebx, 0x30
add edx, 5
cmp edi, 0x54ca10
mov eax, edi
mov dword [esp + 0x10], edx
jl 0x41666f
xor ebx, ebx
mov al, byte [0x4aa040]
test al, al
je 0x4168dd
mov al, byte [0x564e50]
test al, al
jne 0x4168dd
mov ecx, dword [0x54c884]
lea eax, [ecx + ecx*8]
shl eax, 3
sub eax, ecx
lea edx, [eax + eax*4]
cmp word [edx*8 + 0x46274ce], 1
jne 0x416882
cmp dword [0x462e3d8], ecx
je 0x416882
movsx eax, word [0x462bf3e]
cmp eax, ecx
jne 0x416abf
mov eax, dword [0x45f1bf0]
mov edx, dword [0x54dbd0]
cmp eax, edx
jne 0x4168a7
lea eax, [ecx + 1]
xor ecx, ecx
cmp eax, 4
setg cl
dec ecx
and ecx, eax
mov dword [0x54c884], ecx
jmp 0x4168dd
cmp eax, dword [0x54dbd4]
jne 0x4168c9
lea eax, [ecx - 1]
test eax, eax
jge 0x4168c2
mov dword [0x54c884], 4
jmp 0x4168dd
mov dword [0x54c884], eax
jmp 0x4168dd
lea eax, [ecx + 1]
xor edx, edx
cmp eax, 4
setg dl
dec edx
and edx, eax
mov dword [0x54c884], edx
mov eax, dword [0x564e48]
test eax, eax
je 0x416aae
mov eax, dword [0x54c884]
cmp dword [eax*4 + 0x54c90c], 0xffffffff
je 0x416922
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push 0
push str.SELL
push 6
add ecx, 0xc3
push 1
add edx, 0x1b8
push ecx
push edx
call fcn.0041d860
add esp, 0x18
mov ecx, dword [0x54c884]
lea eax, [ecx + ecx*8]
shl eax, 3
sub eax, ecx
or ecx, 0xffffffff
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 3
push eax
lea esi, [edx + 0x46274bd]
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41694e
push esi
jmp 0x416955
lea edx, [edx + 0x46274ac]
push edx
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
push 0
push 1
lea eax, [edi + 0x1c]
lea ecx, [esi + 0x150]
push eax
push ecx
call fcn.0041d860
mov ecx, dword [0x54c884]
add esp, 0x18
lea edx, [esp + 0x20]
lea eax, [ecx + ecx*8]
push 0xa
shl eax, 3
sub eax, ecx
push edx
lea eax, [eax + eax*4]
mov ecx, dword [eax*8 + 0x4627478]
push ecx
call fcn.0049b108
lea edx, [esp + 0x2c]
push 0
push edx
push 0
lea eax, [edi + 0x5c]
add esi, 0x21e
push 1
push eax
push esi
call fcn.0041d860
lea ecx, [esp + 0x44]
push 0xa
push ecx
mov ecx, dword [0x54c884]
lea eax, [ecx + ecx*8]
shl eax, 3
sub eax, ecx
lea edx, [eax + eax*4]
mov eax, dword [edx*8 + 0x462747c]
push eax
call fcn.0049b108
lea ecx, [esp + 0x50]
push 0
push ecx
push 0
lea edx, [edi + 0x75]
push 1
push edx
push esi
call fcn.0041d860
mov ecx, dword [0x54c884]
add esp, 0x48
lea eax, [esp + 0x20]
push 0xa
push eax
lea eax, [ecx + ecx*8]
shl eax, 3
sub eax, ecx
lea ecx, [eax + eax*4]
mov edx, dword [ecx*8 + 0x4627480]
push edx
call fcn.0049b108
lea eax, [esp + 0x2c]
push 0
push eax
push 0
lea ecx, [edi + 0x8e]
push 1
push ecx
push esi
call fcn.0041d860
mov ecx, dword [0x54c884]
lea edx, [esp + 0x44]
push 0xa
push edx
lea eax, [ecx + ecx*8]
shl eax, 3
sub eax, ecx
lea eax, [eax + eax*4]
mov ecx, dword [eax*8 + 0x4627484]
push ecx
call fcn.0049b108
lea edx, [esp + 0x50]
push 0
push edx
push 0
lea eax, [edi + 0xa5]
push 1
push eax
push esi
call fcn.0041d860
add esp, 0x48
lea ecx, [esp + 0x20]
push 0xa
push ecx
mov ecx, dword [0x54c884]
lea eax, [ecx + ecx*8]
shl eax, 3
sub eax, ecx
lea edx, [eax + eax*4]
mov eax, dword [edx*8 + 0x4627464]
push eax
call fcn.0049b108
lea ecx, [esp + 0x2c]
push 0
push ecx
push 0
add edi, 0xbd
push 1
push edi
push esi
call fcn.0041d860
add esp, 0x24
inc ebx
cmp ebx, 5
jl 0x416835
mov eax, dword [0x564e48]
jmp 0x416b20
mov eax, dword [0x564e48]
test eax, eax
je 0x416adb
push eax
call fcn.004011c0
add esp, 4
mov dword [0x564e48], 0
mov ecx, dword [0x54c884]
push 0
lea eax, [ecx + ecx*8]
shl eax, 3
sub eax, ecx
mov ecx, dword [esp + 0x18]
add ecx, 0xaa
lea edx, [eax + eax*4]
mov eax, dword [edx*8 + 0x462745c]
mov edx, dword [esp + 0x20]
push eax
add edx, 0x18c
push ecx
push edx
call fcn.00449510
add esp, 0x10
mov dword [0x564e48], eax
mov byte [0x4aa040], 0
cmp ebx, 5
jne 0x416b4d
mov cl, byte [0x4aa040]
test cl, cl
je 0x416b4d
test eax, eax
mov byte [0x4aa040], 0
je 0x416b4d
push eax
call fcn.004011c0
add esp, 4
mov dword [0x564e48], 0
mov eax, dword [0x54ccc0]
push 0x6b
lea ecx, [eax + 0x18]
push ecx
mov ecx, dword [0x54ccbc]
lea edx, [ecx + 0xfa]
push edx
push eax
push ecx
call fcn.0044aba0
add esp, 0x14
cmp eax, 1
jne 0x416b81
push 0x54cbb0
call fcn.00411990
add esp, 4
push 0x54cbb0
call fcn.004393a0
push 0x54cbb0
call fcn.0041d890
mov eax, dword [0x564e34]
mov ecx, dword [0x54ad1c]
push 1
push ecx
mov eax, dword [eax + 0xc]
push 0x68
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push edx
push eax
call fcn.0047e210
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4ec
ret