joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457625
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 0x45773d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45773d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004c9be6
mov esi, eax
test esi, esi
je 0x45773d
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 0x45773d
mov ecx, esi
call fcn.00457590
cmp edi, eax
jge 0x45773d
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 0x4576c3
mov dword [esp + 0x34], 1
jmp 0x45771e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45773d
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.00456b50
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 0x45b790
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x45b7f6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x45b7f6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x45b7d7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x45bb80
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x45bbb8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x45c7e0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x45c829
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x45cca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0045c850
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045c8d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045c8d0
lea ecx, [esi + 0xc]
call fcn.004c8147
lea ecx, [esi + 0x10]
call fcn.004c8147
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045de60
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045de60
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045de60
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004c81bc
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004c81bc
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x465830
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d7950
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00465c00
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.00465c00
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 1
call fcn.00465c70
lea ecx, [esp + 0x10]
call fcn.00464610
cmp eax, 1
jae 0x4658d8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x465943
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x465943
push esi
push edi
call ebx
push esi
lea ecx, [esp + 0x14]
call fcn.00465c70
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
call fcn.00464610
cmp eax, 1
jb 0x465943
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.004656d0
test eax, eax
je 0x465943
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.004659b0
mov edi, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.00465cd0
push edi
lea ecx, [esp + 0x24]
call fcn.00465cf0
push esi
lea ecx, [esp + 0x24]
call fcn.00465d90
push str..tmp
lea ecx, [esp + 0x24]
call fcn.00465cf0
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.004656b0
test eax, eax
je 0x465979
inc esi
cmp esi, 0x7a0a1f00
jb 0x4658fa
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00465c20
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00465c20
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.00465cd0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00465c20
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00465c20
mov eax, 1
jmp 0x465964
Function at 0x466100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7a08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.00465c00
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.00465c70
push 0
mov ecx, esi
call fcn.00466080
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x466238
lea ecx, [esp + 0xc]
call fcn.00464610
cmp eax, 1
jae 0x466187
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00465c20
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x4661d4
push 0
lea ecx, [esp + 0x10]
call fcn.00435f20
push eax
push edi
mov ecx, 0x54d9e4
call fcn.00465830
test eax, eax
jne 0x4661dc
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00465c20
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.00465c70
push edi
mov ecx, 0x54d9e4
call fcn.00465790
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.00435f10
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x466238
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x466238
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x466268
push 1
mov ecx, esi
call fcn.00466080
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00465c20
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.00465c20
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x466ba0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.00465c70
pop edi
add esp, 0x104
ret 4
Function at 0x467310
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x467343
push esi
call fcn.0046c120
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46733c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4673c9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4673b2
mov eax, dword [esi + 8]
test eax, eax
je 0x467367
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4673ae
cmp eax, 2
je 0x4673b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46735a
cmp eax, 3
je 0x46738d
cmp eax, 1
jne 0x46735a
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 0x46735a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46735a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00467400
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4673e9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00467400
add esp, 4
pop esi
ret

Function at 0x497c80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x497c8b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x497d8e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4ecaa0]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4ecaa0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4ecaa0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4ecaa0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4ecaa0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4ecaa0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4ecaa0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4ecaa0]
xor eax, edx
inc ecx
dec edi
jne 0x497ca6
pop edi
test esi, esi
je 0x497db0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4ecaa0]
xor eax, edx
inc ecx
dec esi
jne 0x497d92
pop esi
pop ebx
not eax
ret
Function at 0x4ca58a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ca5c2
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.004c8617
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c85ef
jmp 0x4ca5ce
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4cbc7d
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 0x4cbcbf
call fcn.004d1a38
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4cbcbf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4cbcb6
xor eax, eax
jmp 0x4cbcc7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004cbccd
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d1f68
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4d1f96
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d1fb4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d1ece
jmp 0x4d1fb4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d1fb4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d1ece
test edi, edi
mov eax, edi
jne 0x4d1f9e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x426a6a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
call fcn.00426bed
call fcn.00426a0e
mov dword [ebp - 4], eax
push 4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xa]
push eax
call fcn.00424370
add esp, 0x10
xor eax, eax
mov cl, byte [eax + 0x433370]
xor byte [ebp + eax - 0x10], cl
inc eax
cmp eax, 0xa
jl 0x426a95
push esi
push 0x20
push 0
mov esi, 0x43dfcc
push esi
call fcn.004216c0
movzx eax, byte [ebp - 7]
push eax
movzx eax, byte [ebp - 8]
push eax
movzx eax, byte [ebp - 9]
push eax
movzx eax, byte [ebp - 0xa]
push eax
movzx eax, byte [ebp - 0xb]
push eax
movzx eax, byte [ebp - 0xc]
push eax
movzx eax, byte [ebp - 0xd]
push eax
movzx eax, byte [ebp - 0xe]
push eax
movzx eax, byte [ebp - 0xf]
push eax
movzx eax, byte [ebp - 0x10]
push eax
push 0x433344
push esi
call dword [fcn.00431274]
add esp, 0x3c
mov dword [0x43dfec], 1
pop esi
leave
ret
Function at 0x4423a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
jmp 0x4423ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4423c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4423b0
mov eax, 1
add ebx, ebx
jne 0x4423d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4423c8
jne 0x4423e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4423c8
xor ecx, ecx
sub eax, 3
jb 0x4423f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44246a
mov ebp, eax
add ebx, ebx
jne 0x442403
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x442410
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x442434
inc ecx
add ebx, ebx
jne 0x442420
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x442415
jne 0x442431
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x442415
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x442454
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x442445
jmp 0x4423b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x442454
add edi, ecx
jmp 0x4423b6
pop esi
mov edi, esi
mov ecx, 0x11cf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x442472
cmp byte [edi], 5
jne 0x442472
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 0x442477
lea edi, [esi + 0x40000]
mov eax, dword [edi]
or eax, eax
je 0x4424ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x42370]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x42460]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4424a4
mov ecx, edi
jns 0x4424d3
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 + 0x42464]
or eax, eax
je 0x4424e9
mov dword [ebx], eax
add ebx, 4
jmp 0x4424c1
call dword [esi + 0x42474]
mov ebp, dword [esi + 0x42468]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x442523
sub esp, 0xffffff80
jmp 0x41c204

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x438c91
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
add edi, edi
call fcn.00438cc9
mov esi, 0xc918e9a7
add edi, esi
xor dword [eax], ecx
mov edi, esi
sub edi, 1
mov esi, edi
inc eax
sub esi, 0x325e1dbe
add edi, 0x34f78efd
dec esi
cmp eax, ebx
jne fcn.00438c91
sub esi, esi
and esi, edi
ret
Function at 0x406815
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004069c5
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x406913
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4068b6
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4068f9
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4068cd
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4068e8
test al, 0x40
je 0x4068df
mov ecx, dword [edi + 0x20]
jmp 0x4068e6
test al, 0x80
je 0x4068f9
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4068f9
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x406885
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x40a952
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push 0
push 0
push getpeername
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_FoldersCookies
push 0x80000301
push 0
push 3
push 3
mov ebx, 0x41db40
call fcn.0041bc7a
add esp, 0x28
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40a9b9
push ebx
call fcn.0041bc80
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push str..txt
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ecx, 2
call fcn.004010ac
add esp, 8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push eax
push 1
push 0
push dword [ebp - 0xc]
mov eax, 0
call fcn.0041bc62
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40aa07
push ebx
call fcn.0041bc80
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40aa1b
push ebx
call fcn.0041bc80
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x49530c
push dword [ebp - 4]
call fcn.0040132e
add esp, 8
cmp eax, 0
je 0x40ab66
push closesocket
push 0
push 0
push 0x80000301
push 0
push 1
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40aa65
mov eax, 0x49530c
push eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40aa79
mov eax, 0x49530c
push eax
push 4
mov ebx, 0x41c1e0
call fcn.0041bc7a
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40aab8
push 0x49530c
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040132e
add esp, 8
cmp eax, 0
je 0x40aab8
xor eax, eax
jmp 0x40aabd
mov eax, 1
test eax, eax
je 0x40ab2c
push dword [ebp - 4]
push 0x495328
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ecx, 3
call fcn.004010ac
add esp, 0xc
mov dword [ebp - 0xc], eax
push getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40aaf5
mov eax, 0x49530c
push eax
push 1
mov ebx, 0x41d480
call fcn.0041bc7a
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40ab1b
push ebx
call fcn.0041bc80
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x40ab2c
mov dword [ebp - 8], 1
lea eax, [ebp - 0x20]
push eax
push 1
push 0
push 0
mov eax, 0
call fcn.0041bc62
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ab5d
push ebx
call fcn.0041bc80
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x40aa1f
mov eax, dword [ebp - 8]
jmp 0x40ab6e
push eax
push dword [ebp - 0x20]
mov eax, 1
call fcn.0041bc62
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ab8f
push ebx
call fcn.0041bc80
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10