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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1005b080]
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.1003775c
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.1003775c
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 0x10043394
cmp word [ecx], dx
je 0x10043394
mov eax, dword [0x100513a4]
push edi
dec eax
push eax
push 0x10051290
call fcn.100432bc
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10043407
cmp word [eax], dx
je 0x10043407
mov eax, dword [edi]
test eax, eax
je 0x100433b8
cmp word [eax], dx
je 0x100433b8
lea eax, [ebp - 0x10]
push eax
call fcn.10042c9f
jmp 0x100433c1
lea eax, [ebp - 0x10]
push eax
call fcn.10042d3a
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10043431
mov eax, dword [0x1005128c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10050f80
call fcn.100432bc
add esp, 0xc
test al, al
je 0x10043431
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100433fc
cmp word [eax], di
je 0x100433fc
lea eax, [ebp - 0x10]
push eax
call fcn.10042c9f
pop ecx
jmp 0x10043433
lea eax, [ebp - 0x10]
push eax
call fcn.10042d3a
jmp 0x100433f9
mov eax, dword [edi]
test eax, eax
je 0x1004341e
cmp word [eax], dx
je 0x1004341e
lea eax, [ebp - 0x10]
push eax
call fcn.10042c54
pop ecx
jmp 0x10043431
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 0x100434fc
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10043141
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100434fc
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100434fc
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100434fc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10043489
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10039c42
test ebx, ebx
je 0x100434f7
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10039c42
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100434fc
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 0x100434fc
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10047291
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100434fe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002680a
leave
ret
Function at 0x100474b1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1004742d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10047620
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10047620
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100475d5
jg 0x1004750d
test eax, eax
je 0x100475cb
push 1
push 0x1000
call fcn.100394d8
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10047530
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100475c2
push 0x8000
push ebx
call fcn.1004735e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10047559
jg 0x10047554
cmp ecx, 0x1000
jb 0x10047559
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1003c605
add esp, 0x10
cmp eax, 0xffffffff
je 0x1004759e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10047554
jl 0x10047585
test ecx, ecx
jne 0x10047546
push dword [ebp - 0xc]
push ebx
call fcn.1004735e
push esi
call fcn.10039535
add esp, 0xc
xor ebx, ebx
jmp 0x1004762e
cmp byte [edi + 0x24], 0
je 0x100475b5
cmp dword [edi + 0x20], 5
jne 0x100475b5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100475c0
mov ebx, dword [edi + 0x18]
jmp 0x100475c2
xor ebx, ebx
push esi
call fcn.10039535
pop ecx
jmp 0x1004762e
test ecx, ecx
jg 0x10047597
jl 0x100475d5
test eax, eax
jae 0x10047597
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1003ca27
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100475f5
cmp byte [edi + 0x1c], 0
je 0x10047597
jmp 0x10047626
push ebx
call fcn.10044647
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10047597
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1004762e
cmp byte [edi + 0x1c], 0
je 0x1004762b
mov ebx, dword [edi + 0x18]
jmp 0x1004762e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1003ca27
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100492e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1004930d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1004930d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x6771cf
Capabilities:
Check for software breakpoints

Disassembly:
add al, 0xdd
mov byte [esp + 0x10], bh
xor al, 0x97
clc
clc
mov byte [esp + 4], ch
sub al, 0xbb
mov byte [esp], 0xfe
mov word [esp + 4], 0x13c4
lea esp, [esp + 0x54]
jbe 0x67942a
call fcn.0067722b
pushal
mov word [esp + 4], bp
mov byte [esp], 0xb9
stc
cmp eax, 0x7d00
mov word [esp + 4], 0xc7d2
call fcn.006aa81a
call fcn.0067722b
test eax, 0xd141b78c
cmc
cmc
clc
cmp eax, 0x7d00
jle 0x6b9cee
pushfd
lea esp, [esp + 4]
jae 0x6799dc
pushfd
cmp ah, 5
push 0x20589942
push esp
push 0xcb6a3b40
call fcn.0067cdb9
ja 0x677451
sub al, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
or eax, 0xcb0027cf
jle 0x67745b
add byte [edi + 0x2a2e], bh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], ah
wait
sub eax, dword [eax]
adc edi, dword [edi + 0x27]
add byte [ebx + 0x2f], ch
sub al, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
and bl, byte [ebx + 0x7fbf002b]
daa
add byte [edi + 0x2f], bh
sub al, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
cdq
mov byte [0x7fd3002b], al
daa
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx - 0x7bf0fb3c], al
add esp, 4
invalid
test ah, ch
sti
invalid
call fcn.006aa8c4
jmp 0x6773ea
jae 0x6799dc
stc
clc
cmp ah, 5
pushfd
push 0xaecf6135
pushfd
pushfd
lea esp, [esp + 0x10]
jae 0x6799df
clc
cmp eax, 0x7f
jmp 0x6793e6
jmp 0x679496

Function at 0x678469
Capabilities:
Check for software breakpoints

Disassembly:
sub edi, 4
test esp, 0x347c7ef5
mov byte [esp], dh
mov byte [esp], bh
push dword [edi]
pop dword [esp]
bt esi, ebp
clc
cmp edi, ebx
pushfd
lea esp, [esp + 4]
ja 0x67924b
rcl al, 1
cmp dh, 0xcb
sub ebx, edi
jmp 0x6796d4
bsf edi, ebx
bt cx, bx
add ebx, esp
rol di, 0xd
shl al, cl
mov al, 0xff
cmp dx, ax
mov edi, ebx
js 0x67cfd8
ror al, 4
stc
mov al, 0x2e
stc
repne scasb al, byte es:[edi]
call fcn.0067c3da

Function at 0x679742
Capabilities:
Check for software breakpoints

Disassembly:
lea esp, [esp + 0x2c]
jl 0x6b943c
pushal
lea esp, [esp + 0x20]
ja 0x67924b
and al, ah
rol al, 5
sar al, 2
not al
sub ebx, edi
and al, 0xfe
add ebx, esp
rol di, 9
rcl di, 6
shld edi, edi, cl
mov edi, ebx
pushfd
lea esp, [esp + 0x24]
pushal
lea esp, [esp + 0x24]
ja 0x67924b
adc al, 0xff
sub ebx, edi
bts di, sp
shld di, dx, 0xa
add ebx, esp
clc
cmp bx, 0x476c
mov edi, ebx
xor al, cl
pushal
setne al
neg al
mov al, 0x2e
stc
stc
repne scasb al, byte es:[edi]
jmp 0x67c5cd
pushfd
jmp 0x67d2f0
Function at 0x67c53d
Capabilities:
Check for software breakpoints

Disassembly:
pushfd
lea esp, [esp + 0x48]
ja 0x67924b
not al
rcl al, cl
inc al
add al, cl
sub ebx, edi
btc di, 3
add ebx, esp
shr al, 6
sbb al, dl
mov edi, ebx
mov al, ah
mov al, 0x2e
push 0xe902f3f8
pushfd
repne scasb al, byte es:[edi]
call fcn.006ba2d2
push 0xf3c1ff53
call fcn.006bbca1
xchg edi, eax
sahf
pushfd
push ebp
adc byte [eax + 0x7c5f19d9], dl
cmp eax, 0x13206fd7
wait
sbb edi, 0x58121fac
shr edx, 1
stc
mov ebp, 0x7a7fa2ec
inc dword [edx + edi*2 - 0x43]
js 0x67c5d2
insd dword es:[edi], dx
cmc
and al, 0xd
hlt
jne 0x6b9e32
push 0xdaf4822c
mov byte [edi - 1], 0
pushal
mov ah, dh
pop eax
lea eax, [ebx + 0x52fd8c9e]
mov dword [esp + 0x1c], ebx
setle al
movsx ax, dl
push dword [esp]
pushfd
lea eax, [0x6a2d4c]
jmp 0x6aa807
call fcn.0067e107
call fcn.006b7ad7
mov byte [edi - 1], 0
call fcn.0067966c

Function at 0x67c9ce
Capabilities:
Encode data using xor

Disassembly:
test ah, 0x4a
cmp byte [edi], 0x23
pushfd
push dword [esp]
call fcn.006a2e30
cmp dword [ecx + 0xe8165bb], edi
sub byte [ebx - 0x4b], bh
lahf
sahf
pushal
push eax
mov al, 0xeb
out 0xac, al
clc
cmp byte [ebp - 0x541c4fa8], cl
mov esp, 0x323dc07b
xor al, 0xf9
mov dh, 0xb3
jo 0x67c9d5
sbb dh, dh
wait
js 0x67ca82
inc esp
int3
mov edi, 0x11a2718a
cmp byte [esi + 0x71], dh
adc dword [eax], edi
jbe 0x67cafb
xchg esp, eax
xor dword [ecx], edx
or al, 0xd2
mov eax, 0xb61b7d1e
adc esi, dword [ebx - 0x3e994770]
out dx, al
pcmpgtd mm2, qword [esi - 0x74600177]
inc edx
or al, 0x80
stc
sub byte [ecx], al
fsubr st(1)
jle 0x67ca86
invalid
add al, 0x1f
sbb bh, cl
out 0x24, eax
ret 0xf1be

Function at 0x67d13c
Capabilities:
Check for software breakpoints

Disassembly:
cmc
cmp edi, ebx
mov word [esp], ax
lea esp, [esp + 0x24]
ja 0x67924b
xor al, al
call fcn.0067c402
mov al, 0x79
jl 0x67d1cb
mov dh, 0xf0
mov dl, 0xf1
mov esi, 0xfe1d1366
aam 0x6c
and ecx, dword [ebx]
sbb eax, 0xe9b0b788
insb byte es:[edi], dx
inc esp
jns 0x67d174
bound ebx, qword [ebx - 0x7f]
test al, 0x1b
xor bh, byte [edx]
cld
sub dword [eax - 0x3c5cde5], 0xb65cf87c
pop ds
cmp bh, ah
jl 0x67d170
pop esp
mov dh, 0x1f
test byte [ecx - 0x44e423c4], bl
xchg edx, eax
inc edx
sbb edi, dword [ebx + 0x1f3776cb]
cmp byte [esi], cl
cmp bl, byte [esp + ebx*4 - 0x2088c121]
wait
pop ebp
sub dword [esi - 0x76], esp
dec esp
shr byte [ecx - 0x7b53a0ed], 0xc8
xor bl, ch
mov dword [0xe40dd193], eax
and al, 0x44
loopne 0x67d1dd
jnp 0x67d1b4
fnop
int3
mov dh, 0x7d
int 4
call 0xf866fdc7
invalid
daa
add byte [ecx + 0x59], dl
nop dword es:[ebx - 0x6dbdc02c]
sbb eax, 0x423fd493
xchg edx, eax
mov eax, dword [0xf6f1fc7]
push ss
cmp al, 0x37
insd dword es:[edi], dx
test dword [ebp - 0x4d], esi
or ecx, dword [esp]
popfd
jnp 0x67d1d1
cmp byte [edx + 0x19], bl
cmp dword [edx], ebp
mov byte [0x18deb8be], al
out 0xc8, al
xor dh, dh
dec esi
jae 0x67d17b
sub byte [eax + 0x30], 0xf2
jnp 0x67d25e
push ds
hlt
Function at 0x67d84d
Capabilities:
Check for software breakpoints

Disassembly:
pushal
mov byte [esp], cl
lea esp, [esp + 0x44]
ja 0x67924b
xor al, ch
jp 0x6aa4d0
pushal
sub al, 0xb0
sub ebx, edi
sete al
btc di, 0xa
inc di
add esp, 0x20
add ebx, esp
clc
btr di, 4
mov edi, ebx
cmp dl, cl
ror al, 1
bt esp, 3
add al, 0x27
mov al, 0x2e
cmc
repne scasb al, byte es:[edi]
pushal
lea esp, [esp + 0x20]
jne 0x6b9e32
jmp 0x6b9848
call 0x67de55
mov byte [edi - 1], 0

Function at 0x6aaaff
Capabilities:
Check for software breakpoints

Disassembly:
jmp 0x677238
pushal
push dword [esp + 4]
lea esp, [esp + 0x28]
jb 0x67a023
jmp 0x678277
Function at 0x5971d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x133000]
push edi
or ebp, 0xffffffff
jmp 0x5971f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5971f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5971e8
mov eax, 1
add ebx, ebx
jne 0x59720b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x59721c
jne 0x59723b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59723b
dec eax
add ebx, ebx
jne 0x597228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x597200
add ebx, ebx
jne 0x597237
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x59728d
xor ecx, ecx
sub eax, 3
jb 0x597253
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5972c2
sar eax, 1
mov ebp, eax
jmp 0x59725e
add ebx, ebx
jne 0x59725e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59722c
inc ecx
add ebx, ebx
jne 0x59726c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59722c
add ebx, ebx
jne 0x597279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x59726e
jne 0x59728a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59726e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5972ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x59729e
jmp 0x5971ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5972ac
add edi, ecx
jmp 0x5971ee
pop esi
mov edi, esi
mov ecx, 0x45c0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5972ca
cmp byte [edi], 0x2a
jne 0x5972ca
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 0x5972cf
lea edi, [esi + 0x194000]
mov eax, dword [edi]
or eax, eax
je 0x59733e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19e8a8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19e998]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5972fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19e99c]
or eax, eax
je 0x597338
mov dword [ebx], eax
add ebx, 4
jmp 0x597319
call dword [esi + 0x19e9ac]
mov ebp, dword [esi + 0x19e9a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x597372
sub esp, 0xffffff80
jmp 0x4bf92c
Function at 0x40a8fc
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 0x40a935
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404504
jmp 0x40a93e
mov eax, ebx
mov edx, esi
call fcn.00404468
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a948
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 0x40a969
mov al, byte [esp]
jmp 0x40a96b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40aff0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ae68
mov eax, dword [0x457f84]
cmp byte [eax], 0
je 0x40b058
mov eax, dword [0x457dc0]
call fcn.00402e3c
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408aec
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40b0a0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b08e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x457d7c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x459718]
call fcn.00405b30
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 0x40bd9c
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 0x40be00
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.0040467c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004087e4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be07
lea eax, [ebp - 0xc]
call fcn.00404414
ret
Function at 0x41d9f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x459a24
cmp dword [edi], 0
jne 0x41da6c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x459a20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4574f8
mov ecx, 2
call fcn.004028d4
mov edx, 0x41d9c8
lea eax, [esi + 5]
call fcn.0041d9e8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d9e8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41da41
mov dword [0x459a20], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41ef48
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41ef4e
ret

Function at 0x4214b4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x421505
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4214ec
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4214dc
jmp 0x421505
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4214ed
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402400
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x404b21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x38]
call sub.MFC42.DLL_CString::CString_2
xor edi, edi
lea ecx, [esi + 0x3c]
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString_2
push 0x801
mov byte [esp + 0x20], 2
mov dword [esi], 0x405340
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0x4e20
mov dword [esi + 0xc], 0x800
call sub.MFC42.DLL_operatornew
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
add esp, 4
mov dword [esi + 0x34], eax
mov dword [esi + 0x40], edi
push str.Waiting_for_POP3_Server_Respond
push edi
push 1
push edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esi + 4], eax
call ebp
push str.Waiting_Thread_Exit
push edi
push 1
push edi
call ebx
push eax
mov dword [esi + 8], eax
call ebp
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x402d60
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x404beb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x118], 0
test eax, eax
jne 0x402ddf
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Socket_not_Create_
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00402590
lea ecx, [esp + 8]
mov dword [esp + 0x118], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x114
ret
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x402e2b
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Not_Connected_
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00402590
lea ecx, [esp + 8]
mov dword [esp + 0x118], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x114
ret
lea eax, [esp + 0x10]
push str.quit_r_n
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x24]
push 0
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x402e7f
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Socket_error_
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00402590
xor edi, edi
jmp 0x402e84
mov edi, 1
lea ecx, [esp + 8]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esp + 0x118], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x110]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x114
ret