joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ba50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffadc
push ebx
push esi
push edi
mov edi, str.DATA
mov ebx, dword [ebp + 8]
push 0
push 1
push 0x20
lea eax, [edi + 0x54d]
push 0x21c
push eax
push 0x4eb0f4
call sym._L__.exe__Createsorteddata
add esp, 0x18
test eax, eax
je 0x46ba8f
or eax, 0xffffffff
jmp 0x46bca3
mov dword [0x4eb278], 0x18
lea edx, [edi + 0x319]
mov dword [0x4eb2bc], edx
mov byte [0x4eb300], 0x10
mov dword [0x4eb27c], 0x100
lea ecx, [edi + 0x55f]
mov dword [0x4eb2c0], ecx
mov byte [0x4eb301], 4
mov dword [0x4eb22c], 2
mov dword [0x4eb230], ebx
push 0x4eb22c
call sym._L__.exe__Defaultbar
xor eax, eax
pop ecx
mov dword [0x4eb311], eax
mov dword [0x4eb31d], 1
mov dx, word [0x4d54b4]
xor eax, eax
mov word [0x4eb321], dx
mov dword [0x4eb325], 0x12
mov dword [0x4eb329], ebx
xor edx, edx
mov cx, word [0x4d5394]
mov word [0x4eb32d], cx
xor ecx, ecx
mov dword [ebp - 0x524], 0xfffffffe
mov dword [ebp - 0x520], 1
mov dword [ebp - 0x51c], ecx
mov dword [0x4eb331], eax
mov byte [ebp - 0x518], 0
xor eax, eax
mov dword [0x4eb335], edx
mov dword [ebp - 0x414], eax
xor edx, edx
mov byte [ebp - 0x410], 0
mov dword [ebp - 0x30c], edx
xor ecx, ecx
mov dword [ebp - 0x310], ecx
lea eax, [ebp - 0x524]
push eax
push 0x4eb0f4
mov dword [0x4eb339], 0x46b304
call sym._L__.exe__Addsorteddata
add esp, 8
xor edx, edx
mov ebx, edx
mov esi, edx
cmp esi, 0xc8
jge 0x46bc00
push esi
lea eax, [edi + 0x4f8]
push eax
lea edx, [ebp - 0x104]
push edx
call fcn.004a6c2c
add esp, 0xc
lea ecx, [ebp - 0x308]
lea eax, [edi + 4]
lea edx, [ebp - 0x104]
push 0x4d53a4
push 0x204
push ecx
push eax
push edx
lea ecx, [edi + 0x503]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
cmp byte [ebp - 0x308], 0
je 0x46bbf7
push ebx
lea eax, [ebp - 0x308]
push eax
call fcn.00469db4
add esp, 8
inc ebx
inc esi
cmp esi, 0xc8
jl 0x46bb9e
xor edx, edx
mov dword [0x4eb200], edx
push 0
push 0x46b7b4
mov ecx, dword [0x4d3b80]
push ecx
lea eax, [edi + 0x568]
push eax
mov edx, dword [0x4d3b78]
push edx
call sub.USER32.DLL_DialogBoxParamA
mov esi, eax
push 0x4d53a4
push 0
push 0
lea eax, [edi + 0x503]
push eax
call sub.KERNEL32.DLL_WritePrivateProfileStringA
mov edx, dword [0x4eb210]
xor ebx, ebx
mov dword [ebp - 4], edx
jmp 0x46bc8b
push ebx
lea eax, [edi + 0x4f8]
push eax
lea edx, [ebp - 0x104]
push edx
call fcn.004a6c2c
add esp, 0xc
lea eax, [ebp - 0x104]
lea edx, [edi + 0x503]
push 0x4d53a4
mov ecx, dword [ebp - 4]
add ecx, 0xc
push ecx
push eax
push edx
call sub.KERNEL32.DLL_WritePrivateProfileStringA
inc ebx
add dword [ebp - 4], 0x21c
mov ecx, dword [0x4eb1f8]
dec ecx
cmp ebx, ecx
jl 0x46bc4d
push 0x4eb0f4
call sym._L__.exe__Destroysorteddata
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478788
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [0x4d7db0]
test ebx, ebx
jne 0x4787a2
xor eax, eax
jmp 0x47884a
xor esi, esi
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [0x4d5a74]
mov dword [ebp - 8], edx
xor edi, edi
jmp 0x478814
mov eax, dword [ebx]
cmp eax, dword [ebp + 8]
jne 0x4787e4
mov edx, dword [ebx + 0xc]
push edx
call sub.KERNEL32.DLL_ResumeThread
test eax, eax
jg 0x4787d4
mov ecx, dword [ebx]
mov dword [ebp - 8], ecx
inc dword [ebp - 4]
jmp 0x47880d
dec dword [ebx + 0x620]
mov esi, 1
dec eax
je 0x47880d
jmp 0x4787bd
cmp dword [ebx + 0x620], 0
jg 0x47880d
mov eax, dword [ebx + 0xc]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
jne 0x478802
mov edx, dword [ebx]
mov dword [ebp - 8], edx
inc dword [ebp - 4]
inc dword [ebx + 0x620]
mov esi, 1
inc edi
add ebx, 0x66c
cmp edi, dword [0x4d7d98]
jl 0x4787b6
test esi, esi
je 0x478838
cmp dword [0x4d7c90], 0
je 0x478838
push 0
push 0
mov eax, dword [0x4d7c90]
push eax
call sub.USER32.DLL_InvalidateRect
cmp dword [ebp - 4], 1
jle 0x478847
mov edx, dword [0x4d5a74]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x478854
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, dword [0x4d7db0]
test ebx, ebx
je 0x478971
xor esi, esi
xor eax, eax
mov dword [esp], eax
xor ebp, ebp
jmp 0x4788f5
cmp dword [ebx + 0x620], 0
jge 0x47889f
jmp 0x478894
mov eax, dword [ebx + 0xc]
push eax
call sub.KERNEL32.DLL_SuspendThread
inc dword [ebx + 0x620]
mov esi, 1
cmp dword [ebx + 0x620], 0
jl 0x478880
jmp 0x4788ee
cmp dword [ebx + 0x620], 0
jle 0x4788d3
jmp 0x4788c0
mov eax, dword [ebx + 0xc]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov edi, eax
dec dword [ebx + 0x620]
mov esi, 1
cmp dword [ebx + 0x620], 0
jg 0x4788aa
cmp edi, 1
jg 0x4788ee
inc dword [esp]
jmp 0x4788ee
mov eax, dword [ebx + 0xc]
push eax
call sub.KERNEL32.DLL_SuspendThread
mov edi, eax
mov eax, dword [ebx + 0xc]
push eax
call sub.KERNEL32.DLL_ResumeThread
test edi, edi
jne 0x4788ee
inc dword [esp]
inc ebp
add ebx, 0x66c
cmp ebp, dword [0x4d7d98]
jl 0x478875
test esi, esi
je 0x47891e
cmp dword [0x4d7c90], 0
je 0x47891e
push 0
push 0
mov edx, dword [0x4d7c90]
push edx
call sub.USER32.DLL_InvalidateRect
cmp dword [esp], 0
jne 0x478971
cmp dword [0x4d7d98], 1
jne 0x47894c
push 0x30
push 0x4c21f0
push 0x4c21ac
mov ecx, dword [0x4d3b7c]
push ecx
call sub.USER32.DLL_MessageBoxA
call sym._L__.exe__Createthreadwindow
jmp 0x478971
cmp dword [0x4d7d98], 1
jle 0x478971
push 0x30
push 0x4c21f0
push 0x4c2202
mov eax, dword [0x4d3b7c]
push eax
call sub.USER32.DLL_MessageBoxA
call sym._L__.exe__Createthreadwindow
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x496040
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
mov ebx, 0x4c11db7
mov edx, 0
mov eax, edx
shl eax, 0x18
shl eax, 1
jae 0x496056
xor eax, ebx
shl eax, 1
jae 0x49605c
xor eax, ebx
shl eax, 1
jae 0x496062
xor eax, ebx
shl eax, 1
jae 0x496068
xor eax, ebx
shl eax, 1
jae 0x49606e
xor eax, ebx
shl eax, 1
jae 0x496074
xor eax, ebx
shl eax, 1
jae 0x49607a
xor eax, ebx
shl eax, 1
jae 0x496080
xor eax, ebx
mov dword [edx*4 + 0x4f06ac], eax
inc edx
cmp edx, 0x100
jb 0x49604b
pop ebx
ret

Function at 0x496092
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
enter 0, 0
push ebx
push esi
mov ebx, 0x4c11db7
mov eax, 0xffffffff
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
jecxz 0x4960c5
mov edx, 0xffffff00
xor ebx, ebx
rol eax, 8
xor al, byte [esi]
inc esi
mov bl, al
and eax, edx
xor eax, dword [ebx*4 + 0x4f06ac]
dec ecx
jne 0x4960b1
pop esi
pop ebx
leave
ret
Function at 0x497154
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x49716f
cmp dword [ebp + 0xc], 0
jne 0x497173
mov eax, esi
jmp 0x4971da
xor eax, eax
mov edx, 0x4f0ab4
jmp 0x4971c8
cmp ecx, dword [edx]
jne 0x4971c1
mov ecx, eax
lea eax, [ebp - 0x100]
shl ecx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
add ecx, 0x4f0bbc
push ecx
push str.Plugin__s
push eax
call fcn.004a6c2c
add esp, 0xc
push 0x4d53a4
push esi
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x100]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileIntA
jmp 0x4971da
inc eax
add edx, 0x258
mov ebx, dword [0x4f55b4]
inc ebx
cmp eax, ebx
jge 0x4971d8
cmp eax, 0x20
jl 0x49717c
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4971e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x497201
test esi, esi
je 0x497201
test ebx, ebx
jne 0x49720f
test ebx, ebx
je 0x497208
mov byte [ebx], 0
xor eax, eax
jmp 0x49729a
xor eax, eax
mov edx, 0x4f0ab4
jmp 0x49726a
cmp ecx, dword [edx]
jne 0x497263
mov ecx, eax
lea eax, [ebp - 0x100]
shl ecx, 3
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
add ecx, 0x4f0bbc
push ecx
push str.Plugin__s
push eax
call fcn.004a6c2c
add esp, 0xc
lea ecx, [ebp - 0x100]
push 0x4d53a4
push 0x100
push ebx
mov edx, dword [ebp + 0x14]
push edx
push esi
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x49729a
inc eax
add edx, 0x258
mov edi, dword [0x4f55b4]
inc edi
cmp eax, edi
jge 0x49727a
cmp eax, 0x20
jl 0x497218
push 0xff
mov eax, dword [ebp + 0x14]
push eax
push ebx
call fcn.004a3904
add esp, 0xc
mov byte [ebx + 0xff], 0
push ebx
call fcn.004a36d4
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a8de8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.004a3644
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.004a36d4
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.004a36d4
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x4cc0d9
lea ecx, [ebp - 0x200]
push ecx
call fcn.004a3644
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.004a36d4
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.004a9fe4
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x4a8ef9
push esi
call fcn.004a36d4
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.004a36d4
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.004a27b4
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x4a8ed0
xor eax, eax
jmp 0x4a8f80
push esi
call fcn.004a36d4
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.004a36d4
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.004a35a0
add esp, 0xc
jmp 0x4a8f39
mov edi, dword [ebx + 0x24]
push edi
call fcn.004a36d4
pop ecx
push eax
push esi
call fcn.004a36d4
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.004a36d4
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.004a27d4
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x4a8f39
xor eax, eax
jmp 0x4a8f80
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.004a3644
add esp, 8
push 0x4cc0db
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.004a3644
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.004a3644
add esp, 8
push 0x4cc0dd
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.004a3644
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ac058
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x4ac0ba
call fcn.004ac008
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004a36d4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004a36d4
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4acc50
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x50a614], 0
jne 0x4accd1
cmp dword [0x50a634], 0
jne 0x4acc80
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x50a634], eax
test eax, eax
jne 0x4acc80
push str.GetEnvironmentStrings_
call fcn.004ac244
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x50a634]
jmp 0x4acc94
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004a36d4
pop ecx
mov edi, eax
test eax, eax
jne 0x4acc8c
lea edi, [ebp + 1]
push edi
call fcn.004a27b4
pop ecx
mov ebx, eax
mov dword [0x50a618], ebx
test ebx, ebx
jne 0x4accbe
xor eax, eax
jmp 0x4acd94
push edi
mov edx, dword [0x50a634]
push edx
push ebx
call fcn.004a3530
add esp, 0xc
jmp 0x4accf1
xor esi, esi
mov ebx, dword [0x50a614]
jmp 0x4acceb
push eax
call fcn.004a36d4
pop ecx
test eax, eax
jne 0x4acce7
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4accdb
lea ebx, [esi + 4]
push 4
mov dword [0x50a61c], ebx
inc ebx
push ebx
call fcn.004a25b4
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x4acd14
xor eax, eax
jmp 0x4acd94
cmp dword [0x50a614], 0
jne 0x4acd45
xor esi, esi
mov ebx, dword [0x50a618]
mov eax, dword [esp]
mov ebp, eax
jmp 0x4acd36
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004a36d4
pop ecx
mov edi, eax
test eax, eax
jne 0x4acd2c
jmp 0x4acd76
xor esi, esi
mov ebx, dword [0x50a614]
mov eax, dword [esp]
mov edi, eax
jmp 0x4acd70
push eax
call fcn.004a36d4
pop ecx
test eax, eax
je 0x4acd65
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x4acd69
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4acd54
mov eax, dword [0x50a614]
test eax, eax
je 0x4acd86
push eax
call fcn.004a27c4
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x50a614], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x420230
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48341b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047772a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4202b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047554a
mov eax, dword [eax]
push 0x5651f0
push eax
call fcn.004678f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004779b5
test bl, bl
je 0x4202b2
push 0x5651f0
lea ecx, [esp + 0xc]
call fcn.00477d45
push 0x568d6c
lea ecx, [esp + 0xc]
call fcn.00477d45
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4202ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004779b5
jmp 0x4203b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x420372
lea edx, [esp + 0x7c]
push 0x568d68
push edx
call fcn.004678f4
add esp, 8
test eax, eax
je 0x420372
lea eax, [esp + 0x7c]
push 0x568d64
push eax
call fcn.004678f4
add esp, 8
test eax, eax
je 0x420372
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x420302
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004779b5
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x420bb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x420c12
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x420c20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48349b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x56f564]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x420d58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x420c86
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004779b5
xor eax, eax
jmp 0x420dcf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00477af2
push esi
lea ecx, [esp + 0xc]
call fcn.00477d81
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x420dad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00420bb0
test eax, eax
jne 0x420dad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00420bb0
test eax, eax
jne 0x420dad
lea eax, [esp + 0x14]
push 0x568d80
push eax
call fcn.00468a00
mov esi, eax
add esp, 8
test esi, esi
jne 0x420d8c
lea ecx, [esp + 0x14]
push 0x568d7c
push ecx
call fcn.00468980
mov esi, eax
add esp, 8
test esi, esi
jne 0x420d8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x420d8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00477aa2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x420c9e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004779b5
xor eax, eax
jmp 0x420dcf
mov byte [esi], 0
push 0x568d78
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004779b5
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x434b60
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x434bce
cmp si, 0x69
ja 0x434bce
add esi, 0xffd0
cmp si, 0x11
je 0x434b9e
push 0x11
call edi
test ax, ax
jge 0x434b9e
or esi, 0x2000
cmp si, 0x10
je 0x434bb3
push 0x10
call edi
test ax, ax
jge 0x434bb3
or esi, 0x4000
cmp si, 0x12
je 0x434bc8
push 0x12
call edi
test ax, ax
jge 0x434bc8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x434bdb
mov esi, 0xbd
jmp 0x434b8f
cmp si, 0x6e
jne 0x434be8
mov esi, 0xbe
jmp 0x434b8f
cmp si, 0x6f
jne 0x434b89
mov esi, 0xbf
jmp 0x434b8f

Function at 0x436390
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x57fc80]
xor edx, edx
cmp eax, edx
jne 0x4363b6
xor eax, eax
mov byte [eax + 0x57fb80], al
inc eax
cmp eax, 0x100
jl 0x43639e
mov dword [0x57fc80], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x57fb80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x436447
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43641a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4363e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4364c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x436513
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4364fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43cf50
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x43d0e8
cmp ebp, ebx
jle 0x43d0e8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x43cfae
dec eax
or eax, 0xfffffff8
inc eax
je 0x43cfb5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x43cfc4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x43cfcb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004776f6
add esp, 4
cmp eax, ebx
je 0x43cfec
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004776f6
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x43d0de
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x43d0c5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x43d0b1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x43d0a6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x43d0b4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x43d0b4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x43d050
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x43d041
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret