joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c940
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp edx, eax
je 0x40cab2
cmp dword [edx + 0x1c], 0xf
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
push ebx
mov dword [ebp - 0x18], eax
lea ebx, [edx + 8]
mov eax, dword [edx + 4]
push esi
mov dword [ebp - 0xc], eax
mov esi, edx
jbe 0x40c979
mov ebx, dword [edx + 8]
mov eax, dword [edx + 0x18]
xor edx, edx
push edi
mov edi, 0x811c9dc5
test eax, eax
je 0x40c9a4
mov ecx, eax
nop word [eax + eax]
movzx eax, byte [ebx + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x40c990
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, edi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
push ecx
lea ecx, [edi + 8]
call fcn.00412900
push 0x38
push edi
call fcn.0041c0f2
mov eax, dword [ebp - 8]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x14]
je 0x40ca0e
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x40c9c0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x40caa7
mov ecx, dword [ebp - 0x10]
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
jne 0x40ca20
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x40ca23
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x40caa7
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea edi, [esi + 8]
jbe 0x40ca3c
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0x18]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x40ca61
nop word [eax + eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x40ca50
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
and edx, dword [ecx + 0x18]
lea eax, [eax + edx*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
push ecx
lea ecx, [edi + 8]
call fcn.00412900
push 0x38
push edi
call fcn.0041c0f2
mov ecx, dword [ebp - 8]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [ecx + 8]
cmp ebx, dword [ebp - 0x14]
je 0x40cab8
cmp esi, eax
jne 0x40ca76
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x40ca30
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40d160
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436be5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x445080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor esi, esi
xorps xmm0, xmm0
mov dword [ebp - 0x44], 1
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x40], esi
cmp dword [edx + 0x10], esi
je 0x40d1ca
cmp dword [edx + 0x14], 0xf
mov esi, edx
jbe 0x40d1ba
mov esi, dword [edx]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 4
jmp 0x40d1e6
cmp dword [ecx + 0x10], esi
je 0x40d1d9
cmp dword [ecx + 0x14], 0xf
mov esi, ecx
jbe 0x40d1d9
mov esi, dword [ecx]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00401e90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push ecx
cmova eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x40d2d6
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x40d2cf
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
nop dword [eax]
push 0x81
push 0
push 0
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40d265
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x40d2c1
cmp byte [ebp + 0x14], 0
je 0x40d27f
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 1
push 6
push edi
call ebx
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x40d292
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x14]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
cmp dword [esi + 4], 0x17
jne 0x40d2ac
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x1b
push 0x29
push edi
call ebx
push esi
push edi
lea ecx, [ebp + 0x40]
call fcn.00403940
test al, al
jne 0x40d301
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x40d230
mov esi, dword [ebp - 0x50]
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
or edi, 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x40d316
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d30c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d35e
jmp 0x40d30c
push dword [ebp - 0x50]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x40d2d9
push ecx
push edx
call fcn.0041c0f2
add esp, 8
mov ecx, dword [ebp + 0x3c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
test ecx, ecx
je 0x40d340
mov esi, dword [ecx]
lea eax, [ebp + 0x18]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c0e4
mov esp, ebp
pop ebp
ret
call fcn.00420d4f
int3
Function at 0x410720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x410751
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x410740
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x4124f0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4372ab
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x445080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
cmp byte [ecx + 0xd], 0
jne 0x41260b
lea edi, [ecx + 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x88
mov dword [ebp - 0x1c], 0
call fcn.0041c123
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
lea esi, [ebx + 0x10]
push edi
mov ecx, esi
mov dword [ebp - 0x28], esi
call fcn.0040c690
add esi, 0x18
mov byte [ebp - 4], 1
add edi, 0x18
mov dword [ebp - 0x2c], esi
push edi
mov ecx, esi
call fcn.0040c690
lea eax, [edi + 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x18]
call fcn.0040c690
lea eax, [edi + 0x30]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x30]
call fcn.0040c690
lea eax, [edi + 0x48]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x48]
call fcn.0040c690
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
mov word [ebx + 0xc], 0
mov dword [ebx + 4], eax
mov al, byte [edi + 0xc]
mov byte [ebx + 0xc], al
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
push ebx
mov dword [ebp - 4], 5
mov ecx, esi
push dword [edi]
call fcn.004124f0
push ebx
mov dword [ebx], eax
mov ecx, esi
push dword [edi + 8]
call fcn.004124f0
mov dword [ebx + 8], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41cf53
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41cf92
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41cf92
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41cf92
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41cf92
cmp dword [ecx + 0x74], 0xe
jbe 0x41cf92
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42a75a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43c438
push 0x43c430
push str.FlsAlloc
push 0x1f
call fcn.0042a5c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42a78e
push dword [ebp + 8]
mov ecx, esi
call dword [0x4381b0]
call esi
jmp 0x42a794
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42a7d8
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43c448
push 0x43c440
push str.FlsGetValue
push 0x21
call fcn.0042a5c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42a80f
push dword [ebp + 8]
mov ecx, esi
call dword [0x4381b0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42a817
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43c450
push 0x43c448
push str.FlsSetValue
push 0x22
call fcn.0042a5c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42a851
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4381b0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42d13d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42d1da
push ebx
push esi
call fcn.0042d106
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042a1a5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42d187
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42d1d9
push edi
push eax
call fcn.00428af5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42d1a7
call fcn.004288cb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42d1d8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042a1a5
add esp, 0x20
test eax, eax
jne 0x42d1c6
push edi
call fcn.004288cb
jmp 0x42d1ce
push ebx
call fcn.004288cb
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x42fa24
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004285e0
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42fa93
cmp esi, dword [ebp - 4]
je 0x42fa8e
cmp dword [ebp + 0xc], 0
je 0x42fa8e
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42fa6b
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0042f576
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x42fa95
xor eax, eax
inc eax
jmp 0x42fa95
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x42fafa
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x445080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004285e0
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004285e0
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x42fb71
cmp word [ecx], dx
je 0x42fb71
mov eax, dword [0x43ca94]
push edi
dec eax
push eax
push 0x43c980
call fcn.0042fa99
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x42fbe4
cmp word [eax], dx
je 0x42fbe4
mov eax, dword [edi]
test eax, eax
je 0x42fb95
cmp word [eax], dx
je 0x42fb95
lea eax, [ebp - 0x10]
push eax
call fcn.0042f47c
jmp 0x42fb9e
lea eax, [ebp - 0x10]
push eax
call fcn.0042f517
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x42fc0e
mov eax, dword [0x43c97c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x43c670
call fcn.0042fa99
add esp, 0xc
test al, al
je 0x42fc0e
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x42fbd9
cmp word [eax], di
je 0x42fbd9
lea eax, [ebp - 0x10]
push eax
call fcn.0042f47c
pop ecx
jmp 0x42fc10
lea eax, [ebp - 0x10]
push eax
call fcn.0042f517
jmp 0x42fbd6
mov eax, dword [edi]
test eax, eax
je 0x42fbfb
cmp word [eax], dx
je 0x42fbfb
lea eax, [ebp - 0x10]
push eax
call fcn.0042f431
pop ecx
jmp 0x42fc0e
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x42fcd9
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0042f91e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42fcd9
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x42fcd9
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x42fcd9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42fc66
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0042a957
test ebx, ebx
je 0x42fcd4
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0042a957
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42fcd9
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42fcd9
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00433b7a
add esp, 0x10
xor eax, eax
inc eax
jmp 0x42fcdb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c0e4
leave
ret
Function at 0x435670
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43569d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43569d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rdata
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x88d51b3
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section._RDATA
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x3585531d
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x46a3c7
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x46a3e9
mov eax, 0xfffffffd
jmp 0x46a461
mov ebx, dword [0x776678]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x46a42f
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x776678]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x46a457
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x46a461
mov esp, ebp
pop ebp
ret 4
Function at 0x4dda30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5d287b
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.005c47a7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4ddab2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005c1c0d
mov eax, dword [eax]
push 0x75226c
push eax
call fcn.005b2584
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005c4a32
test bl, bl
je 0x4ddab2
push 0x75226c
lea ecx, [esp + 0xc]
call fcn.005c4e0e
push 0x755e24
lea ecx, [esp + 0xc]
call fcn.005c4e0e
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 0x4ddaee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005c4a32
jmp 0x4ddbb9
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 0x4ddb72
lea edx, [esp + 0x7c]
push 0x755e20
push edx
call fcn.005b2584
add esp, 8
test eax, eax
je 0x4ddb72
lea eax, [esp + 0x7c]
push 0x755e1c
push eax
call fcn.005b2584
add esp, 8
test eax, eax
je 0x4ddb72
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 0x4ddb02
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.005c4a32
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 0x4dee30
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 0x4dee92
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 0x4deea0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5d29db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x771ce8]
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 0x4defd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4def06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005c4a32
xor eax, eax
jmp 0x4df04f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005c4bbb
push esi
lea ecx, [esp + 0xc]
call fcn.005c4e4a
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 0x4df02d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.004dee30
test eax, eax
jne 0x4df02d
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 SysReAllocStringLen
mov ecx, edi
call fcn.004dee30
test eax, eax
jne 0x4df02d
lea eax, [esp + 0x14]
push 0x755e38
push eax
call fcn.005b37a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4df00c
lea ecx, [esp + 0x14]
push 0x755e34
push ecx
call fcn.005b3720
mov esi, eax
add esp, 8
test esi, esi
jne 0x4df00c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4df00f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005c4b6b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4def1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005c4a32
xor eax, eax
jmp 0x4df04f
mov byte [esi], 0
push 0x755e30
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.005c4a32
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