joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100acc8e
Capabilities:
Create mailslot

Disassembly:
push 0x14
mov eax, 0x1014e497
call fcn.10143988
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [0x1018de8c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100a8720
xor ebx, ebx
mov dword [esi], vtable.WinInterAppStream.0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.100989f5
lea eax, [esi + 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000ee23
pop ecx
pop ecx
push eax
call fcn.1000ee23
push 0xc
lea edi, [esi + 0x58]
push ebx
push edi
call sub.VCRUNTIME140.dll_memset
push edi
mov ecx, ebx
call fcn.1000ee23
add esp, 0x18
test al, al
je 0x100acd01
cmp dword [esi + 0x5c], ebx
cmovne ecx, edi
push ecx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_CreateMailslotA]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x54], eax
call fcn.1000ee23
mov eax, esi
call fcn.10143951
ret 8

Function at 0x100ace90
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x1014c15d
call fcn.10143988
mov esi, ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.1008c7b9
and dword [ebp - 4], 0
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100988a3
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
push dword [eax + 8]
push dword [eax + 4]
call fcn.1000ee23
push 0
xor ecx, ecx
lea eax, [esi + 0x58]
cmp dword [esi + 0x5c], ecx
push 0x80
push 3
cmovne ecx, eax
push ecx
push ebx
push 0x40000000
push dword [ebp - 0x28]
call dword [sym.imp.kernel32.dll_CreateFileA]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x100acf2b
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push 0
push ecx
push dword [edi + 8]
push dword [edi + 4]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
je 0x100acf2b
mov eax, dword [ebp - 0x10]
cmp eax, dword [edi + 8]
je 0x100acf2d
xor bl, bl
lea ecx, [ebp - 0x2c]
call fcn.1000ee23
lea ecx, [ebp - 0x1c]
call fcn.1000ee23
mov al, bl
call fcn.10143951
ret 8
Function at 0x101236a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1012373b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x101236f2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x101236f2
cmp esi, ebx
jge 0x101236f2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x10123735
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x10123735
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x10151aac]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1012374d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x10123970
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101935e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d058c], 0
mov eax, dword [ebp + 8]
je 0x10123998
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x101239b2
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1000ee23
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10143940
leave
ret 4

Function at 0x10123b80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x101935e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d058c], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x10123bb6
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10123c15
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1000ee23
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1000ee23
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.1000ee23
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10143940
leave
ret 0x10
Function at 0x10123c30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101935e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d058c], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x10123c5c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x10123c8d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x10123c8b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1000ee23
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x10123c8d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10143940
leave
ret 8
Function at 0x10132ac0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x101935e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
xor ebx, ebx
inc edx
mov edi, dword [esi]
cmp dword [edi + 0x254], ebx
je 0x10132b20
cmp dword [edi + 0x264], ebx
je 0x10132b19
cmp byte [0x107d058c], 0
push edi
push dword [edi + 0x250]
je 0x10132b08
call dword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x10132b0e
call dword [sym.imp.kernel32.dll_FindNextFileA]
mov ecx, dword [esi]
xor edx, edx
inc edx
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
jmp 0x10132c00
mov eax, dword [edi + 0x25c]
test eax, eax
je 0x10132c8f
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
pop ecx
pop ecx
mov ecx, dword [esi]
cmp dword [ecx + 0x260], ebx
je 0x10132b6e
lea eax, [ebp - 0x234]
push eax
call fcn.1000ee23
mov eax, dword [esi]
push dword [eax + 0x260]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
mov ecx, dword [esi]
add esp, 0xc
test byte [ecx + 0x268], 1
push 0x10
pop eax
lea edx, [eax + 0x70]
cmove eax, edx
mov dword [ecx], eax
cmp byte [0x107d058c], 0
je 0x10132b9a
push dword [esi]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
jmp 0x10132bbc
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.1000ee23
push dword [esi]
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x250], eax
xor eax, eax
mov ecx, dword [esi]
cmp dword [ecx + 0x250], 0xffffffff
setne al
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x10132bea
mov dword [eax + 0x250], ebx
mov eax, dword [esi]
xor edx, edx
inc edx
mov dword [eax + 0x254], edx
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x10132c00
mov dword [esi + 4], edx
mov ecx, eax
cmp dword [eax + 0x264], ebx
je 0x10132c27
cmp byte [0x107d058c], 0
jne 0x10132c27
push dword [eax + 0x258]
add eax, 0x2c
push eax
call fcn.1000ee23
mov ecx, dword [esi]
xor edx, edx
inc edx
mov eax, dword [ecx]
mov dword [ecx + 0x26c], eax
mov edi, dword [esi]
mov ebx, dword [edi + 0x26c]
shr ebx, 4
and ebx, edx
je 0x10132c5c
push esi
xor ebx, ebx
call fcn.1000ee23
xor edx, edx
inc edx
cmp word [eax], 0x2e
je 0x10132c58
test byte [edi + 0x268], 3
jne 0x10132c66
mov ebx, edx
jmp 0x10132c66
test byte [edi + 0x268], 1
cmovne ebx, edx
mov eax, dword [edi + 0x264]
test eax, eax
je 0x10132c8a
push 0
test ebx, ebx
pop ebx
jne 0x10132ae0
test byte [edi + 0x26c], 2
jne 0x10132ae0
test eax, eax
setne al
jmp 0x10132c91
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10143940
leave
ret 4
Function at 0x402b5c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403b9c
test esi, esi
jne 0x402b93
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00403c8c
jmp 0x402bb4
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.004029f8
mov dword [esp], eax
test esi, esi
je 0x402bb4
cmp dword [ebx], 0
je 0x402bb4
dec esi
jmp 0x402b9b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4030b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40a014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40314c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40312c
xor eax, eax
push ebp
push 0x403125
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403168
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40312c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40a014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40a014], ax
mov esp, ebp
pop ebp
ret

Function at 0x403a18
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40b044], 0
je 0x403a79
cmp word [0x40b218], 0xd7b2
jne 0x403a41
cmp dword [0x40b220], 0
jbe 0x403a41
mov eax, 0x40b214
call dword [0x40b230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40a05c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403aa0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40a020], 0
jne 0x403a95
push 0
push 0x40a054
push 0x40a05c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404860
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4048c6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403de4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ca8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4048b0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4048cd
lea eax, [ebp - 0x10]
call fcn.00403b9c
ret

Function at 0x405ddc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403f5c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x405df5
test al, 0x10
jne 0x405df9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x406a84
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406abd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403c8c
jmp 0x406ac6
mov eax, ebx
mov edx, esi
call fcn.00403bf0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406ad0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406af1
mov al, byte [esp]
jmp 0x406af3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x407188
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x406ff0
mov eax, dword [0x40a458]
cmp byte [eax], 0
je 0x407204
mov eax, dword [0x40a3b4]
call fcn.00402c44
call fcn.00402968
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00405f58
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40724c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40723a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x40a394]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40b660]
call fcn.00404230
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x407c28
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x407c8c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403de4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405c4c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407c93
lea eax, [ebp - 0xc]
call fcn.00403b9c
ret
Function at 0x401740
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, 1
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x401753
mov dword [esi + 0x64], ecx
mov eax, dword [esi + 0x64]
cmp eax, 7
jle 0x401769
push 0
mov dword [esi + 0x64], 0
call fcn.0040cc23
mov edx, dword [esi + 0x60]
mov edi, dword [esp + 0xc]
cmp edx, ecx
jne 0x4017f3
and eax, 0x80000001
jns 0x401780
dec eax
or eax, 0xfffffffe
inc eax
je 0x401798
lea eax, [esi + 0xc]
test eax, eax
jne 0x40178d
xor ecx, ecx
jmp 0x401790
mov ecx, dword [eax + 4]
test edi, edi
jne 0x4017a3
xor eax, eax
jmp 0x4017a6
lea eax, [esi + 0x14]
test eax, eax
jne 0x40178d
xor ecx, ecx
jmp 0x401790
mov eax, dword [edi + 4]
mov edx, dword [esi + 0xc8]
push edx
mov dx, word [esi + 0xb4]
push 0
push 0
push edx
mov dx, word [esi + 0xb0]
push edx
push ecx
mov ecx, esi
push eax
call fcn.00401450
mov ecx, dword [esi + 0xb0]
add ecx, 6
mov eax, ecx
mov dword [esi + 0xb0], ecx
cmp eax, 0x1c2
jle 0x4017f3
mov eax, dword [esi + 0x64]
mov dword [esi + 0xb0], 0x5a
inc eax
mov dword [esi + 0x64], eax
cmp dword [esi + 0x60], 3
jne 0x4018a7
mov eax, dword [esi + 0x64]
and eax, 0x80000001
jns 0x40180c
dec eax
or eax, 0xfffffffe
inc eax
je 0x401824
lea eax, [esi + 0x4c]
test eax, eax
jne 0x401819
xor ecx, ecx
jmp 0x40181c
mov ecx, dword [eax + 4]
test edi, edi
jne 0x40182f
xor eax, eax
jmp 0x401832
lea eax, [esi + 0x14]
test eax, eax
jne 0x401819
xor ecx, ecx
jmp 0x40181c
mov eax, dword [edi + 4]
mov edx, dword [esi + 0xc8]
push edx
mov dx, word [esi + 0xbc]
push 0
push 0
push edx
mov dx, word [esi + 0xb8]
push edx
push ecx
mov ecx, esi
push eax
call fcn.00401450
mov ecx, dword [esi + 0xb8]
add ecx, 6
mov edi, ecx
mov dword [esi + 0xb8], ecx
mov dword [esp + 0xc], edi
fild dword [esp + 0xc]
fmul qword [0x42f5f8]
fsin
fmul qword [0x42f5f0]
fadd qword [0x42f5e8]
call fcn.0040cd68
cmp edi, 0x258
mov dword [esi + 0xbc], eax
jle 0x4018a7
mov eax, dword [esi + 0x64]
mov dword [esi + 0xb8], 0x5a
inc eax
mov dword [esi + 0x64], eax
pop edi
pop esi
ret 4
Function at 0x4020b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42cf48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x1c]
mov ecx, dword [0x557e64]
mov ebx, eax
mov dword [esp + 0x3c], ecx
mov edx, dword [edi + 0x54]
lea eax, [esp + 0x3c]
push edx
push 0x43b0f0
push eax
mov dword [esp + 0x40], 0
call fcn.0041a3bb
add esp, 0xc
lea ecx, [esp + 0x14]
push 0x4c6f7
call fcn.004228c2
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
mov byte [esp + 0x40], 1
mov dword [esp + 0x28], 0x9b
mov dword [esp + 0x2c], 0xd
mov dword [esp + 0x30], 0xdc
mov dword [esp + 0x34], 0x2a
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esi]
push 0x4c6f7
mov ecx, esi
call dword [eax + 0x2c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CFont.0
push 0
push str.Comic_Sans_MS
push 0xa0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 2
call fcn.00426547
test eax, eax
jne 0x402198
push eax
push eax
push str.Cant_Create_Font
call fcn.00424f29
mov edx, dword [esi]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [edx + 0x28]
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
push eax
push 0xf
push 0xb0
mov ecx, esi
call dword [edx + 0x5c]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x20]
mov esi, vtable.CGdiObject.0
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 3
call fcn.004228ac
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.004228ac
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call fcn.0041b279
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x402de0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov al, 0x45
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov al, 0x6c
push str.HeapFree
push str.kernel32.dll
mov byte [esp + 0x18], 0x4b
mov byte [esp + 0x1a], 0x52
mov byte [esp + 0x1b], 0x4e
mov byte [esp + 0x1d], 0x4c
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
mov byte [esp + 0x24], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov ebx, eax
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
mov al, 0x65
mov cl, 0x73
mov byte [esp + 0x21], al
mov byte [esp + 0x27], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], cl
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x28], 0x47
mov byte [esp + 0x2a], 0x74
mov byte [esp + 0x2b], 0x50
mov byte [esp + 0x2c], 0x72
mov byte [esp + 0x2d], 0x6f
mov byte [esp + 0x2e], 0x63
mov byte [esp + 0x32], 0x48
mov byte [esp + 0x34], 0x61
mov byte [esp + 0x35], 0x70
mov byte [esp + 0x36], 0
call edi
push eax
call ebp
push 0
mov edi, eax
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
push 0
call esi
mov edx, dword [esp + 0x34]
push edx
push 0
call edi
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x404ba0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, 0xfe
and eax, 0xff
push esi
cdq
idiv ecx
mov esi, dword [esp + 0xc]
add dl, 0x58
test esi, esi
jbe 0x404bcd
mov eax, dword [esp + 8]
mov cl, byte [eax]
xor cl, dl
add cl, dl
mov byte [eax], cl
inc eax
dec esi
jne 0x404bc1
pop esi
ret

Function at 0x404bd0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push 0xed8
push 0x11c000
push 0x43b130
call fcn.00404ba0
push 0x43b130
call fcn.00403370
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x404c15
mov eax, dword [esp + 0x10]
push eax
push ebx
call fcn.004031b0
add esp, 8
test eax, eax
jne 0x404c19
push ebx
call fcn.00403080
add esp, 4
pop edi
pop esi
pop ebx
ret
mov ecx, dword [esp + 0x14]
mov esi, str.shopiping.cn
push ecx
mov ecx, 0x270
sub esp, 0x9c0
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call eax
push ebx
call fcn.00403080
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x419830
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040e6e0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4198fb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4198fb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4198ae
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4198b9
or bh, 8
and edi, 0x8000000
je 0x4198d4
mov eax, dword [0x55f41c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4198fb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret