joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404001
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404022
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285f
xor eax, eax
pop ebp
ret 8
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 8]
push edi
xor edi, edi
cmp esi, edi
jne 0x404043
xor esi, esi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285f
pop edi
mov eax, esi
pop esi
jmp 0x40401e
cmp dword [esi + 0x10], edi
jle 0x404082
push ebx
push str.DATAFINALCustom.wad.client
push edi
lea ecx, [esi + 8]
call fcn.00405353
push eax
lea eax, [ebp + 8]
push eax
call fcn.00404f6d
mov ebx, dword [ebp + 8]
add esp, 0xc
push 0
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebx - 0x10]
call fcn.0040285f
inc edi
cmp edi, dword [esi + 0x10]
jl 0x404049
pop ebx
xor esi, esi
inc esi
jmp 0x404032

Function at 0x404087
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4040bc
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
test esi, esi
jne 0x4040e0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285f
mov eax, esi
jmp 0x4040b5
and dword [ebp + 8], 0
cmp dword [esi + 0x10], 0
jle 0x4041cb
push str.DATAFINALCustom2.wad.client
push dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.00405353
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404f6d
pop ecx
pop ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.004020b8
call fcn.00402c7b
lea ebx, [ebp - 8]
call fcn.004041d3
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.0040285f
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4041a8
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], 0
jg 0x404171
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.004020b8
call fcn.00402c7b
lea ebx, [ebp - 0xc]
call fcn.004041d3
push eax
lea ecx, [ebp + 0x10]
call fcn.00402143
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.0040285f
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.004020b8
call fcn.00402c7b
lea ebx, [ebp - 0x10]
call fcn.004041d3
push dword [eax]
lea ecx, [ebp + 0x10]
call fcn.00401c92
mov ecx, dword [ebp - 0x10]
test eax, eax
setne bl
add ecx, 0xfffffff0
call fcn.0040285f
test bl, bl
je 0x4041b4
push 0
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [edi - 0x10]
call fcn.0040285f
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x10]
jl 0x4040ee
xor esi, esi
inc esi
jmp 0x4040c6
Function at 0x40479b
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jle 0x404802
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp + 0xc]
push eax
push 0x44b274
push ebx
lea ecx, [esi + 8]
call fcn.00405353
push eax
lea eax, [ebp - 8]
push eax
call fcn.00404f6d
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.00404f34
mov ecx, dword [ebp - 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040285f
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call edi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0040285f
inc ebx
cmp ebx, dword [esi + 0x10]
jl 0x4047af
pop edi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285f
xor eax, eax
inc eax
pop ebx
leave
ret 8

Function at 0x4049f2
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
push edi
lea eax, [ebp + 0x14]
push eax
lea edi, [esi + 0x14]
lea eax, [ebp - 8]
push edi
push eax
call fcn.00404f34
mov ebx, dword [eax]
push str.Blank.ini
add esi, 0x10
lea eax, [ebp - 4]
push esi
push eax
call fcn.00404f6d
mov eax, dword [eax]
add esp, 0x18
push 1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.0040285f
push ecx
mov eax, esp
lea ecx, [ebp + 0x14]
push ecx
push edi
push eax
call fcn.00404f34
pop ecx
pop ecx
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call fcn.004020b8
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.004020b8
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004020b8
call fcn.0040b0df
call fcn.0040b791
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285f
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x10
Function at 0x409c67
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409d22
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004020b8
call fcn.00402c7b
lea ebx, [ebp - 4]
call fcn.004041d3
push dword [eax]
lea ecx, [ebp + 0xc]
call fcn.00401c92
mov ecx, dword [ebp - 4]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0040285f
test bl, bl
je 0x409d22
push str.Adding_Skin....
call fcn.0040aa3b
mov ecx, dword [eax + 0x24]
call fcn.004136ef
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004020b8
push ecx
call fcn.00402c7b
pop ecx
push eax
call fcn.00404001
call fcn.00402c7b
mov ecx, eax
call fcn.00402546
call fcn.00402c7b
mov edx, dword [ebp + 8]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.004051db
xor esi, esi
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285f
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x409d06

Function at 0x409d26
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409df3
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004020b8
call fcn.00402c7b
lea ebx, [ebp - 4]
call fcn.004041d3
mov esi, dword [ebp - 4]
push esi
lea ecx, [ebp + 0xc]
call fcn.00401c92
test eax, eax
jne 0x409deb
push str.Adding_Skin....
call fcn.0040aa3b
mov ecx, dword [eax + 0x24]
call fcn.004136ef
push ecx
mov eax, ebx
mov ecx, esp
push eax
call fcn.004020b8
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004020b8
call fcn.00402c7b
push eax
call fcn.00404087
call fcn.00402c7b
mov ecx, eax
add ecx, 4
call fcn.00402546
call fcn.00402c7b
mov ecx, dword [ebp + 8]
push dword [ecx - 0xc]
add eax, 4
push ecx
mov ecx, eax
call fcn.004051db
lea ecx, [esi - 0x10]
call fcn.0040285f
xor esi, esi
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285f
mov eax, esi
pop esi
pop ebx
leave
ret
lea ecx, [esi - 0x10]
call fcn.0040285f
xor esi, esi
jmp 0x409dcf
Function at 0x40b0f6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 0xc]
push 0x44cad0
call fcn.00402626
call fcn.0040d7fc
push eax
lea ecx, [ebp - 4]
call fcn.0040283a
call fcn.0040d7fc
push eax
lea ecx, [ebp - 0x10]
call fcn.0040283a
push esi
mov dword [ebp - 8], 0x41
push edi
push 0x44cad0
lea ecx, [ebp - 0xc]
call fcn.00402655
push dword [ebp - 8]
lea ecx, [ebp - 0xc]
call fcn.0040538b
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 4]
call fcn.00402143
push 0
push 0x5c
lea ecx, [ebp - 4]
call fcn.00404dfc
mov esi, eax
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.0040beaf
push eax
lea ecx, [ebp - 4]
call fcn.00402143
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040285f
lea eax, [ebp - 4]
push eax
push 0x44f0a4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404f6d
add esp, 0xc
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404f34
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.00402143
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040285f
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b1ec
test esi, esi
jl 0x40b1f8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x40b152
jmp 0x40b1f8
push dword [edi - 0xc]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.004051db
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax]
add ecx, 0xfffffff0
cmp dword [eax - 0xc], 0
jg 0x40b21d
call fcn.0040285f
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x5a
jle 0x40b12e
jmp 0x40b222
call fcn.0040285f
lea ecx, [edi - 0x10]
call fcn.0040285f
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285f
pop edi
pop esi
leave
ret 8
Function at 0x40b246
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 0x18], 0
push esi
push edi
push dword [ebp + 8]
call fcn.0040b3d1
test eax, eax
jne 0x40b265
xor eax, eax
jmp 0x40b39b
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x40b25e
mov esi, 0x104
push esi
push esi
mov ecx, ebx
call fcn.0040d594
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0040d56a
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jg 0x40b33f
call fcn.0040d7fc
push eax
lea ecx, [ebp - 4]
call fcn.0040283a
push esi
push esi
lea ecx, [ebp - 4]
call fcn.0040d594
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.0040d56a
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00402655
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
call fcn.004020b8
lea edi, [ebp - 0xc]
call fcn.0040802d
push dword [eax]
lea edi, [ebp - 8]
call fcn.0040802d
xor ecx, ecx
mov esi, eax
call fcn.00404e2e
test eax, eax
jl 0x40b31e
push ebx
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.004020b8
call fcn.0040b0df
call fcn.0040b0f6
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0040285f
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.00402655
push ebx
lea ecx, [ebp - 0x10]
call fcn.004020b8
lea edi, [ebp - 0x14]
call fcn.0040802d
push dword [eax]
lea edi, [ebp - 0x10]
call fcn.0040802d
xor ecx, ecx
mov esi, eax
call fcn.00404e2e
test eax, eax
jl 0x40b379
mov dword [ebp - 0x18], 1
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040285f
mov eax, dword [ebp - 0x18]
pop edi
pop esi
leave
ret 4

Function at 0x40b3a1
Capabilities:
Terminate process

Disassembly:
push esi
push dword [esp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40b3c6
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test esi, esi
setne al
pop esi
ret 4
Function at 0x40b3d1
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1c0]
sub esp, 0x240
mov eax, dword [0x459660]
xor eax, ebp
mov dword [ebp + 0x1bc], eax
mov eax, dword [ebp + 0x1c8]
push ebx
push esi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x80], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, 0x22c
push esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.0042d800
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x70], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40b49d
push edi
push dword [ebp - 0x80]
lea ecx, [ebp - 0x78]
call fcn.00402655
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00402655
lea edi, [ebp - 0x78]
call fcn.0040802d
push dword [eax]
lea edi, [ebp - 0x7c]
call fcn.0040802d
xor ecx, ecx
mov esi, eax
call fcn.00404e2e
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
test eax, eax
jge 0x40b489
call fcn.0040285f
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.0040285f
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40b42b
jmp 0x40b49c
mov ebx, dword [ebp - 0x68]
call fcn.0040285f
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.0040285f
pop edi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x1bc]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0042b446
add ebp, 0x1c0
leave
ret 4
Function at 0x40b4c1
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x459660]
xor eax, esp
mov dword [esp + 0x268], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [esp + 0x18], eax
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [esp + 0x14]
call fcn.004020b8
call fcn.0040b0df
mov ebx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x1c]
push eax
call fcn.0040b8bd
mov eax, dword [esp + 0x18]
mov edi, dword [eax - 0xc]
lea esi, [esp + 0x18]
call fcn.00405050
cmp byte [eax + edi - 1], 0x5c
jne 0x40b546
mov eax, dword [ebx - 0xc]
dec eax
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00404efb
push eax
lea ecx, [esp + 0x14]
call fcn.00402143
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285f
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], 0
jle 0x40b57d
lea eax, [ebp + 0x10]
push eax
lea eax, [esp + 0x18]
push 0x44b274
push eax
call fcn.00404faa
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.00405038
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285f
jmp 0x40b58b
push str..exe
lea ecx, [esp + 0x14]
call fcn.004050f9
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
test byte [esp + 0x20], 0x10
jne 0x40b5b5
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push eax
push dword [ecx + 8]
call fcn.00417290
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b59d
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040285f
lea ecx, [esi - 0x10]
call fcn.0040285f
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [esp + 0x274]
pop edi
pop esi
xor eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.0042b446
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40b609
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x459660]
xor eax, ebp
mov dword [ebp - 8], eax
push edi
push 0x44f0bc
lea ecx, [ebp + 8]
call fcn.004050f9
lea eax, [ebp - 0x25c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
test byte [ebp - 0x25c], 0x10
je 0x40b656
lea eax, [ebp - 0x230]
push eax
push dword [esi + 8]
mov ecx, esi
call fcn.00417290
lea eax, [ebp - 0x25c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b63c
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp - 8]
xor eax, eax
xor ecx, ebp
inc eax
pop edi
call fcn.0042b446
leave
ret 4
Function at 0x40b685
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x459660]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
push edi
mov ecx, ebx
call fcn.00402883
push dword [ebp + 0x19c]
lea ecx, [ebp - 0x70]
call fcn.0040becd
mov eax, dword [eax]
mov esi, str.Error
lea edi, [ebp - 0x7c]
mov dword [ebp - 0x80], eax
call fcn.00401c39
push dword [ebp + 0x198]
mov esi, dword [eax]
lea ecx, [ebp - 0x74]
call fcn.0040becd
push dword [ebp + 0x194]
mov edi, dword [eax]
lea ecx, [ebp - 0x78]
call fcn.0040becd
push dword [ebp - 0x80]
mov eax, dword [eax]
push 0x1f4
lea ecx, [ebp - 0x6c]
push ecx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
call fcn.0040285f
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040b83c
push eax
mov ecx, ebx
call fcn.00402143
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0x194]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0x198]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0x19c]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0x188]
pop edi
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.0042b446
add ebp, 0x18c
leave
ret 0xc
Function at 0x40b95c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0xfa4]
mov eax, 0x1024
call fcn.004305d0
mov eax, dword [0x459660]
xor eax, ebp
mov dword [ebp + 0xfa0], eax
test byte [0x45db28], 1
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x45db24
jne 0x40b9ad
or dword [0x45db28], 1
call fcn.0040d7fc
push eax
mov ecx, esi
call fcn.0040283a
push 0x443757
call fcn.0042bc04
pop ecx
lea eax, [ebp + 0xfac]
push eax
mov ecx, esi
call fcn.00402143
lea eax, [ebp + 0xfac]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004020b8
push 0x44a8e0
lea ecx, [ebp - 0x68]
call fcn.00402655
mov ebx, dword [ebp - 0x68]
xor esi, esi
push esi
push esi
push esi
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x74], eax
cmp eax, esi
jne 0x40b9fa
xor esi, esi
call fcn.00401c39
jmp 0x40bae0
push 4
lea ecx, [ebp - 0x80]
push ecx
push 6
push eax
mov dword [ebp - 0x80], 0x2710
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push esi
push 0x4043300
push esi
push esi
push dword [ebp + 0xfac]
push dword [ebp - 0x74]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x68], eax
cmp eax, esi
jne 0x40ba39
push dword [ebp - 0x74]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40b9ee
push 0x7d000
mov dword [ebp - 0x70], esi
call fcn.0040d600
pop ecx
mov dword [ebp - 0x78], eax
push dword [0x45db24]
lea ecx, [ebp - 0x6c]
call fcn.00401c92
test eax, eax
je 0x40ba63
and dword [ebp - 0x70], 0
mov esi, dword [ebp - 0x70]
lea eax, [ebp - 0x7c]
push eax
push 0x1000
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40baa0
cmp dword [ebp - 0x7c], 0
jbe 0x40baa0
push dword [ebp - 0x7c]
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x78]
add eax, esi
push eax
call fcn.00433260
add esp, 0xc
add esi, dword [ebp - 0x7c]
mov dword [ebp - 0x70], esi
jmp 0x40ba4a
push dword [ebp - 0x68]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x74]
call esi
push dword [ebp - 0x70]
lea ecx, [ebp - 0x68]
push dword [ebp - 0x78]
call fcn.00401c74
push dword [ebp - 0x78]
call fcn.0040d60b
mov esi, dword [ebp - 0x68]
add esi, 0xfffffff0
push esi
call fcn.00401d5c
pop ecx
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.0040285f
lea ecx, [ebx - 0x10]
call fcn.0040285f
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0xfac]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0xfa0]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b446
add ebp, 0xfa4
leave
ret 4
Function at 0x40bd24
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0042d800
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285f
leave
ret 0xc

Function at 0x40bdbd
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x459660]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push 0x44f0bc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00404f6d
mov esi, dword [ebp - 0x260]
add esp, 0xc
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
test byte [ebp - 0x25c], 0x10
jne 0x40be5c
lea eax, [ebp - 0x230]
push eax
push 0x44b274
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00404f6d
add esp, 0xc
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00404f6d
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x260]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0040285f
lea eax, [ebp - 0x25c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40be00
lea ecx, [esi - 0x10]
call fcn.0040285f
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285f
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0042b446
leave
ret 4

Function at 0x41354c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x413593
call fcn.00416b24
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x413593
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4135af
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004130c4
mov esi, eax
test edi, edi
je 0x4135ad
test ebx, ebx
je 0x4135ad
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4