Function at 0x55a6a0
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x5cca99
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x61a654]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
mov eax, dword [0x61a654]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
call fcn.00466f30
xor ebx, ebx
push ebx
mov dword [esp + 0x244], ebx
mov dword [esi], 0x5f0edc
mov dword [esi + 4], 0x5f0ecc
mov dword [esi + 0x74c], ebx
mov byte [esi + 0x730], bl
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x104
lea eax, [esp + 0x34]
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
push ebx
push ebx
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.005a7446
push ebx
push ebx
lea ecx, [esp + 0x150]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.005a7234
add esp, 0x28
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov edx, dword [0x658788]
cmp byte [edx + 0xb], bl
jne 0x55a89f
push 0x40
call fcn.0059e72d
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x240], 1
cmp eax, ebx
je 0x55a797
mov ecx, eax
call fcn.0058a320
jmp 0x55a799
xor eax, eax
push 8
push 0x5f0e40
lea ecx, [esp + 0x18]
mov byte [esp + 0x248], bl
mov dword [esi + 0x74c], eax
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00401590
mov ecx, dword [esi + 0x74c]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x244], 2
call fcn.00589d30
cmp dword [esp + 0x28], 0x10
mov byte [esp + 0x240], bl
jb 0x55a7f9
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0059e6bb
add esp, 4
push 7
push str.loc.pak
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00401590
mov ecx, dword [esi + 0x74c]
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x244], 3
call fcn.00589d30
cmp dword [esp + 0x28], 0x10
mov byte [esp + 0x240], bl
jb 0x55a84c
mov eax, dword [esp + 0x14]
push eax
call fcn.0059e6bb
add esp, 4
push 7
push str.mod.pak
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00401590
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x74c]
mov byte [esp + 0x244], 4
call fcn.00589d30
cmp dword [esp + 0x28], 0x10
mov byte [esp + 0x240], bl
jb 0x55a89f
mov edx, dword [esp + 0x14]
push edx
call fcn.0059e6bb
add esp, 4
mov eax, dword [0x5f0e30]
mov dword [esi + 0x738], eax
mov ecx, dword [0x5f0e34]
mov dword [esi + 0x73c], ecx
mov edx, dword [0x5f0e38]
mov ecx, dword [esp + 0x248]
mov dword [esi + 0x740], edx
mov eax, dword [0x5f0e3c]
push 0x10
mov dword [esi + 0x734], ecx
push str.Amelie.Christmas
lea ecx, [esi + 0x44]
mov dword [esi + 0x744], eax
call fcn.00401590
push ebx
push 0x5f0e70
lea ecx, [esi + 0x60]
call fcn.0040bf20
push 3
push 0x5f0e74
lea ecx, [esi + 0x3cc]
call fcn.00401590
push 0x1d
push str.Boolat_GamesAmelie.Christmas
lea ecx, [esi + 0x7c]
call fcn.00401590
mov dword [0x658764], esi
push 0x44
mov dword [esi + 0xc0], 0x400
mov dword [esi + 0xc4], 0x300
call fcn.0059e72d
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x240], 5
cmp eax, ebx
je 0x55a955
mov ecx, eax
call fcn.00587830
jmp 0x55a957
xor eax, eax
push 1
mov byte [esp + 0x244], bl
mov dword [esi + 0x748], eax
call fcn.0059e72d
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x240], 6
cmp eax, ebx
je 0x55a987
mov ecx, eax
call fcn.00588770
jmp 0x55a989
xor eax, eax
push 1
mov byte [esp + 0x244], bl
mov dword [0x65875c], eax
call fcn.0059e72d
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x240], 7
cmp eax, ebx
je 0x55a9b8
mov ecx, eax
call fcn.00556940
jmp 0x55a9ba
xor eax, eax
push 0x3c
mov byte [esp + 0x244], bl
mov dword [esi + 0x754], eax
call fcn.0059e72d
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x240], 8
cmp eax, ebx
je 0x55a9ea
mov ecx, eax
call fcn.0055cb40
jmp 0x55a9ec
xor eax, eax
push 0x24
mov byte [esp + 0x244], bl
mov dword [esi + 0x758], eax
call fcn.0059e72d
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x240], 9
cmp eax, ebx
je 0x55aa1d
push esi
mov ecx, eax
call fcn.00585b20
jmp 0x55aa1f
xor eax, eax
push 0x28
mov byte [esp + 0x244], bl
mov dword [esi + 0x75c], eax
call fcn.0059e72d
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x240], 0xa
cmp eax, ebx
je 0x55aa50
push esi
mov ecx, eax
call fcn.00562b40
jmp 0x55aa52
xor eax, eax
push 0x20
mov byte [esp + 0x244], bl
mov dword [esi + 0x760], eax
call fcn.0059e72d
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x240], 0xb
cmp eax, ebx
je 0x55aa82
mov ecx, eax
call fcn.00562630
jmp 0x55aa84
xor eax, eax
push 0x20
mov byte [esp + 0x244], bl
mov dword [esi + 0x764], eax
call fcn.0059e72d
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x240], 0xc
cmp eax, ebx
je 0x55aab4
mov ecx, eax
call fcn.00586ff0
jmp 0x55aab6
xor eax, eax
push 0x20
mov byte [esp + 0x244], bl
mov dword [esi + 0x768], eax
call fcn.0059e72d
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x240], 0xd
cmp eax, ebx
je 0x55aae6
mov ecx, eax
call fcn.00588ea0
jmp 0x55aae8
xor eax, eax
push 0x1ac
mov byte [esp + 0x244], bl
mov dword [esi + 0x750], eax
call fcn.0059e72d
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x240], 0xe
cmp eax, ebx
je 0x55ab1d
push esi
push ebx
mov ecx, eax
call fcn.0055d3f0
jmp 0x55ab1f
xor eax, eax
push 0x300
push 0x400
mov dword [0x658760], eax
mov edx, dword [eax]
push ebx
mov ecx, eax
mov eax, dword [edx + 0xa0]
push ebx
mov byte [esp + 0x250], bl
call eax
mov ecx, dword [esi + 0x320]
mov edx, dword [ecx]
mov eax, dword [0x658760]
mov edx, dword [edx + 0xc]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0059e619
add esp, 0x238
ret 4