joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45eb60
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x94
mov eax, dword [esp + 0x9c]
push esi
push 0x40
lea ecx, [esp + 0x1c]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.0045e970
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.0045eaa0
mov esi, dword [esp + 0xb0]
add esp, 0x14
xor edx, edx
mov cl, byte [esp + edx + 4]
mov al, cl
and cl, 0xf
sar al, 4
and al, 0xf
cmp al, 0xa
movsx eax, al
jge 0x45ebda
add eax, 0x30
jmp 0x45ebdd
add eax, 0x57
mov byte [esi], al
cmp cl, 0xa
movsx eax, cl
jge 0x45ebec
add eax, 0x30
jmp 0x45ebef
add eax, 0x57
mov byte [esi + 1], al
inc edx
add esi, 2
cmp edx, 0x10
jl 0x45ebc0
pop esi
add esp, 0x94
ret

Function at 0x45ec10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x90]
push esi
push edi
mov ecx, 0x10
xor eax, eax
mov edi, ebp
mov esi, dword [esp + 0xa0]
rep stosd dword es:[edi], eax
mov ecx, 8
mov edi, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
test esi, esi
mov dword [esp + 0x14], 0x9d14e9a1
mov dword [esp + 0x18], 0x593b6b0e
je 0x45ec9b
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x28
jne 0x45ec7f
mov byte [esi + 0x20], al
mov ecx, 0x20
jmp 0x45ec89
cmp ecx, 0x38
jle 0x45ec89
mov ecx, 0x38
mov eax, ecx
lea edi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x49ebac
test ecx, ecx
je 0x45eccf
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x38
jle 0x45ecba
mov ecx, 0x38
xor eax, eax
test ecx, ecx
jle 0x45eccf
mov dl, byte [eax + 0x49ebac]
xor byte [esp + eax + 0x1c], dl
inc eax
cmp eax, ecx
jl 0x45ecc0
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.0045eb60
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.01d0a8e3
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + ebp]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
cdq
and edx, 3
and ecx, 3
add eax, edx
rep movsb byte es:[edi], byte [esi]
sar eax, 2
xor ecx, ecx
test eax, eax
jle 0x45ed34
mov esi, ebp
mov dl, byte [esi]
add esi, 4
mov byte [ecx + ebx], dl
inc ecx
cmp ecx, eax
jl 0x45ed27
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
Function at 0x45f900
Capabilities:
Encode data using base64
Terminate process

Disassembly:
sub esp, 0x118
mov ecx, 0x3f
mov eax, 0x80808080
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x41
mov cl, al
sub cl, 0x41
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x5a
jle 0x45f922
mov eax, 0x61
mov dl, al
sub dl, 0x47
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0x7a
jle 0x45f936
mov eax, 0x30
mov cl, al
add cl, 4
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x39
jle 0x45f94a
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x53], 0x3e
mov byte [esp + 0x57], 0x3f
mov byte [esp + 0x65], 0
mov dword [esp + 0x18], ebp
je 0x45fadd
mov ebx, dword [esp + 0x130]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x12c]
xor eax, eax
lea esi, [edx + ecx]
movsx ecx, byte [esi + eax]
mov dl, byte [esp + ecx + 0x28]
test dl, 0x80
jne 0x45faae
mov byte [esp + eax + 0x20], cl
mov byte [esp + eax + 0x1c], dl
inc eax
cmp eax, 4
jl 0x45f9ac
mov esi, dword [esp + 0x138]
mov edx, dword [esp + 0x10]
cmp edx, dword [esi]
jle 0x45fa16
mov eax, dword [esp + 0x14]
push eax
call fcn.00462cf7
mov ecx, dword [esi]
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
mov dword [esp + 0x2c], eax
rep movsb byte es:[edi], byte [esi]
call fcn.00462c0e
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
add esp, 8
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov dl, ch
mov al, cl
sar dl, 4
shl al, 2
or dl, al
mov eax, dword [esp + 0x14]
mov byte [ebx + ebp], dl
inc ebp
inc eax
mov cl, ch
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x1e]
mov dl, al
inc edi
sar dl, 2
shl cl, 4
or dl, cl
mov ecx, dword [esp + 0x14]
shl al, 6
or al, byte [esp + 0x1f]
mov byte [ebx + ebp], dl
inc ebp
mov edx, edi
inc ecx
inc edx
mov byte [ebx + ebp], al
mov al, byte [esp + 0x22]
inc ebp
inc ecx
inc edx
mov dword [esp + 0x10], edi
cmp al, 0x3d
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
je 0x45fac3
mov cl, byte [esp + 0x23]
xor eax, eax
cmp cl, 0x3d
setne al
add eax, 2
cmp eax, 3
jl 0x45fac3
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], edx
cmp edx, ecx
jae 0x45fae4
jmp 0x45f99c
push ecx
push str.Illegal_character__c_in_input._n
call fcn.0046441e
add esp, 8
push 1
call fcn.004639bd
mov eax, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [eax], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
mov ebx, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [ecx], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
Function at 0x474ab5
Capabilities:
Get graphical window text

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

Function at 0x4761aa
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 0x4761ec
call fcn.0047bc9d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4761ec
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4761e3
xor eax, eax
jmp 0x4761f4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004761fa
pop edi
pop esi
pop ebx
ret 4

Function at 0x47c1cd
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 0x47c1fb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47c219
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047c133
jmp 0x47c219
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47c219
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047c133
test edi, edi
mov eax, edi
jne 0x47c203
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401020
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, edx
push edi
lea eax, [ebx + 2]
mov edi, ecx
add eax, esi
push eax
call fcn.004044b3
mov edx, eax
add esp, 4
test edx, edx
je 0x40108c
xor eax, eax
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x401060
mov ecx, edx
mov dword [ebp + 0xc], esi
sub edi, edx
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec esi
jne 0x401051
mov eax, dword [ebp + 0xc]
xor ecx, ecx
test ebx, ebx
jle 0x40107b
mov edi, dword [ebp + 8]
lea esi, [edx + eax]
lea esp, [esp]
mov al, byte [ecx + edi]
mov byte [esi + ecx], al
inc ecx
cmp ecx, ebx
jl 0x401070
lea eax, [edx + ecx]
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov byte [eax + ecx], 0
mov eax, edx
pop ebp
ret
cmp dword [0x417ea0], 1
jne 0x4010a9
push 0
push str.Debug_Message
push str.cannot_allocate_more_space_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401130
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov edx, esi
push edi
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x401140
sub edx, ecx
lea eax, [edx*2 + 2]
push eax
call fcn.004044b3
mov edi, eax
add esp, 4
test edi, edi
je 0x401180
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401164
sub ecx, edx
lea eax, [ecx + 1]
push eax
push esi
push edi
call fcn.00404453
add esp, 0xc
mov eax, edi
pop edi
pop esi
ret
cmp dword [0x417ea0], 1
jne 0x40119d
push 0
push str.Debug_Message
push str.cannot_allocate_more_space_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4011b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov dword [ebp - 4], ecx
mov edx, ecx
push edi
test ecx, ecx
jle 0x4011d9
mov eax, 0x66666667
inc esi
imul edx
mov eax, edx
sar eax, 2
mov edx, eax
shr edx, 0x1f
add edx, eax
test edx, edx
jg 0x4011c1
lea eax, [esi + 1]
push eax
call fcn.004044b3
mov edi, eax
add esp, 4
test edi, edi
je 0x40123a
mov edx, dword [ebp - 4]
add esi, edi
mov byte [esi], 0
test edx, edx
jle 0x401232
push ebx
jmp 0x401200
mov eax, 0x66666667
lea esi, [esi - 1]
imul edx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [ebp - 4]
mov al, bl
shl al, 2
lea ecx, [eax + ebx]
add cl, cl
sub dl, cl
add dl, 0x30
mov byte [esi], dl
mov edx, ebx
mov dword [ebp - 4], edx
test edx, edx
jg 0x401200
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x417ea0], 1
jne 0x401257
push 0
push str.Debug_Message
push str.cannot_allocate_more_space_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4012d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov eax, edi
mov dword [ebp - 4], ebx
cdq
sub eax, edx
sar eax, 1
inc eax
push eax
call fcn.004044b3
mov esi, eax
add esp, 4
test esi, esi
je 0x401356
mov edx, 1
cmp edi, edx
jle 0x401342
mov edi, edi
mov cl, byte [edx + ebx - 1]
lea eax, [ecx - 0x61]
cmp al, 5
movsx eax, cl
ja 0x401313
sub eax, 0x57
jmp 0x401316
sub eax, 0x30
mov bl, byte [edx + ebx]
lea ecx, [ebx - 0x61]
cmp cl, 5
movsx ecx, bl
ja 0x401329
sub ecx, 0x57
jmp 0x40132c
sub ecx, 0x30
mov ebx, dword [ebp - 4]
shl al, 4
add al, cl
mov ecx, edx
shr ecx, 1
add edx, 2
mov byte [ecx + esi], al
cmp edx, edi
jl 0x401300
mov eax, edx
cdq
sub eax, edx
sar eax, 1
pop edi
mov byte [eax + esi], 0
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x417ea0], 1
jne 0x401373
push 0
push str.Debug_Message
push str.cannot_allocate_more_space_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401380
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, edx
mov dword [ebp - 4], ecx
push esi
push edi
mov dword [ebp - 8], ebx
lea eax, [ebx*2 + 1]
push eax
call fcn.004044b3
mov edi, eax
add esp, 4
test edi, edi
je 0x40140e
xor esi, esi
test ebx, ebx
jle 0x401401
lea ecx, [ecx]
mov eax, dword [ebp - 4]
mov bl, byte [esi + eax]
movzx eax, bl
mov edx, eax
and edx, 0x8000000f
jns 0x4013c8
dec edx
or edx, 0xfffffff0
inc edx
lea ecx, [edx - 0xa]
cmp ecx, 5
ja 0x4013d5
add dl, 0x57
jmp 0x4013d8
add dl, 0x30
mov byte [edi + esi*2 + 1], dl
cmp bl, 0x10
jae 0x4013e7
mov byte [edi + esi*2], 0x30
jmp 0x4013fb
shr eax, 4
lea ecx, [eax - 0xa]
cmp ecx, 5
ja 0x4013f6
add al, 0x57
jmp 0x4013f8
add al, 0x30
mov byte [edi + esi*2], al
inc esi
cmp esi, dword [ebp - 8]
jl 0x4013b0
mov byte [edi + esi*2], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x417ea0], 1
jne 0x40142b
push 0
push str.Debug_Message
push str.cannot_allocate_more_space_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401710
Capabilities:
Receive http response
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
lea eax, [edi + 1]
push eax
call fcn.004044b3
mov esi, eax
add esp, 4
test esi, esi
je 0x401784
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x401750
push esi
call fcn.0040447b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
cmp eax, edi
push ecx
cmova eax, edi
push eax
push esi
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x40173e
mov eax, dword [ebp - 8]
test eax, eax
je 0x40173e
cmp eax, edi
ja 0x40173e
mov byte [esi + eax], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x417ea0], 1
jne 0x4017a1
push 0
push str.Debug_Message
push str.cannot_allocate_more_space_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4017b0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [str.lookarround.bet_lookarround_gate.php]
mov ebx, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 4], edx
call fcn.00401130
mov ecx, esi
mov edi, eax
call fcn.00401130
push 0
push 0
push 0
push 0
push edi
mov esi, eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push 0
push 0x50
push esi
push eax
mov dword [ebx], eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, dword [ebp - 4]
push edi
mov dword [ecx], eax
call fcn.0040447b
push esi
call fcn.0040447b
mov ecx, dword [ebx]
add esp, 8
test ecx, ecx
je 0x401820
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x401820
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ecx
call esi
mov eax, dword [ebp - 4]
push dword [eax]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401840
Capabilities:
Prepare http request
Receive http response
Set http header

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov ecx, edx
call fcn.00401130
mov esi, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 4], ecx
lea edx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x401860
push 0
push 0
push 0
push 0
push ecx
push str.POST
push edi
sub esi, edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
push dword [ebp - 4]
mov edi, eax
call fcn.0040447b
add esp, 4
test edi, edi
jne 0x401897
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x20000000
push 0x2f
push str.Content_Type:_application_x_www_form_urlencoded
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x40188f
push 0
push esi
push esi
push dword [ebp + 8]
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x40188f
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x40188f
mov edx, dword [ebp + 0xc]
mov ecx, edi
call fcn.00401710
push edi
mov esi, eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401ee0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x11
mov dword [ebp - 4], 4
call fcn.004044b3
push 0x288
mov ebx, eax
call fcn.004044b3
mov esi, eax
add esp, 8
test esi, esi
jne 0x401f11
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x401f32
push dword [ebp - 4]
call fcn.004044b3
mov esi, eax
add esp, 4
test esi, esi
je 0x401f09
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x401f87
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X:_02X:_02X:_02X:_02X:_02X
push ebx
call fcn.004041e6
add esp, 0x20
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0040447b
add esp, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402240
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x208], 0x100
call fcn.00401fb0
mov dword [0x418f98], eax
call fcn.00401fb0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov edx, dword [0x418f98]
mov ecx, edx
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402290
sub ecx, esi
push ecx
push 0
push edx
call fcn.00408360
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
xor ecx, ecx
test esi, esi
jle 0x4022cf
mov eax, dword [0x418f98]
nop
mov dl, byte [ebp + ecx*2 - 0x204]
mov byte [eax + ecx], dl
inc ecx
cmp ecx, esi
jl 0x4022c0
call fcn.00401ee0
mov edx, eax
lea edi, [edx + 1]
lea esp, [esp]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4022e0
mov ecx, dword [0x418f98]
sub edx, edi
push edx
push eax
mov edx, esi
call fcn.00401020
push dword [0x418f98]
mov edi, eax
call fcn.0040447b
mov ecx, edi
call fcn.00401b90
push edi
mov esi, eax
call fcn.0040447b
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.004041d7
mov esp, ebp
pop ebp
ret

Function at 0x402330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov eax, ecx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
xor esi, esi
push edi
xor edi, edi
mov dword [ebp - 4], eax
xor ecx, ecx
test edx, edx
jle 0x4023ba
mov ecx, dword [ebp + 0xc]
sub dword [ebp - 8], ecx
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
lea esp, [esp]
inc edi
and edi, 0x800000ff
jns 0x402371
dec edi
or edi, 0xffffff00
inc edi
mov ecx, dword [eax + edi*4]
add esi, ecx
mov edx, dword [ebp - 4]
and esi, 0xff
mov eax, dword [eax + esi*4]
mov dword [edx + edi*4], eax
mov eax, edx
mov dword [eax + esi*4], ecx
mov eax, dword [eax + edi*4]
add eax, ecx
mov ecx, edx
and eax, 0xff
mov al, byte [ecx + eax*4]
mov ecx, dword [ebp - 8]
xor al, byte [ecx + ebx]
mov byte [ebx], al
inc ebx
dec dword [ebp + 8]
mov eax, edx
jne 0x402360
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
pop esi
mov byte [ecx + eax], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov byte [ecx + eax], cl
mov esp, ebp
pop ebp
ret
Function at 0x4023d0
Capabilities:
Encrypt data using rc4 ksa
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
mov edi, eax
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x414], eax
lea edx, [edi + 1]
jmp 0x402400
mov al, byte [edi]
inc edi
test al, al
jne 0x402400
mov esi, ebx
sub edi, edx
mov dword [ebp - 0x418], edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x402414
sub esi, ecx
cmp dword [ebp + 8], 1
mov dword [ebp - 0x40c], esi
jne 0x402449
mov edx, esi
mov ecx, ebx
call fcn.004012d0
mov dword [ebp - 0x408], eax
mov eax, esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x40c], esi
jmp 0x402483
lea ebx, [esi + 1]
push ebx
call fcn.004044b3
add esp, 4
mov dword [ebp - 0x408], eax
test eax, eax
je 0x40258f
test ebx, ebx
jle 0x402483
mov edi, dword [ebp - 0x410]
mov ecx, eax
sub edi, eax
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec ebx
jne 0x402471
mov edi, dword [ebp - 0x418]
movdqa xmm1, xmmword [0x4146d0]
lea ecx, [ebp - 0x404]
xor eax, eax
movd xmm0, eax
lea ecx, [ecx + 0x10]
pshufd xmm0, xmm0, 0
add eax, 4
paddd xmm0, xmm1
movdqu xmmword [ecx - 0x10], xmm0
cmp eax, 0x100
jl 0x402493
xor esi, esi
xor ebx, ebx
mov eax, ebx
mov ecx, dword [ebp + ebx*4 - 0x404]
cdq
idiv edi
mov eax, dword [ebp - 0x414]
movsx eax, byte [edx + eax]
add eax, ecx
add esi, eax
and esi, 0xff
mov eax, dword [ebp + esi*4 - 0x404]
mov dword [ebp + ebx*4 - 0x404], eax
inc ebx
mov dword [ebp + esi*4 - 0x404], ecx
cmp ebx, 0x100
jl 0x4024b6
mov esi, dword [ebp - 0x40c]
lea eax, [esi + 1]
push eax
call fcn.004044b3
mov edi, eax
add esp, 4
test edi, edi
je 0x40256a
mov ebx, dword [ebp - 0x408]
lea ecx, [ebp - 0x404]
push edi
push esi
mov edx, ebx
call fcn.00402330
push ebx
call fcn.0040447b
add esp, 0xc
cmp dword [ebp + 0xc], 1
jne 0x402557
mov edx, esi
mov ecx, edi
call fcn.00401380
push edi
mov esi, eax
call fcn.0040447b
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004041d7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004041d7
mov esp, ebp
pop ebp
ret
cmp dword [0x417ea0], 1
jne 0x402587
push 0
push str.Debug_Message
push str.cannot_allocate_more_space_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x417ea0], 1
jne 0x4025ac
push 0
push str.Debug_Message
push str.cannot_allocate_more_space_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4025c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [0x418fd8]
mov ebx, edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], edi
lea ecx, [ebx + 1]
lea ebx, [ebx]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4025e0
mov esi, edx
sub ebx, ecx
mov dword [ebp - 0x18], ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4025f1
sub esi, ecx
mov dword [ebp - 0xc], esi
lea eax, [esi*2 + 1]
push eax
call fcn.004044b3
mov edx, eax
add esp, 4
mov dword [ebp - 0x10], edx
test edx, edx
je 0x40267b
xor ecx, ecx
test esi, esi
jle 0x40266b
mov eax, ebx
neg eax
mov dword [ebp - 0x14], eax
add ebx, ecx
mov eax, ecx
cmp ecx, ebx
jge 0x40264f
mov edi, dword [ebp - 8]
sub edi, edx
cmp eax, esi
jge 0x40264c
mov esi, dword [ebp - 4]
add edx, eax
mov cl, byte [edi + edx]
add cl, byte [esi + eax]
inc eax
mov esi, dword [ebp - 0xc]
mov byte [edx], cl
mov edx, dword [ebp - 0x10]
cmp eax, ebx
jl 0x402630
mov edi, dword [ebp - 4]
add edi, dword [ebp - 0x14]
mov ecx, ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 4], edi
cmp ecx, esi
jl 0x402623
pop edi
pop esi
mov byte [edx + eax], 0
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov byte [edx + eax], 0
mov eax, edx
mov esp, ebp
pop ebp
ret
cmp dword [0x417ea0], 1
jne 0x402698
push 0
push str.Debug_Message
push str.cannot_allocate_more_space_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]