Function at 0x100027d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001e4b8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10029540]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x10029540]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
cmp dword [0x1002c840], 0x78
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], esi
je 0x10002836
push 0x100246d0
push str._s_Need_init._n
call fcn.1000cb42
push 0x78
push 0x1002c7b8
push esi
call fcn.100084a0
add esp, 0x14
movzx edi, word [0x1002c832]
mov bl, byte [0x1002c839]
push edi
push 0x100246f0
push str._s_Team_ID_:__04x_n
mov dword [esp + 0x24], edi
call fcn.1000cb42
movzx eax, byte [0x1002c834]
push eax
push 0x10024714
push str._s_kit_type_:__d_n
call fcn.1000cb42
movzx eax, byte [0x1002c838]
push eax
push 0x10024738
push str._s_kit_set_:__d_n
call fcn.1000cb42
movzx esi, bl
push esi
push 0x1002475c
push str._s_kit_num_:__d_n
call fcn.1000cb42
movzx eax, byte [0x1002c834]
add esp, 0x30
mov bl, byte [eax + 0x1002ad80]
add bl, byte [0x1002c838]
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x28], ax
lea eax, [edi + edi*2]
lea ecx, [esp + 0x28]
lea eax, [eax*8 + 0x1008f178]
push eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
call fcn.10001b70
movzx eax, bl
push 0xffffffffffffffff
lea eax, [eax + eax*4]
push 0
lea edi, [esi + eax*2]
mov esi, dword [esp + 0x20]
imul esi, esi, 0x604c
lea eax, [edi + edi*2]
lea ecx, [esp + 0x28]
lea eax, [eax*8 + 0x100a72c8]
add eax, esi
push eax
mov dword [esp + 0x64], 0
call fcn.10001a60
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push str.Check_in_folder_:__s_n
call fcn.1000c871
imul edi, edi, 0x98
add esi, edi
add esp, 8
cmp dword [esi + 0x100a8060], 0
mov dword [esp + 0x1c], esi
je 0x10002a62
push 0x100247ac
push str._s_has_kit_setting_n
call fcn.1000cb42
mov ebx, dword [esp + 0x1c]
push 3
mov byte [ebx], 1
movzx eax, byte [esi + 0x100a7fe9]
mov byte [ebx + 1], al
mov byte [ebx + 2], 0x3e
movzx eax, byte [esi + 0x100a7feb]
mov byte [ebx + 3], al
lea eax, [esi + 0x100a7fec]
push eax
lea eax, [ebx + 4]
push eax
call fcn.100084a0
push 3
lea eax, [esi + 0x100a7fef]
push eax
lea eax, [ebx + 7]
push eax
call fcn.100084a0
push 3
lea eax, [esi + 0x100a7ff2]
push eax
lea eax, [ebx + 0xa]
push eax
call fcn.100084a0
push 3
lea eax, [esi + 0x100a7ff5]
push eax
lea eax, [ebx + 0xd]
push eax
call fcn.100084a0
push 3
lea eax, [esi + 0x100a7ff8]
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.100084a0
mov byte [ebx + 0x13], 0
movzx eax, byte [esi + 0x100a7ffc]
mov byte [ebx + 0x14], al
movzx eax, byte [esi + 0x100a7ffd]
add esp, 0x44
mov byte [ebx + 0x15], al
push 2
lea eax, [esi + 0x100a7ffe]
push eax
lea eax, [ebx + 0x16]
push eax
call fcn.100084a0
movzx eax, byte [esi + 0x100a8000]
mov byte [ebx + 0x18], al
movzx eax, byte [esi + 0x100a8001]
mov byte [ebx + 0x19], al
movzx eax, byte [esi + 0x100a8002]
mov byte [ebx + 0x1a], al
movzx eax, byte [esi + 0x100a8003]
mov byte [ebx + 0x1b], al
push 2
lea eax, [esi + 0x100a8004]
push eax
lea eax, [ebx + 0x1c]
push eax
call fcn.100084a0
movzx eax, byte [esi + 0x100a8007]
mov byte [ebx + 0x1f], al
movzx eax, byte [esi + 0x100a8008]
mov byte [ebx + 0x20], al
movzx eax, byte [esi + 0x100a8009]
mov byte [ebx + 0x21], al
movzx eax, byte [esi + 0x100a800a]
add esp, 0x18
mov byte [ebx + 0x22], al
jmp 0x10002a66
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push str._sconfig.bin
push 0x800
push 0x1002c84c
call fcn.1000cc99
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x1002c84c
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x10002ad1
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0x78
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [esp + 0x14]
call esi
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push str._skit.dds
push 0x800
push 0x1002d04c
call fcn.1000cc99
cmp dword [esp + 0x44], 8
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
push eax
push str._s_back.dds
push 0x800
push 0x1002e04c
call fcn.1000cc99
cmp dword [esp + 0x54], 8
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
push eax
push str._schest.dds
push 0x800
push 0x1002e84c
call fcn.1000cc99
cmp dword [esp + 0x64], 8
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
push eax
push str._sleg.dds
push 0x800
push 0x1002f04c
call fcn.1000cc99
add esp, 0x40
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push str._s_name.dds
push 0x800
push 0x1002f84c
call fcn.1000cc99
movzx eax, byte [0x1002c839]
push eax
movzx eax, byte [0x1002c838]
push eax
movzx eax, byte [0x1002c834]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x5c]
push str._04x_02x_02x_02x
push 0xb
push eax
call fcn.1000cc7d
add esp, 0x2c
mov byte [esp + 0x46], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x1002d04c
call edi
cmp eax, 0xffffffff
je 0x10002bf4
push eax
call esi
push 0x1002487c
push str._s_has_kit_DDS_n
call fcn.1000cb42
lea eax, [esp + 0x44]
push eax
push str._s_kDDS
jmp 0x10002c54
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push str._skit.png
push 0x800
push 0x1002d04c
call fcn.1000cc99
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x1002d04c
call edi
cmp eax, 0xffffffff
je 0x10002c62
push eax
call esi
push 0x100248bc
push str._s_has_kit_PNG_n
call fcn.1000cb42
lea eax, [esp + 0x44]
push eax
push str._s__kit
lea eax, [ebx + 0x28]
push 0x10
push eax
call fcn.1000cc7d
add esp, 0x18
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x1002e04c
call edi
cmp eax, 0xffffffff
je 0x10002c9e
push eax
call esi
push 0x100248e4
push str._s_has_back_DDS_n
call fcn.1000cb42
lea eax, [esp + 0x44]
push eax
push str._s_bDDS
jmp 0x10002cfe
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push str._s_back.png
push 0x800
push 0x1002e04c
call fcn.1000cc99
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x1002e04c
call edi
cmp eax, 0xffffffff
je 0x10002d0c
push eax
call esi
push 0x10024928
push str._s_has_back_PNG_n
call fcn.1000cb42
lea eax, [esp + 0x44]
push eax
push str._s_back
lea eax, [ebx + 0x38]
push 0x10
push eax
call fcn.1000cc7d
add esp, 0x18
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x1002e84c
call edi
cmp eax, 0xffffffff
je 0x10002d48
push eax
call esi
push 0x10024954
push str._s_has_chest_DDS_n
call fcn.1000cb42
lea eax, [esp + 0x44]
push eax
push str._schDDS
jmp 0x10002da8
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push str._schest.png
push 0x800
push 0x1002e84c
call fcn.1000cc99
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x1002e84c
call edi
cmp eax, 0xffffffff
je 0x10002db6
push eax
call esi
push 0x1002499c
push str._s_has_chest_PNG_n
call fcn.1000cb42
lea eax, [esp + 0x44]
push eax
push str._schest
lea eax, [ebx + 0x48]
push 0x10
push eax
call fcn.1000cc7d
add esp, 0x18
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x1002f04c
call edi
cmp eax, 0xffffffff
je 0x10002df2
push eax
call esi
push 0x100249c8
push str._s_has_leg_DDS_n
call fcn.1000cb42
lea eax, [esp + 0x44]
push eax
push str._s_lDDS
jmp 0x10002e52
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push str._sleg.png
push 0x800
push 0x1002f04c
call fcn.1000cc99
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x1002f04c
call edi
cmp eax, 0xffffffff
je 0x10002e60
push eax
call esi
push 0x10024a08
push str._s_has_leg_PNG_n
call fcn.1000cb42
lea eax, [esp + 0x44]
push eax
push str._s__leg
lea eax, [ebx + 0x58]
push 0x10
push eax
call fcn.1000cc7d
add esp, 0x18
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x1002f84c
call edi
cmp eax, 0xffffffff
je 0x10002e9c
push eax
call esi
push 0x10024a30
push str._s_has_name_DDS_n
call fcn.1000cb42
lea eax, [esp + 0x44]
push eax
push str._s_nDDS
jmp 0x10002efc
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push str._s_name.png
push 0x800
push 0x1002f84c
call fcn.1000cc99
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x1002f84c
call edi
cmp eax, 0xffffffff
je 0x10002f0a
push eax
call esi
push 0x10024a74
push str._s_has_name_PNG_n
call fcn.1000cb42
lea eax, [esp + 0x44]
push eax
push str._s_name
lea eax, [ebx + 0x68]
push 0x10
push eax
call fcn.1000cc7d
add esp, 0x18
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x100a8060], 0
je 0x10002f7b
cmp dword [esi + 0x100a8070], 0
jne 0x10002f30
push 0x10
lea eax, [ebx + 0x68]
push 0
push eax
call fcn.10009f00
add esp, 0xc
cmp dword [esi + 0x100a8074], 0
jne 0x10002f49
push 0x10
lea eax, [ebx + 0x48]
push 0
push eax
call fcn.10009f00
add esp, 0xc
cmp dword [esi + 0x100a8078], 0
jne 0x10002f62
push 0x10
lea eax, [ebx + 0x58]
push 0
push eax
call fcn.10009f00
add esp, 0xc
cmp dword [esi + 0x100a807c], 0
jne 0x10002f7b
push 0x10
lea eax, [ebx + 0x38]
push 0
push eax
call fcn.10009f00
add esp, 0xc
cmp dword [esp + 0x34], 8
mov dword [0x1002c844], 0
jb 0x10002f98
push dword [esp + 0x20]
call fcn.1000c7d2
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1000bd47
mov esp, ebp
pop ebp
ret