Function at 0x40de00
Capabilities:
Create directory
Create thread
Delete file
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43612f
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0x334], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x442c34]
xor eax, esp
push eax
lea eax, [esp + 0x34c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [0x446aac], edi
call fcn.004132ad
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40de5f
push 0x80004005
call fcn.00404f80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
call fcn.004132ad
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40de89
push 0x80004005
call fcn.00404f80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x358], ebx
call fcn.00412d20
test eax, eax
je 0x40def9
lea esi, [esp + 0x14]
lea eax, [esp + 0x1c]
call fcn.00412f00
push eax
mov ecx, 0x446b88
mov byte [esp + 0x358], 1
call fcn.00405030
mov byte [esp + 0x354], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40def9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push str.GlobalRILI_DOWN_INST_0000
push 1
push ebx
push ebx
call esi
push str.GlobalRILI_D_IE_0000000
push 1
push ebx
push ebx
mov dword [0x446b48], eax
call esi
push str.GlobalRILI_D_shouji000
push 1
push ebx
push ebx
mov dword [0x446b44], eax
call esi
push ebx
push edi
push ebx
push ebx
push ebx
push bind
push ebx
push bind
push 0xcf0000
push 0x446ab0
push 0x446a48
push ebx
mov dword [0x446b64], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebp, eax
mov dword [esp + 0x18], ebp
mov dword [0x446b50], ebp
cmp ebp, ebx
jne 0x40dfb7
mov dword [esp + 0x354], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dfb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40e8f2
call fcn.00405bd0
push 0x446cc4
mov ecx, 0x446cf4
mov dword [0x446b28], eax
call fcn.00405030
push 0x1a
push str.wdj_connection_wrapper.dll
mov ecx, 0x446cf4
call fcn.00404530
mov edx, dword [0x446cf4]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x40e007
push ebx
mov ecx, 0x446cf4
call fcn.00404e40
mov edx, dword [0x446cf4]
push 8
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
cmp esi, ebx
je 0x40e0a0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.StartupWDJCore
push esi
call edi
push str.QueryWDJCore
push esi
mov dword [0x446b34], eax
call edi
push str.ShutdownWDJCore
push esi
mov dword [0x446b38], eax
call edi
push 0x10
mov dword [0x446b3c], eax
call fcn.00412f42
add esp, 4
cmp eax, ebx
je 0x40e072
mov dword [eax + 4], vtable.wdj::connection::Application.0
mov dword [eax], vtable.TestApplication.0
mov dword [eax + 4], vtable.TestApplication.1.0
mov byte [eax + 8], bl
mov dword [eax + 0xc], ebp
jmp 0x40e074
xor eax, eax
mov dword [0x446b40], eax
call fcn.00407780
cmp dword [0x446b34], ebx
je 0x40e0a0
cmp dword [0x446b38], ebx
je 0x40e0a0
cmp dword [0x446b3c], ebx
je 0x40e0a0
mov dword [0x446b30], 1
push 0x446cc4
mov ecx, 0x446c84
call fcn.00405030
push 4
push str.inst
mov ecx, 0x446c84
call fcn.00404530
push 0x446cc4
mov ecx, 0x446cec
call fcn.00405030
push 6
push str.SJinst
mov ecx, 0x446cec
call fcn.00404530
mov eax, dword [0x446cec]
cmp dword [eax - 4], 1
jle 0x40e0fe
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, 0x446cec
call fcn.00404d80
mov eax, dword [0x446cec]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x446cc4
mov ecx, 0x446cf0
call fcn.00405030
push 0xb
push str.adb_adb.exe
mov ecx, 0x446cf0
call fcn.00404530
push 0x446cc4
mov ecx, 0x446b8c
call fcn.00405030
push 0xb
push str.riliser.exe
mov ecx, 0x446b8c
call fcn.00404530
push 0x446cc4
mov ecx, 0x446c88
call fcn.00405030
push 6
push str.ieico_
mov ecx, 0x446c88
call fcn.00404530
push 0x446cc4
mov ecx, 0x446cc8
call fcn.00405030
push 0xf
push str.dataConfig.ini
mov ecx, 0x446cc8
call fcn.00404530
push 0x446cc4
mov ecx, 0x446c78
call fcn.00405030
push 6
push str.icolog
mov ecx, 0x446c78
call fcn.00404530
push 0x446cc4
mov ecx, 0x446cf8
call fcn.00405030
push 0xd
push str.SeeUpdate.exe
mov ecx, 0x446cf8
call fcn.00404530
mov eax, dword [0x446cc4]
add eax, 0xfffffff0
push eax
call fcn.00404fa0
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
push 5
push str.data_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x35c], 2
call fcn.00404530
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp - 8]
mov eax, 1
sub eax, dword [ebp - 4]
or ecx, eax
jge 0x40e216
push ebx
lea ecx, [esp + 0x18]
call fcn.00404e40
mov ebp, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push ebp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 0x10
je 0x40e24b
mov ecx, dword [ebp - 8]
mov eax, 1
sub eax, dword [ebp - 4]
or ecx, eax
jge 0x40e247
push ebx
lea ecx, [esp + 0x18]
call fcn.00404e40
mov ebp, dword [esp + 0x14]
push ebx
push ebp
call edi
mov edx, dword [0x446c88]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x40e271
push ebx
mov ecx, 0x446c88
call fcn.00404e40
mov edx, dword [0x446c88]
push edx
call esi
cmp eax, 0x10
je 0x40e2a3
mov edx, dword [0x446c88]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x40e29f
push ebx
mov ecx, 0x446c88
call fcn.00404e40
mov edx, dword [0x446c88]
push ebx
push edx
call edi
mov eax, dword [0x446b20]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 1
jne 0x40e47e
push 0x103
lea edx, [esp + 0x41]
push ebx
push edx
mov byte [esp + 0x48], bl
call fcn.00421a10
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0xc
push ebx
push ebx
lea eax, [esp + 0x44]
push eax
push ebx
call esi
mov ecx, dword [0x446cc8]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ecx
lea edx, [esp + 0x40]
push edx
push str.DESKTOP
push str.INFO
call edi
lea eax, [esp + 0x3c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40e303
sub eax, ecx
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, 0x446b78
call fcn.00404ef0
push 0x104
lea ecx, [esp + 0x40]
push ebx
push ecx
call fcn.00421a10
add esp, 0xc
push ebx
push 5
lea edx, [esp + 0x44]
push edx
push ebx
call esi
mov eax, dword [0x446cc8]
push eax
lea ecx, [esp + 0x40]
push ecx
push str.PERSONAL
push str.INFO
call edi
lea eax, [esp + 0x3c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40e358
sub eax, ecx
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, 0x446b70
call fcn.00404ef0
push 0x104
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.00421a10
add esp, 0xc
push ebx
push 0x19
lea ecx, [esp + 0x44]
push ecx
push ebx
call esi
mov edx, dword [0x446cc8]
push edx
lea eax, [esp + 0x40]
push eax
push str.COMMON_DESKTOPDIRECTORY
push str.INFO
call edi
lea eax, [esp + 0x3c]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40e3b0
sub eax, ecx
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, 0x446b74
call fcn.00404ef0
push 0x104
lea edx, [esp + 0x40]
push ebx
push edx
call fcn.00421a10
add esp, 0xc
push ebx
push 0x1a
lea eax, [esp + 0x44]
push eax
push ebx
call esi
mov ecx, dword [0x446cc8]
push ecx
lea edx, [esp + 0x40]
push edx
push str.APPDATA
push str.INFO
call edi
lea eax, [esp + 0x3c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40e406
sub eax, ecx
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, 0x446b7c
call fcn.00404ef0
push 0x104
lea ecx, [esp + 0x40]
push ebx
push ecx
call fcn.00421a10
add esp, 0xc
push ebx
push 0x16
lea edx, [esp + 0x44]
push edx
push ebx
call esi
mov eax, dword [0x446cc8]
push eax
lea ecx, [esp + 0x40]
push ecx
push str.COMMON_STARTMENU
push str.INFO
call edi
lea eax, [esp + 0x3c]
lea edx, [eax + 1]
jmp 0x40e460
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40e460
sub eax, edx
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, 0x446b80
call fcn.00404ef0
jmp 0x40e5dd
cmp eax, ebx
jne 0x40e5dd
push 0x103
lea eax, [esp + 0x41]
push ebx
push eax
mov byte [esp + 0x48], bl
call fcn.00421a10
mov ecx, dword [0x446cc8]
add esp, 0xc
push ecx
push 0x104
lea edx, [esp + 0x44]
push edx
push 0x43a9ec
push str.DESKTOP
push str.INFO
call ebp
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x446b78
call fcn.00404c30
push 0x104
lea ecx, [esp + 0x40]
push ebx
push ecx
call fcn.00421a10
mov edx, dword [0x446cc8]
add esp, 0xc
push edx
push 0x104
lea eax, [esp + 0x44]
push eax
push 0x43a9ec
push str.PERSONAL
push str.INFO
call ebp
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x446b70
call fcn.00404c30
push 0x104
lea edx, [esp + 0x40]
push ebx
push edx
call fcn.00421a10
mov eax, dword [0x446cc8]
add esp, 0xc
push eax
push 0x104
lea ecx, [esp + 0x44]
push ecx
push 0x43a9ec
push str.COMMON_DESKTOPDIRECTORY
push str.INFO
call ebp
lea edx, [esp + 0x3c]
push edx
mov ecx, 0x446b74
call fcn.00404c30
push 0x104
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.00421a10
mov ecx, dword [0x446cc8]
add esp, 0xc
push ecx
push 0x104
lea edx, [esp + 0x44]
push edx
push 0x43a9ec
push str.APPDATA
push str.INFO
call ebp
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x446b7c
call fcn.00404c30
push 0x104
push ebx
lea ecx, [esp + 0x44]
push ecx
call fcn.00421a10
mov edx, dword [0x446cc8]
add esp, 0xc
push edx
push 0x104
lea eax, [esp + 0x44]
push eax
push 0x43a9ec
push str.COMMON_STARTMENU
push str.INFO
call ebp
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x446b80
call fcn.00404c30
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x103
lea eax, [esp + 0x145]
push ebx
push eax
mov byte [esp + 0x14c], bl
call fcn.00421a10
mov ecx, dword [0x446cc8]
add esp, 0xc
push ecx
push 0x104
lea edx, [esp + 0x148]
push edx
push 0x43a9ec
push str.setup
push str.Info
call ebp
lea eax, [esp + 0x140]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40e634
sub eax, ecx
push eax
lea eax, [esp + 0x144]
push eax
mov ecx, 0x446c7c
call fcn.00404ef0
push 0x103
lea ecx, [esp + 0x249]
push ebx
push ecx
mov byte [esp + 0x250], bl
call fcn.00421a10
mov edx, dword [0x446cc8]
add esp, 0xc
push edx
push 0x104
lea eax, [esp + 0x24c]
push eax
push 0x43a9ec
push str.xmagic
push str.Info
call ebp
lea eax, [esp + 0x244]
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40e6a0
sub eax, ecx
push eax
lea ecx, [esp + 0x248]
push ecx
mov ecx, 0x446b6c
call fcn.00404ef0
push 0x2c
call fcn.00412f42
add esp, 4
cmp eax, ebx
je 0x40e6d3
mov esi, eax
call fcn.004082f0
jmp 0x40e6d5
xor eax, eax
push 0x20
mov dword [0x446b54], eax
call fcn.00412f42
add esp, 4
cmp eax, ebx
je 0x40e6f1
mov esi, eax
call fcn.0040aa20
jmp 0x40e6f3
xor eax, eax
mov ecx, dword [0x446b54]
mov edx, dword [ecx]
mov dword [0x446b58], eax
mov eax, dword [edx]
mov dword [0x446b5c], ecx
call eax
mov ecx, dword [0x446b58]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [0x446b5c], ecx
call eax
push 0x28
call fcn.00412f42
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x354], 3
cmp eax, ebx
je 0x40e73e
push eax
call fcn.00406a10
jmp 0x40e740
xor eax, eax
push ebx
push ebx
push ebx
push 0x40ccf0
push ebx
mov byte [esp + 0x368], 2
push ebx
mov dword [0x446b2c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.0040d6c0
cmp dword [0x446b28], 2
jl 0x40e770
call fcn.00405e60
mov ecx, dword [0x446b50]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push ebx
push 0xea60
push 0xb
push ecx
call esi
mov edx, dword [0x446b50]
push ebx
push 0x15f90
push 0xc
push edx
call esi
mov eax, dword [0x446b88]
cmp dword [eax - 0xc], ebx
je 0x40e852
push 0x43a9ec
push 0x43b5c0
push 0x446b88
call fcn.0040eba0
call fcn.00405230
test eax, eax
je 0x40e852
mov eax, dword [0x43b5cc]
mov edx, dword [0x43b5c8]
mov ecx, dword [str.183.61.9.60]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x2c], edx
mov edx, dword [0x446c7c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
mov dword [0x446b1c], 1
or ecx, eax
jge 0x40e81e
push ebx
mov ecx, 0x446c7c
call fcn.00404e40
mov edx, dword [0x446c7c]
mov ecx, dword [0x446b88]
mov eax, 1
sub eax, dword [ecx - 4]
mov edi, edx
mov edx, dword [ecx - 8]
or edx, eax
jge 0x40e846
push ebx
mov ecx, 0x446b88
call fcn.00404e40
mov ecx, dword [0x446b88]
lea edx, [esp + 0x28]
push edx
mov edx, edi
call fcn.004053e0
mov eax, dword [0x446b50]
push ebx
push 0x4e20
push 9
push eax
call esi
mov ecx, dword [0x44410c]
mov edx, dword [0x446b50]
imul ecx, ecx, 0x3e8
push ebx
push ecx
push 0xa
push edx
call esi
mov byte [esp + 0x354], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e8a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x354], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e8cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e8ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x34c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.0041dec5
add esp, 0x344
ret