joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10021d1c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x10]
call fcn.10001d04
mov al, byte [ebp + 8]
and dword [esi + 4], 0
mov byte [esi + 0x1d8c], al
movzx eax, al
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1a4]
cmp eax, 0xffffffff
je 0x10021e16
push 4
lea ecx, [ebp - 4]
push ecx
push 8
mov edi, 0xffff
push edi
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x10021d9f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 8
push edi
push dword [esi + 0x1a4]
mov dword [ebp + 8], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
mov al, byte [ebp - 4]
mov byte [esi + 0x1d8c], al
mov eax, dword [ebp - 8]
jmp 0x10021e18
mov dl, byte [esi + 0x1d8c]
test dl, dl
je 0x10021e16
mov eax, dword [esi + 0x1d90]
xor ecx, ecx
cmp eax, ecx
jne 0x10021dbd
cmp dword [esi + 0x1d94], ecx
je 0x10021e16
movzx edx, dl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
cmp eax, ecx
jne 0x10021dd1
mov dword [ebp - 0x10], 0x6ddd00
mov eax, dword [esi + 0x1d94]
mov dword [ebp - 0xc], eax
cmp eax, ecx
jne 0x10021de5
mov dword [ebp - 0xc], 0x3e8
push 0xc
pop eax
push ecx
push ecx
lea edx, [ebp + 8]
push edx
push ecx
push ecx
push eax
mov dword [ebp + 8], eax
lea eax, [ebp - 0x14]
push eax
push 0x98000004
push dword [esi + 0x1a4]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x10021e16
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x10021e18
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x1002231d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x64]
xor ebx, ebx
push edi
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x2f
mov byte [ebp - 0xa], 0x22
mov byte [ebp - 9], 0x3a
mov byte [ebp - 8], 0x3f
mov byte [ebp - 7], 0x2a
mov byte [ebp - 6], 0x3c
mov byte [ebp - 5], 0x3e
mov byte [ebp - 4], 0x7c
mov edi, eax
cmp eax, ebx
jne 0x1002235a
mov edi, esi
cmp dword [esi + 0x68], ebx
jle 0x1002238b
mov dl, byte [edi]
test dl, dl
jl 0x1002236a
cmp dl, 0x1f
jle 0x10022381
lea eax, [ebp - 0xc]
mov cl, 0x5c
cmp cl, dl
je 0x1002237a
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x1002236f
movsx eax, byte [eax]
test eax, eax
je 0x10022384
mov byte [edi], 0x5f
inc ebx
inc edi
cmp ebx, dword [esi + 0x68]
jl 0x1002235f
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x100259b5
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
and dword [ebp - 0xc], 0
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x70]
mov dword [esi + 0x10], 1
call fcn.10001d04
push dword [ebp + 8]
mov ecx, esi
call fcn.10025930
lea eax, [esi + 0x14]
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x100259e9
mov eax, ecx
mov ebx, dword [ebp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push ebx
push dword [esi + 0x10]
lea edx, [esi + 4]
push eax
push dword [ebp + 0xc]
push edx
call edi
test eax, eax
je 0x10025a15
lea ecx, [ebp - 0x70]
call fcn.10001d04
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0x14], 0
je 0x10025a59
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x10025a59
lea eax, [esi + 0x14]
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x10025a34
mov eax, ecx
mov ecx, ebx
or ecx, 8
push ecx
push dword [esi + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [esi + 4]
push eax
call edi
test eax, eax
je 0x10025a59
xor esi, esi
lea ecx, [ebp - 0x70]
call fcn.10001d04
mov eax, esi
jmp 0x10025a0e
test bl, 0x20
je 0x10025a65
mov esi, 0xdd
jmp 0x10025a4d
push dword [ebp + 0x14]
or ebx, 0x20
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.100259b5
mov esi, eax
jmp 0x10025a4d

Function at 0x10029e69
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 0x10]
call fcn.10001d04
mov ebx, dword [esp + 0xc]
and dword [esi + 4], 0
push ebx
lea ecx, [esi + 0x18a8]
call fcn.10002759
test eax, eax
je 0x10029e97
mov eax, 0xc8
jmp 0x10029f5f
cmp byte [esi + 0x1c20], 0
je 0x10029ea7
xor eax, eax
jmp 0x10029f5f
cmp dword [esi + 0x1a4], 0xffffffff
je 0x10029ec4
push str.You_cannot_change_the_RemoteHost_at_this_time._A_connection_is_in_progress.
mov ecx, esi
call fcn.100029c8
push 0x65
pop eax
jmp 0x10029f5f
push ebp
push edi
push 0x1c
lea ebp, [esi + 0x1918]
push 0
push ebp
call fcn.1003e4bd
add esp, 0xc
push 0x17
pop eax
lea edi, [esi + 0x18a4]
mov word [ebp], ax
and dword [edi], 0
test ebx, ebx
je 0x10029f5b
cmp byte [ebx], 0
je 0x10029f5b
cmp byte [esi + 0x210], 0
je 0x10029f0a
push 1
push 0
push ebp
push ebx
mov ecx, esi
call fcn.10029978
jmp 0x10029f5d
call dword [sym.imp.WS2_32.dll_WSAIsBlocking]
test eax, eax
je 0x10029f1a
call dword [sym.imp.WS2_32.dll_WSACancelBlockingCall]
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x10029f5b
and dword [edi], 0
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x10029f4b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub eax, 0x276d
neg eax
sbb eax, eax
and eax, ecx
jmp 0x10029f5d
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
push edi
call fcn.1003e4ed
add esp, 0xc
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
ret 4
Function at 0x1002c72a
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov ebx, ecx
push dword [ebp + 8]
call fcn.1002587d
lea esi, [ebp - 0xbc]
lea edi, [ebp - 0xfc]
sub esi, ebx
mov ecx, ebx
sub edi, ebx
mov dword [ebp + 0xc], 0x40
mov al, byte [ecx]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [esi + ecx], dl
mov byte [edi + ecx], al
inc ecx
dec dword [ebp + 0xc]
jne 0x1002c75c
lea ecx, [ebp - 0x7c]
call fcn.10008144
push 0x40
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x7c]
call fcn.1001d041
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
test edi, edi
je 0x1002c7bf
test esi, esi
je 0x1002c7a4
push esi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x7c]
call fcn.1001d041
test edi, edi
jle 0x1002c7bf
mov dword [ebp + 0xc], edi
push 1
push 0x1003f364
lea ecx, [ebp - 0x7c]
call fcn.1001d041
dec dword [ebp + 0xc]
jne 0x1002c7ab
mov eax, dword [ebp + 0x14]
sub eax, esi
sub eax, edi
push eax
mov eax, dword [ebp + 0x10]
add eax, esi
add eax, edi
push eax
lea ecx, [ebp - 0x7c]
call fcn.1001d041
push 0x10
lea ecx, [ebp - 0x7c]
call fcn.1001d0e2
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1003e4ed
add esp, 0xc
lea ecx, [ebp - 0x7c]
call fcn.10008144
push 0x40
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x7c]
call fcn.1001d041
push 0x10
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x7c]
call fcn.1001d041
push 0x10
lea ecx, [ebp - 0x7c]
lea esi, [ebx + 0x40]
call fcn.1001d0e2
push eax
push esi
call fcn.1003e4ed
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x18

Function at 0x1002cee8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xc]
cmp eax, dword [0x1004db1c]
jne 0x1002cefc
pop ebp
jmp fcn.10026a3d
cmp eax, dword [0x1004da84]
jne 0x1002cf0a
pop ebp
jmp fcn.10026b3d
cmp eax, dword [0x1004dbb4]
jne 0x1002cf2f
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x1002cf29
cmp eax, dword [ecx + 8]
je 0x1002cf29
cmp eax, 8
jne 0x1002cf4b
pop ebp
jmp fcn.10026f1d
pop ebp
jmp fcn.10026dab
cmp eax, dword [0x1004e748]
jne 0x1002cf3d
pop ebp
jmp fcn.1002706f
cmp eax, dword [0x1004e74c]
jne 0x1002cf4b
pop ebp
jmp fcn.1002724c
mov eax, 0x7d2
pop ebp
ret 0x10
Function at 0x1002f080
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.WS2_32.dll_WSAIsBlocking]
test eax, eax
je 0x1002f09e
call dword [sym.imp.WS2_32.dll_WSACancelBlockingCall]
mov eax, dword [ebx]
mov esi, 0x18a8
add eax, esi
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x1002f0b0
mov eax, ecx
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, dword [ebp + 8]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x1002f104
and dword [edi], 0
mov eax, dword [ebx]
add eax, esi
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x1002f0d1
mov eax, ecx
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x1002f0f4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea eax, [ebp - 0x98]
push eax
mov ecx, ebx
call fcn.1002f042
xor eax, eax
jmp 0x1002f107
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
push edi
call fcn.1003e4ed
add esp, 0xc
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10034e14
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x84
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x120], ebx
je 0x10034f36
push 0x7f
lea eax, [ebp - 0x13]
push ebx
push eax
mov byte [ebp - 0x14], bl
call fcn.1003e4bd
push 0x80
lea eax, [esi + 0x124]
push ebx
push eax
call fcn.1003e4bd
add esp, 0x18
mov ecx, esi
call fcn.10013282
mov edx, dword [esi + 0x6c]
cmp edx, eax
mov dword [ebp + 0x6c], eax
jle 0x10034ebb
lea eax, [esi + 4]
mov ecx, dword [eax + 0x64]
cmp ecx, ebx
je 0x10034e73
mov eax, ecx
push edx
lea edi, [esi + 0x74]
push eax
mov ecx, edi
call fcn.1002d402
cmp eax, ebx
jne 0x10034f44
mov ecx, edi
call fcn.1002d57e
cmp eax, ebx
jne 0x10034f44
mov ecx, dword [esi + 0xe0]
lea edi, [esi + 0x78]
mov eax, dword [edi + 0x64]
cmp eax, ebx
jne 0x10034ea8
mov eax, edi
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1003e4ed
mov ecx, dword [esi + 0xe0]
jmp 0x10034ed5
lea edi, [esi + 4]
mov eax, dword [edi + 0x64]
cmp eax, ebx
jne 0x10034ec7
mov eax, edi
push edx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1003e4ed
mov ecx, dword [esi + 0x6c]
mov eax, dword [edi + 0x64]
add esp, 0xc
cmp eax, ebx
jne 0x10034ee1
mov eax, edi
push ecx
push eax
lea eax, [esi + 0x124]
push eax
call fcn.1003e4ed
add esp, 0xc
xor eax, eax
cmp dword [ebp + 0x6c], ebx
jle 0x10034f0e
xor byte [ebp + eax - 0x14], 0x36
lea ecx, [esi + eax + 0x124]
xor byte [ecx], 0x5c
inc eax
cmp eax, dword [ebp + 0x6c]
jl 0x10034ef9
push dword [esi]
lea edi, [esi + 0x74]
mov ecx, edi
call fcn.10034b06
cmp eax, ebx
jne 0x10034f44
push dword [ebp + 0x6c]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.1002d402
cmp eax, ebx
jne 0x10034f44
mov dword [esi + 0x120], ebx
push dword [ebp + 0x7c]
lea ecx, [esi + 0x74]
push dword [ebp + 0x78]
call fcn.1002d402
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8
Function at 0x100360bd
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
lea esi, [edi + 0x29fc]
mov ecx, esi
mov dword [ebp - 8], 0x1003f360
call fcn.10002759
push 0x5c
mov ecx, esi
call fcn.1001c15b
push 0
push 1
lea eax, [ebp + 8]
push eax
mov ecx, esi
mov byte [ebp + 8], 0x5c
call fcn.10001ee6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea eax, [ebp - 0x3c]
push str._ul__ul0.queued
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.10001f35
mov ebx, eax
test ebx, ebx
jne 0x100361b4
mov bl, 0x61
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x10036139
mov eax, esi
push eax
lea ecx, [ebp - 8]
call fcn.1001cdc3
test eax, eax
je 0x10036160
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x1003614f
mov eax, esi
mov ecx, dword [edi + 0x2a64]
mov byte [ecx + eax - 8], bl
inc bl
cmp bl, 0x7a
jle 0x10036130
cmp dword [ebp - 4], 0xffffffff
jne 0x10036190
lea eax, [edi + 0x10]
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x10036172
mov eax, ecx
push 0x1003f364
push 0x1004a658
push eax
push str.Cant_open_queue_file__
mov ecx, edi
call fcn.1001cbd9
mov ebx, 0x12e
jmp 0x100361b4
lea eax, [ebp - 8]
push eax
push str.MAIL
mov ecx, edi
call fcn.10035c45
mov ebx, eax
test ebx, ebx
jne 0x100361b4
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x100361af
mov eax, esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea ecx, [ebp - 8]
call fcn.10001000
test ebx, ebx
je 0x100361d0
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x100361c9
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 0x1003f360
je 0x100361e5
lea ecx, [ebp - 8]
call fcn.10001000
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x10036418
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push ebx
push esi
push edi
push 0x103
xor ebx, ebx
lea eax, [ebp - 0x177]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x178], 0
call fcn.1003e4bd
add esp, 0xc
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x10], ebx
call fcn.10001d04
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.10001d04
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x178]
push ecx
mov ecx, esi
mov dword [esi + 4], ebx
call dword [eax + 0xb0]
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x10036485
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.100360bd
mov dword [ebp - 4], eax
mov byte [esi + 0x37e9], bl
mov ebx, 0x1003f364
push ebx
mov ecx, esi
call fcn.1002b7cc
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x100364a1
mov eax, edi
push eax
lea ecx, [ebp - 0x74]
call fcn.10002759
cmp byte [ebp - 0x178], 0
je 0x100364c0
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
lea ecx, [esi + 0x26a0]
call fcn.10022c9e
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x100364d6
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
call fcn.100029c8
lea ecx, [ebp - 0x74]
call fcn.10001d04
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1003caa4
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x290
and dword [ebp - 8], 0
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x6c]
call fcn.10001d04
and dword [ebp - 0x78], 0
lea ecx, [ebp - 0xdc]
call fcn.10001d04
push dword [ebp + 0x7c]
lea ecx, [ebp - 0x6c]
call fcn.10002759
test eax, eax
je 0x1003cafd
mov esi, eax
lea ecx, [ebp - 0xdc]
call fcn.10001d04
lea ecx, [ebp - 0x6c]
call fcn.10001d04
pop edi
mov eax, esi
pop esi
add ebp, 0x74
leave
ret 4
push 0x5c
lea ecx, [ebp - 0x6c]
call fcn.1001c15b
push 0
push 1
lea eax, [ebp + 0x7c]
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp + 0x7c], 0x5c
call fcn.10001ee6
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1003cb25
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 4]
lea ecx, [ebp - 0xdc]
call fcn.10001d32
push str..queued
lea ecx, [ebp - 0xdc]
call fcn.10001f35
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x1003cb51
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp + 0x7c], eax
cmp eax, 0xffffffff
jne 0x1003cbae
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x1003cb7b
xor esi, esi
jmp 0x1003cadf
call esi
cmp eax, 3
jne 0x1003cb90
push str.Cant_open_queue_folder
mov ecx, edi
call fcn.100029c8
jmp 0x1003cba4
push 0x1004a658
call esi
push eax
push str.Cant_open_queue_file__
mov ecx, edi
call fcn.10022cd4
mov esi, 0x12e
jmp 0x1003cadf
push 1
mov ecx, edi
call fcn.1003b304
mov esi, eax
test esi, esi
jne 0x1003cc66
and dword [ebp + 0x68], 0
lea ecx, [ebp + 4]
call fcn.10001d04
push str.Processing_queued_message_file:
lea ecx, [ebp + 4]
call fcn.10002759
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp + 4]
call fcn.10001f35
mov eax, dword [ebp + 0x68]
test eax, eax
jne 0x1003cbf3
lea eax, [ebp + 4]
mov edx, dword [edi]
push eax
push 2
mov ecx, edi
call dword [edx + 0xa0]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1003cc0a
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 4]
lea ecx, [ebp + 4]
call fcn.10001d32
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp + 4]
call fcn.10001f35
mov eax, dword [ebp + 0x68]
test eax, eax
jne 0x1003cc2f
lea eax, [ebp + 4]
push eax
mov ecx, edi
call fcn.100314c6
mov esi, eax
test esi, esi
jne 0x1003cc5e
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [ebp + 4]
test eax, eax
je 0x1003cc61
call fcn.10001d04
jmp 0x1003cbc1
lea ecx, [ebp + 4]
call fcn.10001d04
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 2
mov ecx, edi
call fcn.1003b304
cmp esi, 0x12d
jne 0x1003cadf
push str.Interrupted.
mov ecx, edi
call fcn.100029c8
jmp 0x1003cadf
Function at 0x40344c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40345b
pop dword [ebp - 8]
mov eax, 0x3a145441
sub eax, 0x39d41fe6
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xf5fb297f
add dword [ebp - 0x18], 0x58571bcc
mov dword [ebp - 0x14], 0x79b9da5f
add dword [ebp - 0x14], 0xb87971e6
mov dword [ebp - 0x10], 0x32ee7f0b
sub dword [ebp - 0x10], 0xe6a23add
mov dword [ebp - 0xc], 0x93acec20
add dword [ebp - 0xc], 0x6c5313e0
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x2936fa97
sub dword [ebp - 0x18], 0xb4c49141
mov dword [ebp - 0x14], 0xeac2e791
sub dword [ebp - 0x14], 0xa956861c
mov dword [ebp - 0x10], 0x6c54183d
sub dword [ebp - 0x10], 0x8e4abd1
mov dword [ebp - 0xc], 0x5ae029fb
sub dword [ebp - 0xc], 0x5ae029fb
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xbf5a77ca
sub eax, 0xbf1a377a
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x356b7
push 0
call eax
mov ecx, 0x306afed
sub ecx, 0x3066db5
mov ebx, eax
mov esi, 0x8b738904
add esi, 0x74ccfafc
add esi, dword [ebp - 8]
mov edx, 0x1276c005
add edx, 0x19cb5c2b
mov edi, dword [esi]
mov dword [ebp - 4], 0x69e43656
sub edi, edx
xor dword [ebp - 4], 0xcd85948c
mov dword [ebx], edi
xor dword [ebp - 4], ecx
add ebx, 0x3a93635c
sub ebx, 0x3a936358
add esi, 0x5aabef19
sub esi, 0x5aabef15
loop 0x403578
add eax, 0xfbb3
mov ebx, eax
add eax, 5
mov ecx, 0xca09ebfd
sub ecx, 0xc9c9ebfd
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x10008ec9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10008ed8
pop dword [ebp - 0x38]
mov eax, 0x4467f229
add eax, 0xcb989caf
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x95dd43aa
add dword [ebp - 0x48], 0xb87501a1
mov dword [ebp - 0x44], 0x7985001e
sub dword [ebp - 0x44], 0x4751b3d9
mov dword [ebp - 0x40], 0xc618b7c6
add dword [ebp - 0x40], 0x86338c68
mov dword [ebp - 0x3c], 0xc233d8d8
sub dword [ebp - 0x3c], 0xc233d8d8
lea eax, [ebp - 0x48]
push eax
mov eax, 0xb611701e
sub eax, 0xa610affa
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xac7e94d9
sub dword [ebp - 0x48], 0x380c2b83
mov dword [ebp - 0x44], 0x54a06bc4
add dword [ebp - 0x44], 0xeccbf5b1
mov dword [ebp - 0x40], 0x19bb0deb
add dword [ebp - 0x40], 0x49b45e81
mov dword [ebp - 0x3c], 0x73a9078f
add dword [ebp - 0x3c], 0x8c56f871
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x36574
push 0
call eax
mov ecx, 0x418c404d
sub ecx, 0x418bfede
xor edi, edi
add edi, eax
mov edx, 0x10047400
add edx, dword [ebp - 0x38]
mov esi, 0x24bd87c8
add esi, 0xd58f7d72
xor dword [ebp - 0x10], 0x17ccdc12
mov ebx, dword [edx]
sub dword [ebp - 0x34], esi
add ebx, esi
sub dword [ebp - 0x14], 0xc9175f5b
mov dword [edi], ebx
sub dword [ebp - 0x1c], eax
add edi, 0x3adfe954
sub edi, 0x3adfe950
add edx, 0x98583c9b
sub edx, 0x98583c97
loop 0x10008ff1
add eax, 0x47d57a1b
sub eax, 0x47d4818c
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x5e66d7a4
sub ecx, 0x4e66d7a4
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x1003ad80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x1003ae6a
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x1003adfd
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.1003a540
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x1003adc3
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x1003af33
call fcn.1003ae0f
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x1003aeca
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.1003a960
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x1003ae7b
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x1003af33
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.1003a960
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x1003af2e
jmp 0x1003af33
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret