Function at 0x10033360
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4dc
mov eax, dword [0x1009900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x78
push dword [0x100a0c38]
mov byte [0x10099a78], 0
push str._skitterengineload__i.wav
push 0x104
push 0x1018dd38
call fcn.10009b70
add esp, 0x14
mov byte [ebp - 0x4b9], 0
push 0xd20
push dword [0x100a0e64]
push 0x78
push ecx
lea ecx, [ebp - 0x4b9]
call fcn.10033760
add esp, 4
push eax
lea eax, [ebp - 0x88]
push 0x40
push eax
call fcn.10009b70
add esp, 0x18
lea edx, [ebp - 0x88]
mov ecx, 0x1018dd38
call fcn.1000c320
test al, al
jne 0x1003340a
push str._MOTD__Fail_to_Download_MOTD_n
call fcn.1002ec10
add esp, 4
mov byte [0x10099a78], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10050cdb
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x4b8]
push eax
push 0x1018dd38
call fcn.1005a2ce
add esp, 8
test eax, eax
jne 0x100333f2
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x288]
push 0x1018dd38
push 0x100
push eax
push 0x10086c68
push 0x10082de8
push 0x10082e30
call ebx
lea eax, [ebp - 0x288]
push eax
call fcn.1005590d
add esp, 4
mov dword [ebp - 0x4d4], eax
lea eax, [ebp - 0x288]
push 0x1018dd38
push 0x100
push eax
push str.0_1_2_34_5_6789_aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
push 0x10082e30
push 0x10082e30
call ebx
lea eax, [ebp - 0x288]
push eax
call fcn.1005590d
add esp, 4
mov dword [ebp - 0x4c8], eax
cmp eax, 1
jl 0x100333f2
mov ecx, dword [sym.imp.CORE.DLL_Ordinal_1092]
push 0x100901c4
push 0x1080
mov ecx, dword [ecx]
mov edx, dword [ecx]
call dword [edx]
mov dword [ebp - 0x4c0], eax
test eax, eax
je 0x100334ca
mov ecx, eax
call fcn.10017710
mov esi, eax
jmp 0x100334cc
xor esi, esi
lea eax, [ebp - 0x4d0]
mov dword [0x1009c8b4], esi
push eax
lea ecx, [ebp - 0x4c4]
mov dword [esi + 0x1078], 0x100dd7e8
mov dword [esi + 0x1074], 0x1008c148
mov dword [ebp - 0x4c4], 0x7d
mov dword [ebp - 0x4c0], 0x64
call fcn.10011bb0
push eax
lea ecx, [esi + 0x103c]
call fcn.100119e0
mov eax, dword [sym.imp.CORE.DLL_Ordinal_1092]
mov dword [esi + 0x1024], 0x10033140
mov dword [esi + 0x1010], 0x100330c0
push 0x100901c4
mov ecx, dword [eax]
push 0x1180
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x4c0], eax
test eax, eax
je 0x10033554
mov ecx, eax
call fcn.1001d2f0
jmp 0x10033556
xor eax, eax
push dword [0x1009c8b4]
mov ecx, eax
mov dword [0x1009c3c8], eax
call fcn.10016d50
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4c4], 0xa
push eax
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 0x4c0], 0x19
call fcn.10011bb0
mov ecx, dword [0x1009c3c8]
push eax
add ecx, 0x102c
call fcn.100119e0
xor edi, edi
mov esi, 0x10144510
nop word [eax + eax]
push edi
push 0x1008c154
lea eax, [ebp - 0x488]
push 0x100
push eax
call fcn.10009b70
add esp, 0x10
lea eax, [ebp - 0x488]
push 0x1018dd38
push 0x100
push esi
push str.0_1_2_34_5_6789_aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
push 0x10082dd8
push eax
call ebx
push ecx
mov edx, str.0_1_2_34_5_6789_aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
mov ecx, esi
call fcn.100106e0
add esp, 4
test al, al
jne 0x10033650
push 0x1018dd38
push 0x100
lea eax, [ebp - 0x288]
push eax
push edx
push 0x10082de0
lea eax, [ebp - 0x488]
push eax
call ebx
lea eax, [ebp - 0x288]
push eax
call fcn.1005590d
add esp, 4
test eax, eax
jne 0x1003363d
mov dword [ebp - 0x4cc], eax
lea eax, [ebp - 0x4cc]
jmp 0x10033649
mov dword [ebp - 0x4c0], eax
lea eax, [ebp - 0x4c0]
push eax
push esi
call fcn.1001d480
inc edi
add esi, 0x200
cmp edi, dword [ebp - 0x4c8]
jl 0x100335b0
mov eax, dword [sym.imp.CORE.DLL_Ordinal_1092]
push 0x100901c4
push 0x1098
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x4c8], eax
test eax, eax
je 0x1003368b
mov ecx, eax
call fcn.10019ed0
jmp 0x1003368d
xor eax, eax
push dword [0x1009c8b4]
mov ecx, eax
mov dword [0x100a4ac4], eax
call fcn.10016d50
lea ecx, [ebp - 0x4c8]
mov dword [ebp - 0x4c8], 0x1d
call fcn.10021080
mov ecx, dword [0x100a4ac4]
push 0
mov dword [ecx + 0x1074], eax
mov dword [ecx + 0x1070], 0x100ee790
mov dword [ecx + 0x1088], 0x2710
mov ecx, 0x100d6468
call fcn.10011760
mov ecx, dword [ebp - 0x4d4]
mov eax, ecx
cdq
cmp dword [0x100d6488], eax
jne 0x1003370f
cmp dword [0x100d648c], edx
jne 0x1003370f
mov eax, dword [0x100a4ac4]
mov ecx, 0xfffe
and word [eax + 0x1060], cx
jmp 0x100333f2
push ecx
push 0x10084bc4
lea eax, [ebp - 0x488]
push 0x100
push eax
call fcn.10009b70
add esp, 0x10
lea eax, [ebp - 0x488]
mov ecx, 0x100d6468
push eax
call fcn.10011460
push 0
mov ecx, 0x100d6468
call fcn.10011700
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10050cdb
mov esp, ebp
pop ebp
ret