joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d9a0
Capabilities:
Create thread

Disassembly:
sub esp, 0x4e8
mov dl, byte [0x42c1b8]
push ebx
push ebp
push esi
push edi
mov ecx, 0x11f
xor eax, eax
lea edi, [esp + 0x79]
mov byte [esp + 0x78], dl
mov byte [esp + 0x14], dl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x15]
push 0x20
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
lea eax, [esp + 0x18]
push eax
call fcn.0041b210
mov ebp, dword [esp + 0x504]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x80]
mov edi, dword [ebp + 0xc]
push 0x41e150
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0041bfd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str._FfBYZg_4
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x88]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0041bfd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x88]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x88]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x88]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
lea ecx, [ebx + 4]
push esi
push eax
push ecx
call fcn.0041b2e0
lea ecx, [esp + 0x2c]
mov dword [ebx], 1
mov edx, dword [0x42c974]
push ecx
push esi
push ebx
mov dword [ebx + 0x14], edx
mov dword [ebx + 8], 2
mov eax, dword [0x41e438]
push 0x412120
push esi
push esi
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ebp
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
call sub.MSVCRT.dll__beginthreadex
add esp, 0x34
test eax, eax
jne 0x40db4e
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x14]
push esi
push ebx
push edx
push eax
mov dword [ebx + 8], 1
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4e8
ret
Function at 0x40db60
Capabilities:
Create thread

Disassembly:
sub esp, 0x54c
push ebx
push ebp
push esi
push edi
push 0x20
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0xe0]
mov dword [ebx], 1
mov eax, dword [0x42c974]
mov dword [ebx + 0x14], eax
mov dword [ebx + 8], 2
mov ecx, dword [0x41e43c]
lea ebp, [ebx + 4]
mov dword [ebx + 0x18], ecx
xor eax, eax
mov ecx, 0x32
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebp], eax
rep stosd dword es:[edi], eax
mov ecx, 0x11f
lea edi, [esp + 0xe0]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x564]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call fcn.0041b210
push str._FfBYZg_4
call fcn.0041bfd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xe8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xe8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
lea eax, [esp + 0xec]
and ecx, 3
push eax
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.0041b2e0
lea ecx, [esp + 0x28]
push ecx
push 0
push ebx
push 0x412120
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54c
ret
Function at 0x40ef00
Capabilities:
Get common file path

Disassembly:
sub esp, 0x258
mov al, byte [0x42c1b8]
push ebx
push esi
push edi
mov byte [esp + 0x138], al
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x139]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x138]
push 0x12c
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
mov dl, byte [0x42c1b8]
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], dl
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x138]
or ecx, 0xffffffff
xor eax, eax
push 0x41e714
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0041bfd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x42d15c
call fcn.0041b2e0
mov ecx, dword [0x42d15c]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
cmp esi, 0x20
jae 0x40efed
pop edi
pop esi
mov dword [0x42d158], 0
pop ebx
add esp, 0x258
ret
mov eax, 1
push str.CdcTfid__rl
mov dword [0x42d158], eax
mov dword [0x42d160], eax
call fcn.0041bfd0
add esp, 4
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x40f017
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
pop edi
pop esi
pop ebx
add esp, 0x258
ret
Function at 0x40f0c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x134
mov al, byte [0x42c1b8]
push ebp
push esi
push edi
mov byte [esp + 0x14], al
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x15]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
push 0x12c
push ecx
mov dword [esp + 0x14], 0
stosb byte es:[edi], al
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
mov edx, dword [0x42c988]
lea eax, [edx - 3]
cmp eax, 7
ja case.default.0x40f118
xor ecx, ecx
mov cl, byte [eax + 0x40f204]
jmp dword [ecx*4 + 0x40f1fc]
push 0x41e75c
jmp 0x40f12b
push 0x41e740
call fcn.0041bfd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.00414890
add esp, 0xc
cmp eax, 1
jne 0x40f1f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0
push str._flk
mov byte [ecx + eax], 0
call fcn.0041bfd0
add esp, 4
push eax
push str.__Xqh
call fcn.0041bfd0
mov edx, dword [esp + 0x18]
add esp, 4
push eax
push edx
call fcn.0040e7e0
add esp, 0x10
test eax, eax
jle 0x40f1e3
mov edx, dword [esp + 0xc]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
mov dword [0x42d164], 1
push eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x18]
push ecx
push eax
push edx
mov dword [esp + 0x20], ecx
call fcn.00414790
add esp, 0x10
mov ecx, dword [esp + 0xc]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x134
ret

Function at 0x40f230
Capabilities:
Create thread

Disassembly:
push ecx
push edi
call fcn.0040ef00
mov eax, dword [0x42c988]
push eax
call fcn.004086d0
push 0x20
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov dword [eax], ecx
mov edx, dword [0x42c974]
mov dword [eax + 0x14], edx
mov ecx, dword [0x42c988]
mov dword [eax + 8], ecx
mov edx, dword [0x41e430]
mov dword [eax + 0x18], edx
xor edx, edx
add esp, 8
xor ecx, ecx
mov dword [eax + 0x1c], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 4], edx
cmp edi, 1
mov dword [esp + 4], edx
jne 0x40f28f
mov ecx, 1
mov edi, dword [esp + 0x10]
cmp edi, 1
pop edi
jne 0x40f29c
add ecx, 2
dec ecx
je 0x40f2d5
dec ecx
je 0x40f2bd
dec ecx
jne 0x40f2eb
lea ecx, [esp]
push ecx
push edx
push eax
push 0x4125a0
push edx
push edx
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
pop ecx
ret
lea ecx, [esp]
push ecx
push edx
push eax
push 0x412450
push edx
push edx
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
pop ecx
ret
lea ecx, [esp]
push ecx
push edx
push eax
push 0x412330
push edx
push edx
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
pop ecx
ret
Function at 0x410d30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push 0x104
push eax
xor ebx, ebx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov ecx, dword [0x42c988]
mov byte [esp + eax + 0x10], bl
lea eax, [ecx - 3]
cmp eax, 7
ja case.default.0x410d70
mov ebp, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xor edx, edx
mov dl, byte [eax + 0x410eac]
jmp dword [edx*4 + 0x410ea4]
push 0x41e89c
call fcn.0041bfd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
test eax, eax
je case.0x410d70.3
mov ebx, str.RichEdit20A
jmp 0x410e15
push 0x41e880
call fcn.0041bfd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
test eax, eax
je case.default.0x410d70
mov ebx, str.RICHEDIT
jmp 0x410e15
push 0
call fcn.0041c290
add esp, 4
mov ebp, dword [esp + 0x118]
test ebp, ebp
jne 0x410e2c
mov esi, 0x145
mov edi, 0xb4
jmp 0x410e40
mov dword [0x42c1c8], 0
mov esi, 0x17c
mov edi, 0xc8
call fcn.00416db0
mov ecx, dword [0x42c970]
mov edx, dword [esp + 0x11c]
push 0
push ecx
push 0
push edx
push edi
push esi
push 0xa
push 0xa
push 0x40a00804
push 0x41e870
call fcn.0041bfd0
add esp, 4
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
je 0x410e97
test ebp, ebp
jne 0x410e92
pop edi
pop esi
pop ebp
mov dword [0x42d0fc], eax
pop ebx
add esp, 0x104
ret
mov dword [0x42d100], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x4111e0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x10]
push 0
lea edx, [esi + 4]
push ecx
mov dword [esp + 0x10], 0
push edx
mov dword [esi], eax
call fcn.0041b2e0
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x40fac0
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x28
pop esi
pop ecx
ret

Function at 0x411450
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
push 1
call fcn.00410d30
mov eax, dword [0x42d100]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 8
push 0x42c1b8
push 0
push 0xc
push eax
call esi
mov ecx, dword [0x42d100]
push 0
push 0x26
push 0x459
push ecx
call esi
mov edx, dword [0x42d100]
push 0
push 1
push 0x45b
push edx
call esi
mov eax, dword [0x42c6e4]
test eax, eax
jne 0x4114ac
call fcn.00411500
jmp 0x4114b1
call fcn.004119b0
call fcn.00411be0
mov dword [0x42c1c8], eax
mov eax, dword [0x42d100]
push 0x400000f
push 0
push 0x445
push eax
call esi
call fcn.00416db0
mov ecx, dword [0x42d100]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call fcn.004113f0
add esp, 8
pop edi
pop esi
ret
Function at 0x412d90
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
mov edi, dword [esp + 0xa8]
test eax, eax
mov dword [edi], 0
jne 0x412de2
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
je 0x412e9a
call fcn.00416db0
mov eax, dword [esp + 0x18]
dec eax
je 0x412e47
dec eax
jne 0x412e9a
mov eax, dword [esp + 0xc]
sub eax, 4
je 0x412e30
dec eax
jne 0x412e9a
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x412e1c
mov dword [edi], 9
pop edi
pop esi
add esp, 0x9c
ret
cmp eax, 1
jne 0x412e9a
mov dword [edi], 0xa
pop edi
pop esi
add esp, 0x9c
ret
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x412e9a
mov dword [edi], 8
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0xc], 4
jne 0x412e9a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x412e89
cmp eax, 0xa
je 0x412e6f
cmp eax, 0x5a
jne 0x412e9a
mov dword [edi], 7
pop edi
pop esi
add esp, 0x9c
ret
mov cl, byte [esp + 0x1d]
xor edx, edx
cmp cl, 0x41
sete dl
add edx, 5
mov dword [edi], edx
pop edi
pop esi
add esp, 0x9c
ret
mov dl, byte [esp + 0x1d]
xor eax, eax
cmp dl, 0x43
sete al
add eax, 3
mov dword [edi], eax
pop edi
pop esi
add esp, 0x9c
ret

Function at 0x4130c0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push ebx
push ebp
push 0x12c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
push 0x12c
push ebx
mov byte [ebx], 0
call fcn.00416d90
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0xc]
mov byte [ebp], 0
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
push ebx
je 0x41310f
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
cmp eax, 1
je 0x41312e
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop ebp
pop ebx
add esp, 8
ret
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x41315e
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4141f0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x30c
mov al, byte [0x42c1b8]
push edi
mov byte [esp + 0x10], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
mov dword [esp + 8], 0
stosb byte es:[edi], al
mov dword [esp + 0xc], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
pop edi
jl 0x41435f
lea ecx, [esp]
push ecx
push 0x41d288
push 1
push 0
push 0x41d298
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41435f
mov eax, dword [esp]
lea ecx, [esp + 4]
push ecx
push 0x41d2a8
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x41435f
mov eax, dword [esp]
mov ecx, dword [esp + 0x310]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [esp]
mov ecx, dword [esp + 0x328]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [esp]
mov ecx, dword [esp + 0x318]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [esp + 0x31c]
test eax, eax
je 0x4142b9
mov ecx, dword [esp]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [esp + 0x314]
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea edx, [esp + 0x10c]
push 0x104
push edx
lea eax, [esp + 0x14]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea edx, [esp + 0x10c]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov edx, dword [esp + 0x324]
mov eax, dword [esp]
push edx
mov edx, dword [esp + 0x324]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
mov eax, dword [esp]
lea edx, [esp + 8]
push edx
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push 0x100
push edx
push eax
call dword [ecx + 0x40]
mov eax, dword [esp + 4]
lea edx, [esp + 0x10c]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
add esp, 0x30c
ret
Function at 0x414790
Capabilities:
Copy file
Delete file
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x12c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
push 0x12c
push ebx
mov byte [ebx], 0
call fcn.00416d90
mov ebp, dword [esp + 0x24]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x423be8
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0041bfd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
mov ecx, edx
and ecx, 3
cmp eax, 1
rep movsb byte es:[edi], byte [esi]
jne 0x414815
push 0x423be4
jmp 0x41481a
push 0x423be0
call fcn.0041bfd0
push eax
push ebx
call sub.MSVCRT.dll_fopen
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x414834
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push esi
push eax
push 1
push ecx
call sub.MSVCRT.dll_fwrite
push esi
mov edi, eax
call sub.MSVCRT.dll_fclose
add esp, 0x14
test edi, edi
jne 0x41485c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push ebp
call esi
push 0
push ebp
push ebx
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
push ebx
call esi
push ebx
mov esi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x414890
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
push edi
call fcn.00414fb0
push 0x423bec
mov esi, eax
call fcn.0041bfd0
push eax
push edi
call sub.MSVCRT.dll_fopen
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4148bd
pop edi
pop esi
pop ebx
ret
push ebp
call fcn.00416db0
lea eax, [esi + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push edi
mov ebx, eax
push esi
push 1
push ebx
call sub.MSVCRT.dll_fread
push edi
mov ebp, eax
call sub.MSVCRT.dll_fclose
add esp, 0x18
cmp ebp, esi
pop ebp
je 0x4148f7
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
pop edi
mov eax, 1
mov dword [ecx], esi
mov dword [edx], ebx
pop esi
pop ebx
ret
Function at 0x414fb0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x44
mov al, byte [0x42c1b8]
push ebx
push esi
push edi
mov byte [esp + 0xc], al
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xd]
rep stosd dword es:[edi], eax
push 0x423bec
xor ebx, ebx
call fcn.0041bfd0
mov ecx, dword [esp + 0x58]
push eax
push ecx
call sub.MSVCRT.dll_fopen
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x414ff3
pop edi
pop esi
pop ebx
add esp, 0x44
ret
push esi
push 0x40
lea edx, [esp + 0x14]
push 1
push edx
call sub.MSVCRT.dll_fread
add esp, 0x10
add ebx, eax
test eax, eax
jg 0x414ff3
call fcn.00416db0
push esi
call sub.MSVCRT.dll_fclose
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x44
ret
Function at 0x4150e0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x18
mov al, byte [0x42c1b8]
push esi
mov byte [esp + 0x10], al
xor ecx, ecx
mov byte [esp + 4], al
xor edx, edx
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
lea eax, [esp + 0x14]
mov dword [esp + 0x15], ecx
mov dword [esp + 9], edx
push 6
push eax
mov dword [esp + 0x21], ecx
mov dword [esp + 0x15], edx
push 5
push 0x400
mov byte [esp + 0x2d], cl
mov byte [esp + 0x21], dl
mov esi, 0x21
call edi
test eax, eax
jle case.0x415197.881
lea ecx, [esp + 0x14]
push ecx
call sub.MSVCRT.dll_atoi
add esp, 4
cmp eax, 0x3d
jg 0x415158
je case.0x415197.880
lea ecx, [eax - 1]
cmp ecx, 0x33
ja case.0x415197.881
xor edx, edx
mov dl, byte [ecx + 0x4152a8]
jmp dword [edx*4 + 0x4152a0]
cmp eax, 0x354
jg 0x415184
je case.0x415197.880
cmp eax, 0x15f
jg 0x41517b
je case.0x415197.880
cmp eax, 0x51
je case.0x415197.880
cmp eax, 0x5a
jle case.0x415197.881
cmp eax, 0x5c
jle case.0x415197.880
jmp case.0x415197.881
cmp eax, 0x166
je case.0x415197.880
jmp case.0x415197.881
lea ecx, [eax - 0x370]
cmp ecx, 0x5b
ja case.0x415197.881
xor edx, edx
mov dl, byte [ecx + 0x4152e4]
jmp dword [edx*4 + 0x4152dc]
mov esi, eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 8]
push 6
push ecx
mov dword [eax], esi
mov esi, 1
push esi
push 0x400
call edi
test eax, eax
jle case.0x415200.16
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
push 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + ecx + 0x10]
lea ecx, [esp + 0x12]
push ecx
mov dword [esp + 0x30], edx
call sub.MSVCRT.dll_strtol
add eax, 0xfffffff9
add esp, 0xc
cmp eax, 0x16
ja case.0x415200.16
xor edx, edx
mov dl, byte [eax + 0x415368]
jmp dword [edx*4 + 0x415340]
mov eax, dword [esp + 0x28]
xor esi, esi
pop edi
mov dword [eax], esi
pop esi
add esp, 0x18
ret
mov eax, dword [esp + 0x28]
mov esi, 1
pop edi
mov dword [eax], esi
pop esi
add esp, 0x18
ret
mov eax, dword [esp + 0x28]
mov esi, 2
pop edi
mov dword [eax], esi
pop esi
add esp, 0x18
ret
mov eax, dword [esp + 0x28]
mov esi, 8
pop edi
mov dword [eax], esi
pop esi
add esp, 0x18
ret
mov eax, dword [esp + 0x28]
mov esi, 3
pop edi
mov dword [eax], esi
pop esi
add esp, 0x18
ret
mov eax, dword [esp + 0x28]
mov esi, 4
pop edi
mov dword [eax], esi
pop esi
add esp, 0x18
ret
mov eax, dword [esp + 0x28]
mov esi, 5
pop edi
mov dword [eax], esi
pop esi
add esp, 0x18
ret
mov eax, dword [esp + 0x28]
mov esi, 7
pop edi
mov dword [eax], esi
pop esi
add esp, 0x18
ret
mov esi, 6
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], esi
pop esi
add esp, 0x18
ret

Function at 0x415490
Capabilities:
Create process on windows

Disassembly:
call fcn.00416db0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 1
push 0x42c1b8
push eax
push ecx
push 0x423bf4
call fcn.0041bfd0
add esp, 4
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret