joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4916b0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebp
mov ebp, ecx
cmp edx, dword [ebp + 0x1c]
jbe 0x4916c5
mov eax, 0xffffff7c
pop ebp
ret 0xc
cmp byte [ebp + 0x10], 2
je 0x4916d4
mov eax, 0xffffff87
pop ebp
ret 0xc
mov eax, dword [ebp + 0x18]
push ebx
mov bl, byte [esp + 0x14]
lea ecx, [edx + 3]
mov byte [eax], bl
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [esp + 0x10]
mov word [eax + 1], cx
mov ecx, edx
push edi
mov edi, dword [ebp + 0x18]
mov eax, ecx
add edi, 3
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test bl, bl
rep movsb byte es:[edi], byte [esi]
je 0x49172f
xor eax, eax
test edx, edx
jle 0x49172f
mov ecx, dword [ebp + 0x18]
lea esi, [ecx + eax + 3]
mov cl, al
xor cl, bl
add byte [esi], cl
mov ecx, dword [ebp + 0x18]
lea esi, [ecx + eax + 3]
mov cl, dl
sub cl, al
xor cl, bl
xor byte [esi], cl
inc eax
cmp eax, edx
jl 0x49170e
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
test eax, eax
jne 0x49174a
add edx, 3
mov ecx, ebp
push edx
mov edx, dword [ebp + 0x18]
push edx
call fcn.004914c0
jmp 0x49175b
mov eax, dword [ebp + 0x18]
add edx, 3
push 1
push edx
push eax
mov ecx, ebp
call fcn.004913d0
test eax, eax
jl 0x491762
add eax, 0xfffffffd
pop ebp
ret 0xc

Function at 0x491770
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x14]
mov dl, byte [eax]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x491783
mov byte [eax], dl
mov eax, dword [esi + 0x14]
mov edi, dword [esp + 0xc]
inc eax
xor ecx, ecx
mov cx, word [eax]
sub ecx, 3
mov dword [edi], ecx
xor ecx, ecx
mov cx, word [eax]
sub ecx, 3
test dl, dl
je 0x4917ca
xor eax, eax
test ecx, ecx
jle 0x4917ca
push ebx
mov edi, dword [esi + 0x14]
mov bl, cl
sub bl, al
lea edi, [eax + edi + 3]
xor bl, dl
xor byte [edi], bl
mov edi, dword [esi + 0x14]
mov bl, al
lea edi, [eax + edi + 3]
xor bl, dl
sub byte [edi], bl
inc eax
cmp eax, ecx
jl 0x4917a8
pop ebx
mov eax, dword [esi + 0x14]
pop edi
add eax, 3
pop esi
ret 8

Function at 0x4917e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
test ebp, ebp
push edi
mov ebx, ecx
mov esi, ebp
jle 0x49180f
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0x20]
push 0
push esi
push edi
push eax
call sub.ws2_32.dll_send
test eax, eax
jl 0x491813
je 0x49180f
sub esi, eax
add edi, eax
test esi, esi
jg 0x4917f4
mov eax, ebp
sub eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x491880
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x3c
push ebp
push esi
lea esi, [ecx + 4]
push 0
push esi
push 0
call sub.dsound.dll_DirectSoundCreate
test eax, eax
je 0x4918ab
push 0x4b0764
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop esi
xor al, al
pop ebp
add esp, 0x3c
ret 4
mov eax, dword [esi]
mov ebp, dword [esp + 0x48]
push 2
push ebp
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
je 0x4918d3
push 0x4b0764
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop esi
xor al, al
pop ebp
add esp, 0x3c
ret 4
push edi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x24]
xor edx, edx
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [esp + 0x10], edx
xor ecx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
push ecx
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], edx
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0x24
mov dword [esp + 0x30], 1
mov word [esp + 0x28], dx
mov word [esp + 0x18], 1
mov word [esp + 0x1a], 2
mov dword [esp + 0x1c], 0xac44
mov word [esp + 0x26], 0x10
mov word [esp + 0x24], 4
mov dword [esp + 0x20], 0x2b110
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xc]
test eax, eax
pop edi
je 0x491960
pop esi
xor al, al
pop ebp
add esp, 0x3c
ret 4
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x38]
mov esi, dword [esi]
push 1
push ebp
push esi
mov edx, dword [esi]
call dword [edx + 0x18]
test eax, eax
je 0x491993
push 0x4b0764
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop esi
xor al, al
pop ebp
add esp, 0x3c
ret 4
pop esi
mov al, 1
pop ebp
add esp, 0x3c
ret 4
Function at 0x497167
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4b10a8
cmp edx, dword [eax]
je 0x497189
add eax, 8
inc ecx
cmp eax, 0x4b1138
jl 0x49717a
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4b10a8]
jne 0x4972b7
mov eax, dword [0x55d408]
cmp eax, 1
je 0x497291
test eax, eax
jne 0x4971ba
cmp dword [0x4b07d4], 1
je 0x497291
cmp edx, 0xfc
je 0x4972b7
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4971f1
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00494380
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00497e70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x497234
lea eax, [ebp - 0x1a4]
push eax
call fcn.00497e70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4a2a08
push edi
call fcn.00492cb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00494380
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00494390
lea eax, [ebp - 0xa0]
push 0x4a29e8
push eax
call fcn.00494390
push dword [esi + 0x4b10ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.00494390
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0049a8d8
add esp, 0x2c
pop edi
jmp 0x4972b7
lea eax, [ebp + 8]
lea esi, [esi + 0x4b10ac]
push 0
push eax
push dword [esi]
call fcn.00497e70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4117f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4118a4
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00411780
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x41187d
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x4118cb
test ebp, ebp
je 0x4118cb
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x4118d3
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x411913
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x41196f
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x41196a
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x411955
test dl, dl
je 0x411951
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x411955
add ecx, 2
add eax, 2
test dl, dl
jne 0x411935
xor eax, eax
jmp 0x41195a
sbb eax, eax
or eax, 1
test eax, eax
je 0x411979
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x411922
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x411990
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.004117f0
test eax, eax
jne 0x4119a8
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.004118b0
mov esi, eax
test esi, esi
jne 0x4119de
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x4119f8
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x411af0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.004117f0
mov esi, eax
test esi, esi
jne 0x411b0e
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.004118b0
mov dword [esp + 0x18], eax
test eax, eax
je 0x411b06
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.004118b0
mov dword [esp + 0x34], eax
test eax, eax
je 0x411b06
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.004118b0
mov dword [esp + 0x28], eax
test eax, eax
je 0x411b06
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.004118b0
mov dword [esp + 0x30], eax
test eax, eax
je 0x411b06
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x411cd5
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x411cd5
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x411c38
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x411cb9
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x411c5b
movzx esi, ax
jmp 0x411c60
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x411c7f
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x411c8e
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x411ce2
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x411c50
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x411c15
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x411d0b
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x411d0b
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x411cf0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x411d20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.004117f0
mov esi, eax
test esi, esi
je 0x411ddc
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.004118b0
mov ebp, eax
test ebp, ebp
je 0x411ddb
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.004118b0
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x411ddb
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x411ddb
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x411dda
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x411dc0
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x412059
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x412069
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x412177
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.00412187
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x412177
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.00412187
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x412177
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.00412187
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x412177
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x412174
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.0041219a
test eax, eax
je 0x412163
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.004121ce
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x41211e
add esp, 0xc
mov eax, 0
jmp 0x412181
mov esp, ebp
pop ebp
ret 8
Function at 0x4122ac
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x412360
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0041223c
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x412339
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x412387
test ebp, ebp
je 0x412387
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x41238f
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x4123cf
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x41242b
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x412426
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x412411
test dl, dl
je 0x41240d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x412411
add ecx, 2
add eax, 2
test dl, dl
jne 0x4123f1
xor eax, eax
jmp 0x412416
sbb eax, eax
or eax, 1
test eax, eax
je 0x412435
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x4123de
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x41244c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.004122ac
mov esi, eax
test esi, esi
je 0x412508
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.0041236c
mov ebp, eax
test ebp, ebp
je 0x412507
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.0041236c
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x412507
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x412507
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x412506
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x4124ec
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret
Function at 0x424280
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4da9bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004ce810
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x424302
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004cb7a4
mov eax, dword [eax]
push 0x515d38
push eax
call fcn.004bcd14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004cea9b
test bl, bl
je 0x424302
push 0x515d38
lea ecx, [esp + 0xc]
call fcn.004cee2b
push 0x515d44
lea ecx, [esp + 0xc]
call fcn.004cee2b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42433e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004cea9b
jmp 0x424409
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4243c2
lea edx, [esp + 0x7c]
push 0x515d40
push edx
call fcn.004bcd14
add esp, 8
test eax, eax
je 0x4243c2
lea eax, [esp + 0x7c]
push 0x515d3c
push eax
call fcn.004bcd14
add esp, 8
test eax, eax
je 0x4243c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x424352
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004cea9b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x424c00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x424c62
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x424c70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4daa3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x52c0f8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x424da8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x424cd6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cea9b
xor eax, eax
jmp 0x424e1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004cebd8
push esi
lea ecx, [esp + 0xc]
call fcn.004cee67
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x515d78
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x424dfd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00424c00
test eax, eax
jne 0x424dfd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00424c00
test eax, eax
jne 0x424dfd
lea eax, [esp + 0x14]
push 0x515d54
push eax
call fcn.004bde60
mov esi, eax
add esp, 8
test esi, esi
jne 0x424ddc
lea ecx, [esp + 0x14]
push 0x515d50
push ecx
call fcn.004bdde0
mov esi, eax
add esp, 8
test esi, esi
jne 0x424ddc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x424ddf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ceb88
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x424cee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cea9b
xor eax, eax
jmp 0x424e1f
mov byte [esi], 0
push 0x515d4c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004cea9b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4