Function at 0x480578
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58655e
mov eax, dword fs:[0]
push eax
sub esp, 0xf4c
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe9c], ecx
mov dword [ebp - 4], 0
push 4
call fcn.00553a71
add esp, 4
mov dword [ebp - 0xe24], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0xe24], 0
je 0x47fbd8
mov ecx, dword [ebp - 0xe24]
call fcn.00488130
mov dword [ebp - 0xea0], eax
jmp 0x47fbe2
mov dword [ebp - 0xea0], 0
mov eax, dword [ebp - 0xea0]
mov dword [ebp - 0xe20], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xe20]
mov dword [ebp - 0x230], ecx
push 0x960
call fcn.00553a71
add esp, 4
mov dword [ebp - 0xe2c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0xe2c], 0
je 0x47fc31
mov ecx, dword [ebp - 0xe2c]
call fcn.004846e0
mov dword [ebp - 0xea4], eax
jmp 0x47fc3b
mov dword [ebp - 0xea4], 0
mov edx, dword [ebp - 0xea4]
mov dword [ebp - 0xe28], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xe28]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0xe9c]
mov edx, dword [ecx + 0x36a8]
push edx
mov ecx, dword [ebp - 0x220]
call fcn.00480e50
lea ecx, [ebp - 0x228]
call fcn.0041d970
mov byte [ebp - 4], 3
push 0x5c
lea ecx, [ebp + 8]
call fcn.0041dcb0
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
je 0x47fd8a
lea ecx, [ebp + 8]
call fcn.0041e2f0
sub eax, dword [ebp - 0x234]
push eax
mov eax, dword [ebp - 0x234]
add eax, 1
push eax
lea ecx, [ebp - 0xe30]
push ecx
lea ecx, [ebp + 8]
call fcn.0041dd00
mov dword [ebp - 0xea8], eax
mov edx, dword [ebp - 0xea8]
mov dword [ebp - 0xeac], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xeac]
push eax
lea ecx, [ebp - 0x228]
call fcn.0041dad0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe30]
call fcn.0041dab0
lea ecx, [ebp - 0x228]
call fcn.0041e310
movzx ecx, al
test ecx, ecx
je 0x47fd1e
push 0x59556c
lea ecx, [ebp - 0x228]
call fcn.0041daf0
jmp 0x47fd8a
push 0x2e
lea ecx, [ebp - 0x228]
call fcn.0041dcb0
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
je 0x47fd8a
mov edx, dword [ebp - 0x234]
push edx
lea eax, [ebp - 0xe34]
push eax
lea ecx, [ebp - 0x228]
call fcn.0041de70
mov dword [ebp - 0xeb0], eax
mov ecx, dword [ebp - 0xeb0]
mov dword [ebp - 0xeb4], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xeb4]
push edx
lea ecx, [ebp - 0x228]
call fcn.0041dad0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe34]
call fcn.0041dab0
lea ecx, [ebp - 0x228]
call fcn.0041e290
push eax
mov eax, dword [ebp - 0x220]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x220]
mov eax, dword [edx + 0x24]
call eax
lea ecx, [ebp - 0x228]
call fcn.0041e290
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x220]
mov eax, dword [edx + 0x10]
call eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x228]
call fcn.0041e330
mov ecx, dword [0x595574]
mov dword [ebp - 0x21c], ecx
push 0x204
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.005533a0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call fcn.004011a0
add esp, 4
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.0041d9b0
mov byte [ebp - 4], 6
push 0x595578
lea ecx, [ebp - 0x22c]
call fcn.0041db30
push 0
lea ecx, [ebp - 0x22c]
call fcn.0041e1e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x595584
lea ecx, [ebp - 0x22c]
call fcn.0041db30
push 0
lea ecx, [ebp - 0x22c]
call fcn.0041e1e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ecx
mov ecx, esp
mov dword [ebp - 0xe38], esp
lea edx, [ebp + 8]
push edx
call fcn.0041d990
mov dword [ebp - 0xeb8], eax
call fcn.00456790
add esp, 4
mov dword [ebp - 0xebc], eax
mov eax, dword [ebp - 0xebc]
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0xec0], ecx
cmp dword [ebp - 0xec0], 5
ja case.0x47feb5.2
mov edx, dword [ebp - 0xec0]
jmp dword [edx*4 + 0x480814]
xor eax, eax
mov word [ebp - 0xb94], ax
push 0x256
push 0
lea ecx, [ebp - 0xb92]
push ecx
call fcn.005533a0
add esp, 0xc
push 0x708
push 0
lea edx, [ebp - 0x93c]
push edx
call fcn.005533a0
add esp, 0xc
lea eax, [ebp - 0xb94]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0xe3c], esp
lea edx, [ebp + 8]
push edx
call fcn.0041d990
mov dword [ebp - 0xec4], eax
call fcn.0041b580
add esp, 8
lea eax, [ebp - 0x93c]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00488210
lea ecx, [ebp - 0x6e4]
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.00488250
lea edx, [ebp - 0xb94]
push edx
mov ecx, dword [ebp - 0x230]
call fcn.004881e0
jmp 0x4805f6
push 0x5c
lea ecx, [ebp + 8]
call fcn.0041dcb0
mov dword [ebp - 0xb98], eax
cmp dword [ebp - 0xb98], 0xffffffff
je 0x47ffb9
mov eax, dword [ebp - 0xb98]
push eax
lea ecx, [ebp - 0xb9c]
push ecx
lea ecx, [ebp + 8]
call fcn.0041de70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb9c]
call fcn.0041e290
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00488210
push 0xffffffffffffffff
lea ecx, [ebp - 0xb9c]
call fcn.0041e330
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb9c]
call fcn.0041dab0
lea ecx, [ebp + 8]
call fcn.0041e290
push eax
mov ecx, dword [ebp - 0x230]
call fcn.004881e0
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0041e330
jmp 0x4805f6
mov dword [ebp - 0xc0c], 0xffffffff
mov edx, dword [0x595590]
mov dword [ebp - 0xc04], edx
push 0x60
push 0
lea eax, [ebp - 0xc00]
push eax
call fcn.005533a0
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
push 0x32
lea ecx, [ebp - 0xc04]
push ecx
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea edx, [ebp - 0xc04]
push edx
lea ecx, [ebp - 0xc08]
call fcn.0041d9b0
mov byte [ebp - 4], 8
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0xc0c], eax
cmp dword [ebp - 0xc0c], 2
je 0x480549
mov eax, dword [ebp - 0xc0c]
mov dword [ebp - 0xec8], eax
cmp dword [ebp - 0xec8], 3
je 0x480086
cmp dword [ebp - 0xec8], 5
je 0x4802ea
jmp 0x480549
lea ecx, [ebp - 0xc10]
call fcn.0041d970
mov byte [ebp - 4], 9
push 0x594bab
lea ecx, [ebp - 0xc08]
push ecx
call fcn.0041e140
add esp, 8
movzx edx, al
test edx, edx
je 0x480181
push 0x595594
push 2
lea eax, [ebp - 0xe40]
push eax
lea ecx, [ebp + 8]
call fcn.0041de70
mov dword [ebp - 0xecc], eax
mov ecx, dword [ebp - 0xecc]
mov dword [ebp - 0xed0], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xed0]
push edx
push 0x595598
lea eax, [ebp - 0xe44]
push eax
call fcn.0041e090
add esp, 0xc
mov dword [ebp - 0xed4], eax
mov ecx, dword [ebp - 0xed4]
mov dword [ebp - 0xed8], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xed8]
push edx
lea eax, [ebp - 0xe48]
push eax
call fcn.0041dfe0
add esp, 0xc
mov dword [ebp - 0xedc], eax
mov ecx, dword [ebp - 0xedc]
mov dword [ebp - 0xee0], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xee0]
push edx
lea ecx, [ebp - 0xc10]
call fcn.0041dad0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe48]
call fcn.0041dab0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe44]
call fcn.0041dab0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe40]
call fcn.0041dab0
jmp 0x48028b
push 0x5955a8
push 2
lea eax, [ebp - 0xe4c]
push eax
lea ecx, [ebp + 8]
call fcn.0041de70
mov dword [ebp - 0xee4], eax
mov ecx, dword [ebp - 0xee4]
mov dword [ebp - 0xee8], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xee8]
push edx
push 0x5955ac
lea eax, [ebp - 0xc08]
push eax
lea ecx, [ebp - 0xe50]
push ecx
call fcn.0041dfe0
add esp, 0xc
mov dword [ebp - 0xeec], eax
mov edx, dword [ebp - 0xeec]
mov dword [ebp - 0xef0], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xef0]
push eax
lea ecx, [ebp - 0xe54]
push ecx
call fcn.0041df30
add esp, 0xc
mov dword [ebp - 0xef4], eax
mov edx, dword [ebp - 0xef4]
mov dword [ebp - 0xef8], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xef8]
push eax
lea ecx, [ebp - 0xe58]
push ecx
call fcn.0041dfe0
add esp, 0xc
mov dword [ebp - 0xefc], eax
mov edx, dword [ebp - 0xefc]
mov dword [ebp - 0xf00], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xf00]
push eax
lea ecx, [ebp - 0xc10]
call fcn.0041dad0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe58]
call fcn.0041dab0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xe54]
call fcn.0041dab0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xe50]
call fcn.0041dab0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe4c]
call fcn.0041dab0
lea ecx, [ebp - 0xc10]
call fcn.0041e290
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x220]
mov eax, dword [edx + 0x24]
call eax
lea ecx, [ebp - 0xc10]
call fcn.0041e290
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x220]
mov eax, dword [edx + 0x10]
call eax
push 0xffffffffffffffff
lea ecx, [ebp - 0xc10]
call fcn.0041e330
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc10]
call fcn.0041dab0
jmp 0x480549
lea ecx, [ebp - 0xc14]
call fcn.0041d970
mov byte [ebp - 4], 0x11
push 0x594bcb
lea ecx, [ebp - 0xc08]
push ecx
call fcn.0041e140
add esp, 8
movzx edx, al
test edx, edx
je 0x4803e5
push 0x5955b0
push 2
lea eax, [ebp - 0xe5c]
push eax
lea ecx, [ebp + 8]
call fcn.0041de70
mov dword [ebp - 0xf04], eax
mov ecx, dword [ebp - 0xf04]
mov dword [ebp - 0xf08], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xf08]
push edx
push 0x5955b4
lea eax, [ebp - 0xe60]
push eax
call fcn.0041e090
add esp, 0xc
mov dword [ebp - 0xf0c], eax
mov ecx, dword [ebp - 0xf0c]
mov dword [ebp - 0xf10], ecx
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xf10]
push edx
lea eax, [ebp - 0xe64]
push eax
call fcn.0041dfe0
add esp, 0xc
mov dword [ebp - 0xf14], eax
mov ecx, dword [ebp - 0xf14]
mov dword [ebp - 0xf18], ecx
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0xf18]
push edx
lea ecx, [ebp - 0xc14]
call fcn.0041dad0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xe64]
call fcn.0041dab0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xe60]
call fcn.0041dab0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xe5c]
call fcn.0041dab0
jmp 0x4804ef
push 0x5955c4
push 2
lea eax, [ebp - 0xe68]
push eax
lea ecx, [ebp + 8]
call fcn.0041de70
mov dword [ebp - 0xf1c], eax
mov ecx, dword [ebp - 0xf1c]
mov dword [ebp - 0xf20], ecx
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0xf20]
push edx
push 0x5955c8
lea eax, [ebp - 0xc08]
push eax
lea ecx, [ebp - 0xe6c]
push ecx
call fcn.0041dfe0
add esp, 0xc
mov dword [ebp - 0xf24], eax
mov edx, dword [ebp - 0xf24]
mov dword [ebp - 0xf28], edx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0xf28]
push eax
lea ecx, [ebp - 0xe70]
push ecx
call fcn.0041df30
add esp, 0xc
mov dword [ebp - 0xf2c], eax
mov edx, dword [ebp - 0xf2c]
mov dword [ebp - 0xf30], edx
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0xf30]
push eax
lea ecx, [ebp - 0xe74]
push ecx
call fcn.0041dfe0
add esp, 0xc
mov dword [ebp - 0xf34], eax
mov edx, dword [ebp - 0xf34]
mov dword [ebp - 0xf38], edx
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0xf38]
push eax
lea ecx, [ebp - 0xc14]
call fcn.0041dad0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xe74]
call fcn.0041dab0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe70]
call fcn.0041dab0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xe6c]
call fcn.0041dab0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xe68]
call fcn.0041dab0
lea ecx, [ebp - 0xc14]
call fcn.0041e290
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x220]
mov eax, dword [edx + 0x24]
call eax
lea ecx, [ebp - 0xc14]
call fcn.0041e290
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x220]
mov eax, dword [edx + 0x10]
call eax
push 0xffffffffffffffff
lea ecx, [ebp - 0xc14]
call fcn.0041e330
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc14]
call fcn.0041dab0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc08]
call fcn.0041dab0
lea ecx, [ebp + 8]
call fcn.0041e290
push eax
mov ecx, dword [ebp - 0x230]
call fcn.004881e0
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0041e330
jmp 0x4805f6
mov ecx, dword [0x5955cc]
mov dword [ebp - 0xe1c], ecx
push 0x204
push 0
lea edx, [ebp - 0xe18]
push edx
call fcn.005533a0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
push 0x104
lea eax, [ebp - 0xe1c]
push eax
push 0x5955d0
push 0x5955d4
push 0x5955dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xe1c]
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.004881e0
jmp 0x4805f6
lea ecx, [ebp + 8]
call fcn.0041e290
push eax
mov ecx, dword [ebp - 0x230]
call fcn.004881e0
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0041e330
mov ecx, dword [ebp - 0x220]
call fcn.00480f10
push ecx
mov ecx, esp
mov dword [ebp - 0xe78], esp
push eax
call fcn.0041d9b0
mov dword [ebp - 0xf3c], eax
mov edx, dword [ebp - 0xf3c]
mov dword [ebp - 0xf40], edx
mov byte [ebp - 4], 0x19
push ecx
mov ecx, esp
mov dword [ebp - 0xe7c], esp
lea eax, [ebp - 0x22c]
push eax
call fcn.0041d990
mov dword [ebp - 0xf44], eax
mov ecx, dword [ebp - 0xf44]
mov dword [ebp - 0xf48], ecx
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, esp
mov dword [ebp - 0xe80], esp
lea edx, [ebp + 8]
push edx
call fcn.0041d990
mov dword [ebp - 0xf4c], eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.004585d0
add esp, 0x10
mov dword [ebp - 0xf50], eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x10]
call fcn.0041e310
movzx ecx, al
test ecx, ecx
je 0x480764
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0xe88], edx
mov eax, dword [ebp - 0xe88]
mov dword [ebp - 0xe84], eax
cmp dword [ebp - 0xe84], 0
je 0x4806cc
push 1
mov ecx, dword [ebp - 0xe84]
call fcn.00480e70
mov dword [ebp - 0xf54], eax
jmp 0x4806d6
mov dword [ebp - 0xf54], 0
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0xe90], ecx
mov edx, dword [ebp - 0xe90]
mov dword [ebp - 0xe8c], edx
cmp dword [ebp - 0xe8c], 0
je 0x48070c
push 1
mov ecx, dword [ebp - 0xe8c]
call fcn.00480f30
mov dword [ebp - 0xf58], eax
jmp 0x480716
mov dword [ebp - 0xf58], 0
mov dword [ebp - 0xe94], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x22c]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041dab0
mov eax, dword [ebp - 0xe94]
jmp 0x4807f7
lea ecx, [ebp - 0x10]
call fcn.0041e290
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00488290
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.00485ef0
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0041e330
mov ecx, dword [ebp - 0xe9c]
mov edx, dword [ecx + 0x36b0]
push edx
mov ecx, dword [ebp - 0x220]
call fcn.00487b00
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0xe98], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x22c]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041dab0
mov eax, dword [ebp - 0xe98]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 4