joyce8/EMBER2024-capa huggingface dataset:
Function at 0x348c38c0
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x1c]
mov dword [esi], 1
call fcn.348cdb47
mov ebp, dword [sym.imp.kernel32.dll_InitializeCriticalSection]
lea eax, [esi + 0x58]
push eax
call ebp
lea edi, [esi + 0x7c]
xor ebx, ebx
lea ecx, [esi + 0xa4]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call fcn.3489a119
lea ecx, [esi + 0xb0]
push ecx
call ebp
mov dword [esi + 0xd4], ebx
lea edx, [esp + 0x24]
mov ebp, 1
push edx
mov dword [esp + 0x14], ebp
mov dword [esi + 0x88], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0x14], 3
mov dword [esi + 0x18], ebx
mov dword [esp + 0x28], 0x20
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esp + 0x48]
cmp eax, ebp
mov dword [esi + 0x74], ebx
je 0x348c3975
add dword [esi + 0x74], ebp
mov ecx, dword [esi + 0x74]
mov edx, ebp
shl edx, cl
cmp edx, eax
jne 0x348c3967
mov eax, dword [esp + 0x2c]
cmp eax, 0x4000000
jbe 0x348c3985
mov eax, 0x4000000
mov ecx, eax
shr ecx, 0xb
cmp eax, 0xc00000
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], 0x100
jbe 0x348c39c5
add eax, 0xff400000
shr eax, 0xd
add eax, 0x100
cmp eax, 0x1b00
mov dword [esi + 0x90], eax
jbe 0x348c39c5
mov dword [esi + 0x90], 0x1b00
lea eax, [ecx + 7]
shr eax, 3
push eax
call dword [sym.imp.msvcr80.dll_malloc]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x88], eax
jne 0x348c39ee
push ebp
push 0xfffffc0d
mov ecx, esi
call fcn.348a7e01
jmp 0x348c3a4d
mov ecx, dword [esi + 0x8c]
add ecx, 7
shr ecx, 3
mov dword [edi + 4], ecx
add ecx, ecx
mov dword [edi], eax
mov edx, dword [edi + 8]
add ecx, ecx
lea eax, [esp + 0x10]
add ecx, ecx
push eax
push ecx
mov ecx, edi
call fcn.34898229
mov eax, dword [esi + 0x8c]
lea edx, [esp + 0x10]
push edx
push eax
xor edx, edx
mov ecx, edi
call fcn.34898118
test byte [esi + 0x44], 8
lea eax, [esi + 0x44]
mov dword [esi + 0x94], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0x98], ebx
je 0x348c3a75
push eax
mov ecx, esi
call fcn.348a8002
mov eax, dword [esi + 0x88]
cmp eax, ebx
je 0x348c3a61
push eax
call dword [sym.imp.msvcr80.dll_free]
add esp, 4
mov eax, dword [esi + 0x70]
cmp eax, ebx
je 0x348c3a75
push 0x8000
push ebx
push eax
call dword [sym.imp.kernel32.dll_VirtualFree]
test dword [esp + 0x10], 0xfffffffe
je 0x348c3a88
lea ecx, [esp + 0x10]
call fcn.348a7dd0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x348c4097
Capabilities:
Resume thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
push edi
jne 0x348c4158
mov eax, dword [esi + 0x14]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.348cedec
add esp, 4
test eax, eax
mov dword [esi + 0x18], eax
jne 0x348c40e3
push 1
push 0xfffffc0d
mov ecx, ebp
call fcn.348a7e01
pop edi
pop esi
pop ebp
pop ebx
ret 8
xor edi, edi
cmp dword [esi + 0x14], edi
jbe 0x348c4158
mov ebx, dword [sym.imp.kernel32.dll_ResumeThread]
lea esp, [esp]
push 4
call fcn.348cedec
add esp, 4
test eax, eax
je 0x348c4111
push ebp
push esi
push 0x348c4715
mov ecx, eax
call fcn.348cdbe0
jmp 0x348c4113
xor eax, eax
mov ecx, dword [esi + 0x18]
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 0x18]
cmp dword [edx + edi*4], 0
jne 0x348c4130
push 1
push 0xfffffc0d
mov ecx, ebp
call fcn.348a7e01
test byte [ebp], 8
jne 0x348c4188
lea eax, [esi + 0xd4]
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [esi + 0x18]
mov eax, dword [edx + edi*4]
mov ecx, dword [eax]
push ecx
call ebx
add edi, 1
cmp edi, dword [esi + 0x14]
jb 0x348c40f3
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 8]
test eax, eax
je 0x348c41c6
push eax
lea ecx, [esi + 0xa4]
call fcn.3489a184
test eax, eax
jne 0x348c41c6
push 1
push 0xfffffc0e
mov ecx, ebp
call fcn.348a7e01
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov edx, dword [esi + 0x18]
mov ebx, dword [edx + edi*4]
test ebx, ebx
je 0x348c41a2
mov ecx, ebx
call fcn.348cdb21
push ebx
call fcn.348cedf8
add esp, 4
test edi, edi
mov eax, dword [esi + 0x18]
mov dword [eax + edi*4], 0
jne 0x348c41d0
mov ecx, dword [esi + 0x18]
push ecx
call fcn.348cedf8
add esp, 4
mov dword [esi + 0x18], edi
pop edi
pop esi
pop ebp
pop ebx
ret 8
push ebp
push edi
lea ecx, [esi + 0x1c]
call fcn.348cdc4c
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x348c41d7
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
mov esi, ecx
call sub.kernel32.dll_DeleteFileW
test eax, eax
jne 0x348c41f4
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.348c3cde
pop esi
ret 8

Function at 0x348c45b7
Capabilities:
Get hostname

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x14], eax
call dword [sym.imp.kernel32.dll_GetComputerNameA]
test eax, eax
jne 0x348c45e2
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.348c3cde
pop esi
ret 0xc
Function at 0x348c45e6
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x34896968]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
push esi
mov esi, dword [esp + 0x21c]
push edi
mov edi, dword [esp + 0x224]
lea eax, [esp + 0xc]
push eax
push 0x104
mov ebp, ecx
call sub.kernel32.dll_GetTempPathW
test eax, eax
jne 0x348c462a
push edi
mov ecx, ebp
call fcn.348c3cde
jmp 0x348c468c
push ebx
push 0x20a
call fcn.348cedec
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x348c464c
push 1
push 0xfffffc0d
mov ecx, edi
call fcn.348a7e01
mov dword [esi], ebx
test byte [edi], 8
jne 0x348c468b
push 0x105
push ebx
push 0
push 0x348911c8
lea ecx, [esp + 0x20]
push ecx
call fcn.348cee08
test eax, eax
jne 0x348c468b
mov eax, dword [esi]
test eax, eax
je 0x348c467d
push eax
call fcn.348cedf8
add esp, 4
push edi
mov ecx, ebp
mov dword [esi], 0
call fcn.348c3cde
pop ebx
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.348cf620
add esp, 0x210
ret 8
Function at 0x348c864a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x304
mov eax, dword [0x34896968]
xor eax, esp
mov dword [esp + 0x300], eax
mov eax, dword [esp + 0x30c]
push ebx
mov ebx, dword [esp + 0x31c]
push ebp
mov ebp, dword [esp + 0x310]
push esi
push edi
mov edi, dword [esp + 0x320]
push 0
push ebx
push 0
mov esi, ecx
mov ecx, dword [esp + 0x330]
push 1
push eax
mov dword [esp + 0x38], ecx
push ebp
lea ecx, [esp + 0x1d0]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], 1
call fcn.3489e98f
push 0
push ebx
push 0
push 1
push esi
push ebp
lea ecx, [esp + 0x78]
call fcn.3489e98f
test byte [ebx], 8
jne 0x348c884d
mov edx, dword [edi]
push ebx
push edx
lea ecx, [esp + 0x1c0]
call fcn.3489ee88
test byte [ebx], 8
jne 0x348c884d
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ebx
push ecx
lea ecx, [esp + 0x68]
call fcn.3489ee88
test byte [ebx], 8
jne 0x348c884d
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x40]
mov dword [esp + 0x34], edx
xor esi, esi
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push esi
push 1
call eax
mov al, byte [esp + 0x10]
test al, 8
jne 0x348c882a
jmp 0x348c873e
xor esi, esi
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x10]
push eax
call edx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 8]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x34]
push edx
push eax
push ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x40], esi
call fcn.3489fd48
mov bl, al
mov al, byte [esp + 0x10]
test al, 8
jne 0x348c8826
mov ecx, dword [esp + 0x1dc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x34]
push edx
call eax
mov al, byte [esp + 0x10]
test al, 8
jne 0x348c8826
mov ecx, dword [esp + 0x1dc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x10]
push eax
push 0
call edx
test byte [esp + 0x10], 1
jne 0x348c87fb
cmp dword [esp + 0x14], 0xfffff9bf
jne 0x348c87fb
cmp bl, 1
je 0x348c87f2
mov ecx, dword [esp + 0x2c]
push 1
push 0
push ebp
call fcn.348c8536
push eax
push 0xffffe01b
push 0xfffff9b3
lea ecx, [esp + 0x24]
call fcn.348a8076
jmp 0x348c87fb
lea ecx, [esp + 0x10]
call fcn.348a7eb1
mov al, byte [esp + 0x10]
test al, 8
jne 0x348c8826
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
lea edx, [esp + 0x10]
push edx
push 4
push 1
call eax
mov al, byte [esp + 0x10]
test al, 8
je 0x348c873c
mov ebx, dword [esp + 0x28]
test al, 1
jne 0x348c8838
cmp dword [esp + 0x14], 0xfffff9bd
je 0x348c8844
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.348a80dd
lea ecx, [esp + 0x30]
call fcn.348b44a2
lea ecx, [esp + 0x60]
call fcn.348a1075
lea ecx, [esp + 0x1b8]
call fcn.348a1075
test dword [esp + 0x10], 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
je 0x348c8878
lea ecx, [esp]
call fcn.348a7dd0
mov ecx, dword [esp + 0x300]
xor ecx, esp
call fcn.348cf620
add esp, 0x304
ret 0x14
Function at 0x348cdbe0
Capabilities:
Create thread

Disassembly:
mov edx, dword [esp + 4]
push esi
lea eax, [esp + 0xc]
push eax
push 4
mov esi, ecx
mov ecx, dword [esp + 0x14]
push ecx
push edx
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
mov dword [esi], eax
je 0x348cdc13
push 1
push eax
call dword [sym.imp.kernel32.dll_SetThreadPriority]
mov eax, esi
pop esi
ret 0xc
push edi
mov edi, dword [esp + 0x14]
push edi
mov ecx, 0x348d1b70
call fcn.348c3cde
test byte [edi], 1
jne 0x348cdc45
mov eax, dword [edi + 4]
cmp eax, 0xffffea84
jne 0x348cdc45
push 1
push 0
push 0
push 0xffffdf30
push eax
mov ecx, edi
call fcn.348a8076
pop edi
mov eax, esi
pop esi
ret 0xc

Function at 0x348cee08
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
ret 0x14

Function at 0x348cf620
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x34896968]
jne 0x348cfb6a
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x348d1d70], eax
mov dword [0x348d1d6c], ecx
mov dword [0x348d1d68], edx
mov dword [0x348d1d64], ebx
mov dword [0x348d1d60], esi
mov dword [0x348d1d5c], edi
mov word [0x348d1d88], ss
mov word [0x348d1d7c], cs
mov word [0x348d1d58], ds
mov word [0x348d1d54], es
mov word [0x348d1d50], fs
mov word [0x348d1d4c], gs
pushfd
pop dword [0x348d1d80]
mov eax, dword [ebp]
mov dword [0x348d1d74], eax
mov eax, dword [ebp + 4]
mov dword [0x348d1d78], eax
lea eax, [ebp + 8]
mov dword [0x348d1d84], eax
mov eax, dword [ebp - 0x320]
mov dword [0x348d1cc0], 0x10001
mov eax, dword [0x348d1d78]
mov dword [0x348d1c74], eax
mov dword [0x348d1c68], 0xc0000409
mov dword [0x348d1c6c], 1
mov eax, dword [0x34896968]
mov dword [ebp - 0x328], eax
mov eax, dword [0x348d1b44]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x348d1cb8], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x348969a8
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x348d1cb8], 0
jne 0x348cfc5a
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x348cfeff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x348cff0e
pop dword [ebp - 0x2c]
mov eax, 0x348cff0e
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x35f0c
push 0
mov eax, 0xeb9af622
sub eax, 0xb711e4ca
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x743fd66a
add ecx, 0x8bc06ea8
mov edi, eax
mov esi, 0xc158c481
add esi, 0x73349b7f
add esi, dword [ebp - 0x2c]
mov ebx, 0x50f14723
sub ebx, 0xd43bcfda
add dword [ebp - 0x18], eax
mov edx, dword [esi]
sub dword [ebp - 4], edx
add edx, ebx
xor dword [ebp - 0x28], 0xa9541a94
mov dword [edi], edx
sub dword [ebp - 8], 0xe2cfae77
add edi, 0xb2605582
add edi, 0x4d9faa82
add esi, 4
loop 0x348cff68
add eax, 0x86ec4359
add eax, 0x7914c3c2
mov ebx, eax
add eax, 0xd0b15606
add eax, 0x2f4ea9ff
mov ecx, 0x86053ce2
add ecx, 0xae83c31e
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x40103c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
pushal
cmp dword [ebp + 0xc], 1
jne 0x401217
push 0x4e4941
push 0x4d5f3031
push 0x46434d4d
push 0
lea edx, [esp + 4]
push edx
call dword [sym.imp.USER32.DLL_FindWindowA]
add esp, 0xc
cmp eax, 0
je 0x401217
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.DLL_GetWindowLongA]
cmp eax, 0
je 0x401217
mov ebx, eax
cmp dword [ebx + 4], 0x2710
jne 0x401217
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0x401221
mov dword [ebp - 0x124], fcn.0040141f
mov dword [ebp - 0x120], 0x401652
push 0x20
push 0x29313030
push 0x28313920
push 0x24454c55
push 0x444f4d24
push esp
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
add esp, 0x14
push 0x118
lea edx, [ebp - 0x130]
push edx
lea edx, [ebx + 0x8c]
push edx
call fcn.00405261
push 0x75
push 0x7a757349
push esp
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
lea edx, [ebx + 0xa4]
push edx
call fcn.00401cea
add esp, 8
mov dword [ebp - 0x10], eax
push 0xa
push 0x3e8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x40117c
mov dword [ebp - 0x18], eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x401173
mov dword [ebp - 0x14], eax
push 0x2e36
lea edx, [eax + 0x1c]
push edx
push 0x408552
call dword [sym.imp.NTDLL.DLL_memcpy]
add esp, 0xc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
push 0x747365
push 0x745f6e61
push 0x635f3930
push 0x63373163
push 0x64655f6d
push 0x63615f75
push 0x7a757369
mov dword [ebp - 8], esp
push 0x3030
push 0x302e3031
mov dword [ebp - 4], esp
push 0x4e41
push 0x43205d6b
push 0x34303531
push 0x5b393043
push 0x37314344
push 0x45204d43
push 0x41295453
push 0x45542824
push 0x3139757a
push 0x75736924
push esp
push dword [ebp - 4]
push dword [ebp - 8]
push 0x2e36
push 0x408552
push esp
push 3
push dword [ebp + 8]
push dword [ebp - 0x10]
lea edx, [ebx + 0xa4]
push edx
call fcn.00401cea
add esp, 0x28
add esp, 8
add esp, 0x1c
mov dword [ebp - 0xc], eax
popal
mov eax, 1
leave
ret 0xc
Function at 0x10005a98
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x127]
mov byte [ebp - 0x128], bl
mov byte [ebp - 0x10], 0x75
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
mov byte [ebp - 0xf], 0x73
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x33
mov byte [ebp - 0xb], 0x32
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], bl
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x46
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x67
mov byte [ebp - 0x1c], 0x72
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x75
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x57
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0x12], 0x77
mov byte [ebp - 0x11], bl
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call fcn.100078a2
pop ecx
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10005be5
mov esi, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x32e]
mov word [ebp - 0x330], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x330]
push 0x208
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetClassNameW]
push ebx
push ebx
lea eax, [ebp - 0x128]
push ebx
push eax
lea eax, [ebp - 0x330]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
push ebx
push ebx
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x330]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x128]
push eax
call fcn.1000775c
pop ecx
test eax, eax
pop ecx
je 0x10005bec
push 2
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindow]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x10005b5f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 4]
jmp 0x10005be7

Function at 0x10005d6c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
push ebx
call fcn.100073c5
jmp loc.1000e790
Function at 0x10007bbf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
and byte [ebp - 0x114], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
push 0x1000adb8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.10007734
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1000657a
add esp, 0x14
test eax, eax
jne 0x10007c33
push 4
push eax
lea eax, [ebp + 8]
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1000657a
add esp, 0x18
test eax, eax
je 0x10007c5d
mov eax, dword [ebp - 0x10]
mov esi, 0x1000aef4
add eax, 8
push eax
push esi
call fcn.10007734
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll_free]
push 0x2f
push esi
call fcn.1000770c
add esp, 0x14
test eax, eax
jne 0x10007c61
xor eax, eax
jmp 0x10007c9b
and byte [eax + 1], 0
and byte [ebp - 3], 0
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0x6d
push eax
push esi
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x62
mov byte [ebp - 9], 0x61
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x2e
mov byte [ebp - 6], 0x61
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0x70
call fcn.1000782b
pop ecx
mov eax, esi
pop ecx
pop edi
pop esi
leave
ret

Function at 0x401360
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4073f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
call fcn.004010e0
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push 0xe
push ecx
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 4], 0
call dword [eax + 0x3c]
cmp eax, 0xe
je 0x4013d9
push 8
call sub.MFC42u.DLL_operatornew
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x4013c2
call sub.MFC42u.DLL_CException::CException
jmp 0x4013c4
xor eax, eax
lea edx, [ebp - 0x14]
push 0x408b08
push edx
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], eax
call sub.MSVCRT.dll__CxxThrowException
cmp word [ebp - 0x2c], 0x4d42
je 0x401416
push 8
call sub.MFC42u.DLL_operatornew
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
test ecx, ecx
mov byte [ebp - 4], 2
je 0x4013ff
call sub.MFC42u.DLL_CException::CException
jmp 0x401401
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x408b08
push eax
mov byte [ebp - 4], 0
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0x22]
lea ebx, [ecx - 0xe]
push ebx
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esi + 0xc], eax
mov edx, dword [edi]
mov ecx, edi
push ebx
push eax
call dword [edx + 0x3c]
mov ecx, esi
jmp section..htext
Function at 0x421ca0
Capabilities:
Check for software breakpoints

Disassembly:
enter 0x10c, 2
push ebx
push ecx
push edx
mov dword [ebp - 0xc], esp
movzx eax, byte [0x4e89fd]
dec eax
movzx eax, al
sub eax, 1
jbe 0x421d53
mov byte [ebp - 0x14], al
mov byte [ebp - 0x10], 1
inc byte [ebp - 0x10]
movzx eax, byte [ebp - 0x10]
movzx eax, byte [eax + 0x4e8d06]
cmp eax, 0xda
je 0x421d22
cmp eax, 0xce
je 0x421d22
cmp eax, 0xcc
jg 0x421cf1
cmp eax, 0xc8
jge 0x421d22
cmp eax, 0xc5
je 0x421d22
cmp eax, 0xc3
jg 0x421d06
cmp eax, 0xbf
jge 0x421d22
cmp eax, 0xbc
jg 0x421d14
cmp eax, 0xb9
jge 0x421d22
cmp eax, 0xb4
je 0x421d22
cmp eax, 0xb3
jne 0x421d30
movzx eax, byte [ebp - 0x10]
mov byte [eax + 0x4e8d06], 0x20
jmp 0x421d4a
cmp eax, 0xcd
je 0x421d3e
cmp eax, 0xc4
jne 0x421d4a
movzx eax, byte [ebp - 0x10]
mov byte [eax + 0x4e8d06], 0x3d
dec byte [ebp - 0x14]
jne 0x421cc6
push 0x4e8328
lea eax, [ebp - 0x114]
push eax
push 0x4e8d06
push 2
movzx eax, byte [0x4e89fd]
sub eax, 2
push eax
call fcn.00401cd0
lea eax, [ebp - 0x114]
push eax
push 0
call fcn.00421c10
call fcn.00421b30
call fcn.0041b260
pop edx
pop ecx
pop ebx
leave
ret
Function at 0x428d32
Capabilities:
Check os version

Disassembly:
enter 0xa4, 2
push ebx
push ecx
push edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
mov dword [ebp - 0xac], 6
mov dword [ebp - 0xa0], 0x94
lea ebx, [ebp - 0xa0]
push ebx
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x9c], 5
ja 0x428d77
mov eax, dword [ebp - 0xac]
or eax, 0x20
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 4]
lea ebx, [eax + 0xbe]
push ebx
lea ecx, [eax + 0xba]
push ecx
push 0
push 0
push 2
push 0
push dword [ebp - 0xac]
call sub.winspool.drv_EnumPrintersA
mov edi, dword [ebp - 4]
cmp dword [edi + 0xba], 0
jbe 0x428e07
push dword [edi + 0xba]
push 0
call sub.kernel32.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapAlloc
mov edi, dword [ebp - 4]
mov dword [edi], eax
lea ebx, [edi + 0xbe]
push ebx
lea eax, [ebp - 0xa4]
push eax
push dword [edi + 0xba]
push dword [edi]
push 2
push 0
push dword [ebp - 0xac]
call sub.winspool.drv_EnumPrintersA
test al, al
jne 0x428e05
mov eax, dword [ebp - 4]
mov edi, 0
mov dword [eax + 0xbe], edi
push dword [eax]
push 0
call sub.kernel32.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
jmp 0x428e19
mov eax, 0
mov dword [edi + 0xbe], eax
mov esi, 0
mov dword [edi], esi
pop edx
pop ecx
pop ebx
leave
ret

Function at 0x46ed92
Capabilities:
Connect to http server

Disassembly:
enter 8, 2
push ebx
push ecx
push edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0
push 0x8000000
push 1
push dword [eax + 0x16]
push dword [eax + 0x12]
mov bx, word [eax + 0xc]
push ebx
push dword [eax + 0xe]
push dword [eax]
call sub.wininet.dll_InternetConnectA
mov edi, dword [ebp - 4]
mov dword [edi + 4], eax
test eax, eax
jne 0x46edd6
push 0x4d5e55
push 0x4d5e6f
call fcn.00414260
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
setne bl
mov al, bl
pop edx
pop ecx
pop ebx
leave
ret

Function at 0x46edf2
Capabilities:
Create http request

Disassembly:
enter 8, 2
push ebx
push ecx
push edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0
push 0x4d5e70
push 0x4d5e71
push 1
push 0x4d5e72
call sub.wininet.dll_InternetOpenA
mov edi, dword [ebp - 4]
mov dword [edi], eax
test eax, eax
jne 0x46ee2f
push 0x4d5e73
push 0x4d5e87
call fcn.00414260
mov eax, dword [ebp - 4]
cmp dword [eax], 0
setne bl
mov al, bl
pop edx
pop ecx
pop ebx
leave
ret
Function at 0x48d7c2
Capabilities:
Send file using ftp

Disassembly:
enter 8, 2
push ebx
push ecx
push edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0
push 2
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [eax + 4]
call sub.wininet.dll_FtpPutFileA
test al, al
je 0x48d7eb
mov byte [ebp - 0x10], 1
jmp 0x48d7fe
push 0x4dfb73
push 0x4dfb88
call fcn.00414260
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
pop edx
pop ecx
pop ebx
leave
ret 8