joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4070d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
adc dword [ebx - 0xc], 0xaa283802
dec ebp
xor al, 0x53
add byte [ebx], dh
imul al
mov dh, 0x8b
push ecx
add al, 0x89
inc ebp
dec ebx
lahf
inc ebp
adc byte [edi - 0x32], dl
jne 0x4070db
mov al, byte [eax]
mov dword [ebp - 4], esi
sbb al, al
mov dword [eax], ecx
mov dword [esi], eax
invalid

Function at 0x408c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
adc al, 0xec
push ebx
mov esp, dword [edx + 0xc]
push esi
mov ebp, dword [ebx]
or byte [edi + 0x33], dl
or al, 0x10
mov eax, ebx
or eax, edi
dec ebx
popal
mov ebx, edi
and byte [ebx + 0x300b24aa], cl
je 0x408e63
mov ss, word [esi + 4]
push cs
call fcn.00408c20
xor ah, al
add al, 0x85
ror byte [edi], 0x84
test byte [eax], 0xae
enter 0x5e5f, 0x5b
pop ebp
ret 0x3f0c
push 4
push edx
push 1
push 0x80fffd
push eax
call dword [0x88c1b8]
cmp eax, 0xffffffff
je 0x409065
mov edi, dword [eax]
mov al, byte [0x4623c0d7]
cmp byte [esi + 0xe], ah
or al, 4
mov dword [esi + 0x5d], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
jecxz 0x408ea0
scasb al, byte es:[edi]
and al, 0xfb
mov dword [esi + 0x38], eax
xor eax, eax
pop esi
mov ecx, dword [ebp + ebx*2 - 0x74fff387]
jne 0x408eae
jns 0x408eae
add byte [ebx - 0xc60f78b], cl
mov ecx, dword [esi + 0x38]
lahf
mov ecx, dword [esi + 0x38]
add edx, 0x10
cmp cl, 0xab
cmp edx, dword [edx + eax*8 - 0x7b833dc5]
jne 0x408eb9
invalid
invalid

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x69d75337
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x52017cde
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x233e37bc
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x29423cf7
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4071c8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push edi
mov edi, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esp, edi
pop edi
dec eax
imul eax, dword [ecx]
cmp al, 0x7c
jne 0x40721c
push 1
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
cmp eax, dword [edx + ebp]
je 0x407258
mov eax, 0x407217
lea eax, [edx + eax]
push ebp
push eax
push 0
call sub.KERNEL32.dll_EnumResourceTypesW
push esi
jmp 0x407258
cmc
nop
mov eax, esp
lea eax, [eax + 8]
xchg dword [eax], eax
or eax, 7
lock xchg dword ds:[esp + 0xc], edx
lea eax, es:[eax + 0x603f]
xacquire lock add dword es:[edx - 0x1b4], eax
pop ecx
add esp, 0x10
mov eax, 0
mov dx, cs
push dx
push edx
push ecx
retf
add byte [eax], al
add byte [eax], al
je 0x4072c4
aas
inc eax
add byte [edi], dh
cmp al, 0xf8
and esi, dword [esi + 0x1e]
stosd dword es:[edi], eax
cwde
aaa
in eax, 0xdb
xchg edi, eax
dec esi
xchg byte [eax], al
mov esp, dword [esi]
out 0xd3, al
jbe 0x4072c0
retf
push es
add byte [eax], ch
dec edi
pop edi
add edi, edx
aas
stosd dword es:[edi], eax
jb 0x40724f
invalid
cli
mov esi, 0x35a56e9e
sti
arpl word [ecx + 0x4d], cx
outsb dx, byte [esi]
movsd dword es:[edi], dword [esi]
xor eax, 0x4d4963fb
je 0x4072b6
and ecx, esi
mov ebx, 0x5e8e7579
int3
Function at 0x40da31
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp]
nop
jmp 0x40e8ff
sub eax, dword [ebp + 0x24]
stc
Function at 0x4c8cd2
Capabilities:
Check for software breakpoints

Disassembly:
cmp byte [edi], 0x23
call fcn.004ee97f
rcr bh, cl
shl bl, 5
test bx, sp
mov ebx, eax
test dx, di
cmp byte [edi], 0x23
pushal
pushfd
lea esp, [esp + 0x24]
jne 0x4c95c8
not al
mov ah, bl
cwde
inc ah
xor edx, edx
cmp bh, 0xcc
daa
clc
sar ax, cl
mov eax, edx
sete al
add edi, 1
push edi
and al, dh
cmp edx, esi
mov al, byte [edi]
push dword [esp]
pushfd
test al, al
push ebp
call fcn.004ee67e

Function at 0x51948a
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
pushfd
pushal
inc ecx
lea esp, [esp + 0x24]
cmc
jmp 0x49e759

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x44f44d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x44f44d
lcall 0x5de5, 0x8b10c483
jmp loc.0096a828
Function at 0x409a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x409a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409a38
mov eax, 1
add ebx, ebx
jne 0x409a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409a50
jne 0x409a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409a50
xor ecx, ecx
sub eax, 3
jb 0x409a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409af2
mov ebp, eax
add ebx, ebx
jne 0x409a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x409a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x409abc
inc ecx
add ebx, ebx
jne 0x409aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x409a9d
jne 0x409ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409acd
jmp 0x409a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409adc
add edi, ecx
jmp 0x409a3e
pop esi
mov edi, esi
mov ecx, 0x1f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x409afa
cmp byte [edi], 0
jne 0x409afa
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 0x409aff
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x409b6e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb1f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb244]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409b2c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb24c]
or eax, eax
je 0x409b68
mov dword [ebx], eax
add ebx, 4
jmp 0x409b49
call dword [esi + 0xb248]
mov ebp, dword [esi + 0xb250]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x409ba2
sub esp, 0xffffff80
jmp 0x401d10
Function at 0x643dc3
Capabilities:
Encode data using xor

Disassembly:
push ebp
adc eax, 0x1daf5488
popfd
call 0xc1a08fcd
xchg ebx, eax
cdq
pop esi
stosb byte es:[edi], al
mov cl, 0x39
push ecx
pop ds
pop es
jp 0x643df9
ljmp 0xdc13:0x934dfd6e
add bl, byte [bp + 0x3b31]
xor dword [ebx], edi
jae 0x643d66
xchg edx, eax
xchg ebp, eax
pushal
js 0x643dc6
sub dword [edx + 0x18], edx
adc cl, cl
cmp byte [ebx + 0x73], dl
mov ecx, 0xf9d399c3
scasd eax, dword es:[edi]
mov ch, 0x3b
and bl, dh
cmp eax, 0x3723e513
mov esi, 0x6459922d
int3
sub edx, dword [eax]
mov ebp, 0xa15dfd61
cmpsd dword [esi], dword es:[edi]
cmp edx, dword [edi - 0x5ec61eee]
inc esp
pushal
inc ebp
jne 0x643e75
jmp 0x66fe20da
test eax, 0xb46684dd
push eax
iretd
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x6d8d008], 0x8088405
inc edx
mov dword [ebx + 0x6d8d008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cd18
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cd49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd31
add dl, dl
jne 0x41cd54
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cda5
xor eax, eax
add dl, dl
jne 0x41cd61
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ce42
add dl, dl
jne 0x41cd70
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cd7b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cd86
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cd91
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cd9b
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cd40
mov eax, 1
add dl, dl
jne 0x41cdb3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdbe
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdaa
sub eax, ebx
mov ebx, 1
jne 0x41cdf1
mov ecx, 1
add dl, dl
jne 0x41cdd7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cde2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdce
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd40
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41ce08
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce13
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdff
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd40
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ce63
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 0x41cd40
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e558
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6d75a17
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e609
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e5f2
test esi, esi
jbe 0x41e609
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088e4
test eax, eax
jne 0x41e5e4
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e609
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e5c1
jmp 0x41e609
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e609
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d75a1e
ret
Function at 0x41ee60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x6d7640f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41ee9b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41eeb4
lea eax, [ebp - 0x10]
mov edx, dword [0x6d8f268]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41eec7
lea eax, [ebp - 0x10]
mov edx, dword [0x6d8f268]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41eed3
adc edx, 0
mov edx, dword [edx*4 + 0x6d8e0e8]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41efe1
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d74
test eax, eax
je 0x41efd4
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41efd4
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dd4
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d74
test eax, eax
je 0x41efd4
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41efd4
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41efd4
cmp dx, 0x150
ja 0x41efd4
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d74
test eax, eax
je 0x41efd4
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41efd4
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41eff9
inc ebx
cmp ebx, 0x19
jne 0x41ee8d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d76416
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x401020
Capabilities:
Resolve dns

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
jge 0x401044
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x40103d
pop esi
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop esi
ret

Function at 0x401050
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40106e
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4010af
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x401490
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
push str.Program_FilesInternet_Exploreriexplore.exe
push ecx
mov byte [esp + 0xa], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x108]
lea edx, [esp]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
add esp, 0x104
ret

Function at 0x401890
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.00401730
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x4018d8
push ebx
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
add bl, 0x85
mov byte [ecx + edx], bl
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
xor bl, 0xc8
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x4018b2
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret
mov eax, dword [esp]
pop ecx
ret
Function at 0x401930
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
xor edi, edi
cmp dword [esi + 0x118], edi
jne 0x40194e
cmp dword [0x404054], edi
je case.default.0x401961
mov dword [0x404054], edi
mov eax, dword [esi + 4]
dec eax
cmp eax, 4
ja case.default.0x401961
jmp dword [eax*4 + 0x401ae4]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x4018e0
push edi
push edi
call ebx
cmp dword [esi + 0x8c], edi
jle case.default.0x401961
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push 0x4010c0
push 0
push 0
call ebx
push eax
call ebp
push str.TCP1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x8c]
inc edi
cmp edi, eax
jl 0x40198c
pop edi
pop esi
pop ebp
pop ebx
ret
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x4018e0
push edi
push edi
call ebx
cmp dword [esi + 0x8c], edi
jle case.default.0x401961
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push 0x4010c0
push 0
push 0
call ebx
push eax
call ebp
push str.TCP2
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x8c]
inc edi
cmp edi, eax
jl 0x4019de
pop edi
pop esi
pop ebp
pop ebx
ret
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x4018e0
push edi
push edi
call ebx
cmp dword [esi + 0x8c], edi
jle case.default.0x401961
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push 0x4010c0
push 0
push 0
call ebx
push eax
call ebp
push str.TCP2
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x8c]
inc edi
cmp edi, eax
jl 0x401a30
pop edi
pop esi
pop ebp
pop ebx
ret
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x4018e0
push edi
push edi
call ebx
cmp dword [esi + 0x8c], edi
jle case.default.0x401961
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push 0x4011a0
push 0
push 0
call ebx
push eax
call ebp
mov eax, dword [esi + 0x8c]
inc edi
cmp edi, eax
jl 0x401a7e
pop edi
pop esi
pop ebp
pop ebx
ret
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push esi
push 0x4018e0
push edi
push edi
call ebx
cmp dword [esi + 0x8c], edi
jle case.default.0x401961
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push 0x4014e0
push 0
push 0
call ebx
push eax
call ebp
mov eax, dword [esi + 0x8c]
inc edi
cmp edi, eax
jl 0x401ac1
pop edi
pop esi
pop ebp
pop ebx
ret