joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1019a910
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101f9740]
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.10190b2f
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.10190b2f
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 0x1019a987
cmp word [ecx], dx
je 0x1019a987
mov eax, dword [0x101d556c]
push edi
dec eax
push eax
push 0x101d5458
call fcn.1019a8af
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1019a9fa
cmp word [eax], dx
je 0x1019a9fa
mov eax, dword [edi]
test eax, eax
je 0x1019a9ab
cmp word [eax], dx
je 0x1019a9ab
lea eax, [ebp - 0x10]
push eax
call fcn.1019a292
jmp 0x1019a9b4
lea eax, [ebp - 0x10]
push eax
call fcn.1019a32d
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1019aa24
mov eax, dword [0x101d5454]
push dword [ebp - 0x14]
dec eax
push eax
push 0x101d5148
call fcn.1019a8af
add esp, 0xc
test al, al
je 0x1019aa24
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1019a9ef
cmp word [eax], di
je 0x1019a9ef
lea eax, [ebp - 0x10]
push eax
call fcn.1019a292
pop ecx
jmp 0x1019aa26
lea eax, [ebp - 0x10]
push eax
call fcn.1019a32d
jmp 0x1019a9ec
mov eax, dword [edi]
test eax, eax
je 0x1019aa11
cmp word [eax], dx
je 0x1019aa11
lea eax, [ebp - 0x10]
push eax
call fcn.1019a247
pop ecx
jmp 0x1019aa24
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 0x1019aaef
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1019a734
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1019aaef
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1019aaef
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1019aaef
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1019aa7c
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10192c89
test ebx, ebx
je 0x1019aaea
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10192c89
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1019aaef
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 0x1019aaef
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1019d2bb
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1019aaf1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10173495
leave
ret
Function at 0x1019e860
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1019e88d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1019e88d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x578130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x121000]
push edi
jmp 0x57814a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x578151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x578140
mov eax, 1
add ebx, ebx
jne 0x578163
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x578174
jne 0x578193
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x578193
dec eax
add ebx, ebx
jne 0x578180
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x578158
add ebx, ebx
jne 0x57818f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5781e5
xor ecx, ecx
sub eax, 3
jb 0x5781ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57821a
sar eax, 1
mov ebp, eax
jmp 0x5781b6
add ebx, ebx
jne 0x5781b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x578184
inc ecx
add ebx, ebx
jne 0x5781c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x578184
add ebx, ebx
jne 0x5781d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5781c6
jne 0x5781e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5781c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x578204
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5781f6
jmp 0x578146
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x578204
add edi, ecx
jmp 0x578146
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x578222
cmp byte [edi], 0x11
jne 0x578222
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x578227
lea edi, [esi + 0x171000]
mov eax, dword [edi]
or eax, eax
je 0x57829f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2171d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x217354]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x578254
mov ecx, edi
jns 0x578283
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x217358]
or eax, eax
je 0x578299
mov dword [ebx], eax
add ebx, 4
jmp 0x578271
call dword [esi + 0x217368]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5782d0
cmp al, 0xef
ja 0x5782c3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5782a5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5782b2
mov ebp, dword [esi + 0x21735c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x578304
sub esp, 0xffffff80
jmp 0x42800a
Function at 0xb18790
Capabilities:
Decompress data using aplib

Disassembly:
call 0xb188e0
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb187b6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb187a2
add dl, dl
jne 0xb187c1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb18814
xor eax, eax
add dl, dl
jne 0xb187ce
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb188b5
add dl, dl
jne 0xb187dd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb187e8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb187f3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb187fe
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb1880a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb187ad
mov eax, 1
add dl, dl
jne 0xb18822
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb1882d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb18819
sub eax, ebx
mov ebx, 1
jne 0xb18860
mov ecx, 1
add dl, dl
jne 0xb18846
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb18851
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb1883d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb187ad
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb18877
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb18882
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb1886e
cmp eax, 0x7d00
jae 0xb188a5
cmp eax, 0x500
jb 0xb188a0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb187ad
cmp eax, 0x7f
ja 0xb188a8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb187ad
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb188d6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb187ad
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100193bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x100193cb
pop dword [ebp - 0x44]
mov eax, 0x100193cb
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x525610f8
add dword [ebp - 0x54], 0xfbfc3453
mov dword [ebp - 0x50], 0xcd953ee6
sub dword [ebp - 0x50], 0x9b61f2a1
mov dword [ebp - 0x4c], 0xd5ccb5d3
add dword [ebp - 0x4c], 0x767f8e5b
mov dword [ebp - 0x48], 0xc656cb7a
sub dword [ebp - 0x48], 0xc656cb7a
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x81969393
add dword [ebp - 0x54], 0xf2dbd5c3
mov dword [ebp - 0x50], 0xa23ef368
add dword [ebp - 0x50], 0x9f2d6e0d
mov dword [ebp - 0x4c], 0xf239b584
add dword [ebp - 0x4c], 0x7135b6e8
mov dword [ebp - 0x48], 0x9139557e
sub dword [ebp - 0x48], 0x9139557e
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x20b14f7f
add eax, 0xef50d0c1
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x38532
push 0
call eax
mov ecx, 0xc2ec2495
sub ecx, 0xc2ebdbb8
xor edx, edx
add edx, eax
mov ebx, 0x2c85820
sub ebx, 0xf2c53c20
add ebx, dword [ebp - 0x44]
mov edi, 0xefcaaee0
add edi, 0x78a04b79
mov dword [ebp - 8], 0xc32c02fd
mov esi, dword [ebx]
xor dword [ebp - 0x30], 0xef244615
xor esi, edi
sub dword [ebp - 0x20], eax
mov dword [edx], esi
sub dword [ebp - 0x3c], edx
add edx, 4
add ebx, 0xd09885d3
add ebx, 0x2f677a31
loop 0x100194e5
add eax, 0x4f1281f
sub eax, 0x4f011d8
xor ebx, ebx
add ebx, eax
add eax, 0x28668471
sub eax, 0x2866846c
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4062ac
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 0x406312
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.004043fc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d8c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4062fc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406319
lea eax, [ebp - 0x10]
call fcn.0040418c
ret

Function at 0x408efc
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.0040464c
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x408f1e
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40bc10
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 0x40bc49
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040427c
jmp 0x40bc52
mov eax, ebx
mov edx, esi
call fcn.004041e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bc5c
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 0x40bc7d
mov al, byte [esp]
jmp 0x40bc7f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4aeb7c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov edi, edx
xor eax, eax
push ebp
push 0x4aeca8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, 0x4aecc0
call fcn.004041e0
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x4b5920]
mov eax, dword [eax]
call fcn.004635d0
mov eax, dword [ebp - 0x14]
call fcn.0040464c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
mov eax, ebx
call fcn.00402774
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4aec86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push ebx
push 0
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402a9c
mov eax, dword [ebp - 0x18]
call fcn.0040464c
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4aecc8
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov esi, dword [ebx + 0xc]
mov dword [ebx + 0x14], esi
push edi
mov eax, dword [ebx + 0x10]
shr eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebx + 0x10]
and eax, 0xffff
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, esi
shr eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
and esi, 0xffff
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x4aecd4
call fcn.0040993c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aec8d
mov eax, dword [ebp - 4]
call fcn.00402794
ret

Function at 0x4b1144
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
push edi
push esi
mov eax, dword [ebx + 0x40]
push eax
call sub.wsock32.dll_recv
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
pop edi
pop esi
pop ebx
ret

Function at 0x4b12bc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea ecx, [ebp - 4]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x34]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
mov eax, dword [ebx + 0x40]
push eax
call sub.wsock32.dll_send
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp eax, 0xffffffff
je 0x4b12f9
add dword [ebx + 0x38], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x4b158c
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov ebx, edx
mov eax, esi
call fcn.0040418c
test ebx, ebx
je 0x4b162d
mov al, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x4b15c8
mov eax, ebx
call fcn.0040464c
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x4b1639
mov eax, esi
mov edx, ebx
call fcn.004041e0
jmp 0x4b1639
mov eax, ebx
call fcn.0040464c
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4b1639
mov ebx, eax
push esi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
xor eax, eax
mov al, byte [edi]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
lea edx, [esp + 4]
mov ecx, 3
mov eax, 0x4b1648
call fcn.0040993c
jmp 0x4b1639
mov eax, esi
mov edx, 0x4b165c
call fcn.004041e0
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x4b2a8c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, 0x4b263c
call fcn.0040650c
xor eax, eax
push ebp
push 0x4b2ba3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b5920]
mov eax, dword [eax]
mov edx, 0x4b2bb8
call fcn.00462b38
mov dl, 1
mov eax, dword [0x4ae974]
call fcn.004aea00
push 0x4b2bc8
push 0xffffffffffffffff
push 0
call fcn.0040671c
mov ebx, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x4b2b1b
mov eax, dword [0x4b5920]
mov eax, dword [eax]
call fcn.00462f28
mov ecx, dword [0x4b55e0]
mov eax, dword [0x4b5920]
mov eax, dword [eax]
mov edx, dword [0x4af20c]
call fcn.00462f40
mov eax, dword [0x4b5920]
mov eax, dword [eax]
call fcn.00462fc0
jmp 0x4b2b81
push 5
push 0
push 0x4b2bd8
lea edx, [ebp - 0x14]
mov eax, dword [0x4b5920]
mov eax, dword [eax]
call fcn.004635d0
mov eax, dword [ebp - 0x14]
call fcn.0040464c
push eax
push 0x4b2be4
mov eax, dword [0x4b5920]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b21dc]
call fcn.00420a20
call fcn.00420de4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b1b04]
call fcn.00420a20
call fcn.00420de4
push 0xbb8
call sub.kernel32.dll_Sleep_1
push ebx
call sub.kernel32.dll_ReleaseMutex
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2baa
lea eax, [ebp - 0x14]
call fcn.0040418c
ret
Function at 0x411270
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a049b
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.00494270
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4112f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00491b9d
mov eax, dword [eax]
push 0x4cd250
push eax
call fcn.00483044
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004944fb
test bl, bl
je 0x4112f2
push 0x4cd250
lea ecx, [esp + 0xc]
call fcn.0049488b
push 0x4d0dc4
lea ecx, [esp + 0xc]
call fcn.0049488b
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 0x41132e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004944fb
jmp 0x4113f9
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 0x4113b2
lea edx, [esp + 0x7c]
push 0x4d0dc0
push edx
call fcn.00483044
add esp, 8
test eax, eax
je 0x4113b2
lea eax, [esp + 0x7c]
push 0x4d0dbc
push eax
call fcn.00483044
add esp, 8
test eax, eax
je 0x4113b2
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 0x411342
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.004944fb
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 0x411c10
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 0x411c72
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 0x411c80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a051b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4df618]
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 0x411db8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411ce6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004944fb
xor eax, eax
jmp 0x411e2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00494638
push esi
lea ecx, [esp + 0xc]
call fcn.004948c7
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 0x411e0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00411c10
test eax, eax
jne 0x411e0d
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 closesocket
mov ecx, edi
call fcn.00411c10
test eax, eax
jne 0x411e0d
lea eax, [esp + 0x14]
push 0x4d0dd8
push eax
call fcn.004841e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x411dec
lea ecx, [esp + 0x14]
push 0x4d0dd4
push ecx
call fcn.00484160
mov esi, eax
add esp, 8
test esi, esi
jne 0x411dec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x411def
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004945e8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x411cfe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004944fb
xor eax, eax
jmp 0x411e2f
mov byte [esi], 0
push 0x4d0dd0
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.004944fb
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