joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411c6f
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x42610c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411d44
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411d33
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x411d1d
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x411d33
push eax
push edi
push dword [ebp - 0x110]
call fcn.00411c0c
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0x411d46
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00411e16
leave
ret 4

Function at 0x411e16
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42610c]
jne 0x411e20
repz ret
jmp fcn.004142d5
Function at 0x41aaeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041891e
and dword [ebp - 4], 0
cmp dword [0x427e28], 0
mov ebx, eax
jne 0x41ab9c
push 0x423d30
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41ac4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x423d24
push edi
call esi
test eax, eax
je 0x41ac4d
push eax
call fcn.004188ac
mov dword [esp], 0x423d14
push edi
mov dword [0x427e28], eax
call esi
push eax
call fcn.004188ac
mov dword [esp], 0x423d00
push edi
mov dword [0x427e2c], eax
call esi
push eax
call fcn.004188ac
mov dword [esp], 0x423ce4
push edi
mov dword [0x427e30], eax
call esi
push eax
call fcn.004188ac
pop ecx
mov dword [0x427e38], eax
test eax, eax
je 0x41ab9c
push 0x423ccc
push edi
call esi
push eax
call fcn.004188ac
pop ecx
mov dword [0x427e34], eax
mov eax, dword [0x427e34]
cmp eax, ebx
je 0x41abf4
cmp dword [0x427e38], ebx
je 0x41abf4
push eax
call fcn.00418927
push dword [0x427e38]
mov esi, eax
call fcn.00418927
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41abf4
test edi, edi
je 0x41abf4
call esi
test eax, eax
je 0x41abeb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41abeb
test byte [ebp - 0xc], 1
jne 0x41abf4
or dword [ebp + 0x10], 0x200000
jmp 0x41ac2d
mov eax, dword [0x427e2c]
cmp eax, ebx
je 0x41ac2d
push eax
call fcn.00418927
pop ecx
test eax, eax
je 0x41ac2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41ac2d
mov eax, dword [0x427e30]
cmp eax, ebx
je 0x41ac2d
push eax
call fcn.00418927
pop ecx
test eax, eax
je 0x41ac2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x427e28]
call fcn.00418927
pop ecx
test eax, eax
je 0x41ac4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41ac4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40150b
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
pushal
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 8]
push 0x84
push ebx
call sub.KERNEL32.dll_RtlZeroMemory
cmp dword [ebp + 0x18], 0
je 0x40152f
or dword [ebx + 4], 8
push dword [ebp + 0xc]
pop dword [ebx]
call sub.KERNEL32.dll_GetTickCount
mov dword [ebx + 0x30], eax
lea eax, [ebp - 0x18]
push eax
push 0x18
push dword [ebp + 0x10]
call sub.GDI32.dll_GetObjectA
or eax, eax
jne 0x401556
inc dword [ebp - 0x1c]
jmp 0x4016be
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x24], eax
cmp eax, 3
jle 0x40154e
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x20], eax
cmp eax, 3
jle 0x40154e
push eax
shl eax, 2
mov dword [ebx + 0x2c], eax
pop eax
lea eax, [eax + eax*2]
add eax, 3
and eax, 0xfffffffc
mov dword [ebx + 0x28], eax
push dword [ebp + 0xc]
call sub.USER32.dll_GetDC
mov esi, eax
push esi
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebx + 8], eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push esi
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebx + 0xc], eax
push eax
push dword [ebx + 8]
call sub.GDI32.dll_SelectObject
mov eax, dword [ebx + 0x2c]
mul dword [ebx + 0x24]
mov edi, eax
push edi
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov dword [ebx + 0x18], eax
push edi
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x28]
mul dword [ebx + 0x24]
mov edi, eax
push edi
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov dword [ebx + 0x10], eax
push edi
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x58], 0x28
push dword [ebx + 0x20]
pop dword [ebx + 0x5c]
mov eax, dword [ebx + 0x24]
neg eax
mov dword [ebx + 0x60], eax
inc word [ebx + 0x64]
mov word [ebx + 0x66], 0x18
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
push esi
call sub.GDI32.dll_CreateCompatibleDC
push eax
push dword [ebp + 0x10]
push eax
call sub.GDI32.dll_SelectObject
push esi
push dword [ebp + 0xc]
call sub.USER32.dll_ReleaseDC
pop eax
mov esi, eax
push 0
lea eax, [ebx + 0x58]
push eax
push dword [ebx + 0x10]
push dword [ebx + 0x24]
push 0
push dword [ebp + 0x10]
push esi
call sub.GDI32.dll_GetDIBits
push 0
lea eax, [ebx + 0x58]
push eax
push dword [ebx + 0x14]
push dword [ebx + 0x24]
push 0
push dword [ebp + 0x10]
push esi
call sub.GDI32.dll_GetDIBits
push esi
call sub.GDI32.dll_DeleteDC
cmp dword [ebx + 0x18], 0
je 0x401682
cmp dword [ebx + 0x1c], 0
je 0x401682
cmp dword [ebx + 0x10], 0
je 0x401682
cmp dword [ebx + 0x14], 0
je 0x401682
cmp dword [ebx + 8], 0
jne 0x40168b
push ebx
call fcn.00401498
inc dword [ebp - 0x1c]
push 0x401332
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
call sub.USER32.dll_SetTimer
or dword [ebx + 4], 3
push ebx
call fcn.00401156
push dword [ebx]
call sub.USER32.dll_GetDC
push 1
push eax
push ebx
call fcn.00401255
push eax
push dword [ebx]
call sub.USER32.dll_ReleaseDC
popal
mov eax, dword [ebp - 0x1c]
leave
ret 0x14
Function at 0x403dc0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00425ab1
push 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x98]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004072f0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x98]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004072f0
mov ecx, dword [ebp - 0x10]
add ecx, 0xd4
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x403e37
push 0
push 0x49c0c8
push str.WSAStartup_failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x403fc7
mov dword [ebp - 0x18], 0x80
mov dword [ebp - 0x14], 0
jmp 0x403e50
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 8
jge 0x403e73
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ecx + eax*4 + 0xb4], edx
mov eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x18], eax
jmp 0x403e47
push 0xffffffffffffffff
push 0x7d
push 0
push 0x49c0e8
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x264
call fcn.004262df
push 0xffffffffffffffff
push 0x9b
push 0
push 0x49c0f0
push 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x264
call fcn.004262df
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x49c0fc
push 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x264
call fcn.004262df
mov ecx, dword [ebp - 0x10]
add ecx, 0x264
call fcn.00407290
or eax, 0x20
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x264
call fcn.004072c0
push 0xfffffffffffffffe
push 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x264
call fcn.00407260
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4b57b4], eax
cmp dword [0x4b57b4], 0xffffffff
jne 0x403f29
push 0
push 0x49c104
push 0x49c110
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x66
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00407220
push eax
push 0x50000003
mov ecx, 0x4b60b0
call fcn.004260dc
mov dword [ebp - 0xc], 0x82
mov dword [ebp - 8], 0xffffffff
lea ecx, [ebp - 0xc]
push ecx
push 2
mov ecx, 0x4b60b0
call fcn.004071f0
push 0
push 0
push 0x49c134
mov ecx, 0x4b60b0
call fcn.004071c0
push 0
push 1
push 0x49c148
mov ecx, 0x4b60b0
call fcn.004071c0
mov edx, dword [ebp - 0x10]
add edx, 0x34c
mov dword [0x4b57b0], edx
push 1
push 0x3fc
mov ecx, dword [ebp - 0x10]
call fcn.0042c3d3
mov ecx, eax
call fcn.0042c3a2
push 0
mov ecx, dword [ebp - 0x10]
call fcn.0042a9b8
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret
Function at 0x404120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov dword [0x4b57ac], 0
mov dword [0x4b57b8], 0
mov dword [0x4b57bc], 0
mov ecx, dword [ebp - 4]
add ecx, 0x264
call fcn.00407040
mov ecx, dword [ebp - 4]
call fcn.00404290
test eax, eax
je 0x404283
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x2d8
call fcn.0042c3a2
push 1
push 0x3fc
mov ecx, dword [ebp - 4]
call fcn.0042c3d3
mov ecx, eax
call fcn.0042c3a2
mov ecx, dword [ebp - 4]
add ecx, 0xa4
call fcn.00407010
movzx eax, al
test eax, eax
je 0x404210
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
mov dword [0x4b60a0], edx
mov dword [0x4b60a4], 0
mov eax, dword [ebp - 4]
mov cx, word [eax + 0xb0]
mov word [0x4b60a8], cx
mov edx, dword [ebp - 4]
mov ax, word [edx + 0xb2]
mov word [0x4b60aa], ax
mov ecx, dword [ebp - 4]
add ecx, 0x264
mov dword [0x4b60ac], ecx
mov edx, dword [ebp - 4]
add edx, 0x2d8
mov dword [0x4b6124], edx
push 0
push 0
push 0x4b60a0
push 0x404f10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x404283
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xa8]
mov dword [0x4b60a0], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xac]
mov dword [0x4b60a4], eax
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 0xb0]
mov word [0x4b60a8], dx
mov eax, dword [ebp - 4]
mov cx, word [eax + 0xb2]
mov word [0x4b60aa], cx
mov edx, dword [ebp - 4]
add edx, 0x264
mov dword [0x4b60ac], edx
mov eax, dword [ebp - 4]
add eax, 0x2d8
mov dword [0x4b6124], eax
push 0
push 0
push 0x4b60a0
push 0x405030
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x404620
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487d08
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x9c], 0
je 0x404783
lea ecx, [ebp + 8]
call fcn.004022a0
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40472c
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x9c], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40472c
cmp dword [ebp - 0x1c], 0x2af9
jne 0x4046d1
push 0
push 0x49c204
push 0x49c210
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004074e0
jmp 0x4047ee
cmp dword [ebp - 0x1c], 0x2afc
jne 0x404704
push 0
push 0x49c230
push 0x49c23c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004074e0
jmp 0x4047ee
push 0
push 0x49c260
push 0x49c26c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004074e0
jmp 0x4047ee
push 0x49c0b9
mov ecx, dword [ebp - 0x18]
add ecx, 0xa4
call fcn.00406de0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + edx]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xa8], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xa0
call fcn.00406de0
jmp 0x4047df
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xa0
call fcn.004068d0
push 0x49c0ba
mov ecx, dword [ebp - 0x18]
add ecx, 0xa4
call fcn.00406de0
mov ecx, dword [ebp - 0x18]
add ecx, 0xa0
call fcn.004022a0
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xa8], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xa8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004074e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret 4
Function at 0x406320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x406344
xor eax, eax
jmp 0x4063c4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40635b
xor eax, eax
jmp 0x4063c4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4063a7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x4063a7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x40637e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x4063b3
xor eax, eax
jmp 0x4063c4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x4063c1
xor eax, eax
jmp 0x4063c4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40a700
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40a795
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x18]
cmp dword [edx + eax*4], 0
je 0x40a784
cmp dword [ebp - 0x18], 0x32
jge 0x40a784
mov ecx, dword [ebp - 0x1c]
movsx edx, word [ecx + 0xa]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + edx*4]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004465d0
add esp, 0xc
push 0x64
imul edx, dword [ebp - 0x18], 0x64
add edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_ntop]
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x40a72d
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, 1
jmp 0x40a7a0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40c6e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00441ff0
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x40c707
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x40c714
push 0x49cc20
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40c76f
lea edx, [ebp + 0x10]
mov dword [ebp - 0x1008], edx
mov eax, dword [ebp - 0x1008]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0xffffffffffffffff
push 0x1000
lea edx, [ebp - 0x1004]
push edx
call fcn.0043d293
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp dword [ebp - 0x100c], 0xffffffff
jne 0x40c758
push 0x49cc50
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x1008], 0
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret

Function at 0x40c780
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x40c7ca
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40c7b5
xor eax, eax
jmp 0x40c7cd
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + edx]
mov eax, dword [eax]
jmp 0x40c7cd
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x40f650
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x40f662
jmp 0x40f6d2
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [ebp + 8]
call fcn.00406ff0
add eax, 1
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40f6cc
mov ecx, dword [ebp + 8]
call fcn.00406ff0
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00406bc0
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.004465d0
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 4]
push edx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esp, ebp
pop ebp
ret
Function at 0x4178d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4890a8
mov eax, dword fs:[0]
push eax
sub esp, 0xfc4
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xfd0], ecx
mov dword [ebp - 0xfcc], 0
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0xfd0]
add ecx, 4
call fcn.004022a0
push eax
push 0xfb8
lea eax, [ebp - 0xfc8]
push eax
lea ecx, [ebp + 0x14]
call fcn.004022a0
push eax
lea ecx, [ebp + 0x10]
call fcn.004022a0
push eax
lea ecx, [ebp + 0xc]
call fcn.004022a0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0xfc8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004065b0
mov edx, dword [ebp - 0xfcc]
or edx, 1
mov dword [ebp - 0xfcc], edx
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004074e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.004074e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004074e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4179c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004022a0
push eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.004022a0
push eax
lea ecx, [ebp + 8]
call fcn.004022a0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 8], eax
lea ecx, [ebp + 8]
call fcn.004074e0
lea ecx, [ebp + 0xc]
call fcn.004074e0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x417b70
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 8], 0
je 0x417bbd
mov edx, dword [ebp - 4]
shr edx, 8
mov eax, dword [ebp - 4]
and eax, 0xff
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx]
xor eax, ecx
xor edx, dword [eax*4 + 0x49ece8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x417b7d
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x417c90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x7f6
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x417cc2
xor al, al
jmp 0x417ed9
push 0x5c
lea ecx, [ebp - 0x804]
push ecx
call fcn.00418a00
add esp, 8
mov dword [ebp - 0x818], eax
mov edx, dword [ebp - 0x818]
mov byte [edx + 1], 0
lea eax, [ebp - 0x804]
mov dword [ebp - 0x814], eax
mov ecx, dword [ebp - 0x814]
add ecx, 1
mov dword [ebp - 0x820], ecx
mov edx, dword [ebp - 0x814]
mov al, byte [edx]
mov byte [ebp - 0x80d], al
add dword [ebp - 0x814], 1
cmp byte [ebp - 0x80d], 0
jne 0x417cfe
mov ecx, dword [ebp - 0x814]
sub ecx, dword [ebp - 0x820]
mov dword [ebp - 0x828], ecx
mov edx, dword [ebp - 0x828]
add edx, 0xa
mov dword [ebp - 0x830], edx
push 0x49ec24
mov eax, dword [ebp - 0x830]
push eax
mov ecx, dword [ebp - 0x818]
push ecx
call fcn.0043d9e4
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
jne 0x417db0
push 0
push 0x49ec30
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x417ed9
push 2
push 0
push 0
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x4b6024], eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [0x4b6024]
add ecx, 1
push ecx
call fcn.004251b1
add esp, 4
mov dword [ebp - 0x82c], eax
mov edx, dword [ebp - 0x82c]
mov dword [0x4b6020], edx
cmp dword [0x4b6020], 0
jne 0x417e2d
mov eax, dword [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0x49ec40
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x417ed9
push 0
lea ecx, [ebp - 0x808]
push ecx
mov edx, dword [0x4b6024]
push edx
mov eax, dword [0x4b6020]
push eax
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x417eca
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4b6020]
mov dword [ebp - 0x81c], eax
mov ecx, dword [ebp - 0x81c]
push ecx
call fcn.004251ac
add esp, 4
cmp dword [ebp - 0x81c], 0
jne 0x417e90
mov dword [ebp - 0x824], 0
jmp 0x417ea6
mov dword [0x4b6020], 0x8123
mov edx, dword [0x4b6020]
mov dword [ebp - 0x824], edx
mov dword [0x4b6020], 0
push 0
push 0x49ec50
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x417ed9
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret