joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a5380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154133
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 4], vtable.icu_67::UnicodeMatcher.0
mov esi, dword [ebp + 8]
lea eax, [edi + 0x34]
mov dword [edi], vtable.icu_67::UnicodeSet.0
mov dword [edi + 4], vtable.icu_67::UnicodeSet.1.0
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0x19
mov dword [edi + 0x10], 1
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push dword [esi + 0x10]
mov dword [ebp - 4], 0
call fcn.1008f660
test al, al
je 0x100a5581
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
shl eax, 2
push eax
push dword [esi + 8]
push dword [edi + 8]
call fcn.10108470
mov eax, dword [esi + 0x2c]
add esp, 0xc
test eax, eax
je 0x100a5528
cmp dword [eax + 4], 0
je 0x100a5528
push 0x18
mov dword [ebp - 0x10], 0
call fcn.1008f660
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x100a5488
lea ecx, [ebp - 0x10]
push ecx
push 1
push sym.icuuc67.dll_uhash_compareUnicodeString_67
push sym.icuuc67.dll_uprv_deleteUObject_67
mov ecx, eax
call fcn.1008f660
mov ebx, eax
jmp 0x100a548a
xor ebx, ebx
mov byte [ebp - 4], 0
mov dword [edi + 0x2c], ebx
test ebx, ebx
jne 0x100a549e
mov dword [ebp - 0x10], 7
jmp 0x100a54d8
cmp dword [ebp - 0x10], 0
jle 0x100a54bf
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1015821c]
mov ecx, ebx
call esi
mov dword [edi + 0x2c], 0
jmp 0x100a54d8
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
push 0x100a6cb0
push dword [esi + 0x2c]
call fcn.1008f660
cmp dword [ebp - 0x10], 0
jle 0x100a5528
cmp dword [edi + 0x18], 0
jne 0x100a5522
cmp dword [edi + 0x30], 0
jne 0x100a5522
mov eax, dword [edi + 8]
mov dword [eax], 0x110000
mov eax, dword [edi + 0x24]
mov dword [edi + 0x10], 1
test eax, eax
je 0x100a5512
push eax
call fcn.1008f660
add esp, 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x100a551e
call sym.icuuc67.dll_public:_void___thiscall_icu_67::UVector::removeAllElements_void_
mov byte [edi + 0x14], 0
mov byte [edi + 0x14], 1
jmp 0x100a5581
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x100a5581
mov eax, dword [edi + 0x24]
mov esi, dword [esi + 0x28]
test eax, eax
je 0x100a5550
push eax
call fcn.1008f660
add esp, 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
lea eax, [esi*2 + 2]
push eax
call fcn.1008f660
add esp, 4
mov dword [edi + 0x24], eax
test eax, eax
je 0x100a5581
push esi
push ebx
push eax
mov dword [edi + 0x28], esi
call fcn.1008f660
mov ecx, dword [edi + 0x28]
add esp, 0xc
mov eax, dword [edi + 0x24]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100a55a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154158
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push 0
push dword [ebp + 8]
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
mov dword [esi], vtable.icu_67::UnicodeSet.0
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1008f660
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100a5650
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154188
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push dword [ebp + 0xc]
lea eax, [esi + 0x34]
mov dword [esi], vtable.icu_67::UnicodeSet.0
push dword [ebp + 8]
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [ebp - 4], 0
mov dword [eax], 0x110000
call fcn.1008f660
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100a81d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 0xc], ebx
push edi
mov eax, dword [ebx + 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
test eax, eax
jle 0x100a8233
mov eax, dword [ebx + 4]
movzx edx, byte [ebp + 8]
mov dword [ebp - 8], eax
nop dword [eax]
mov ebx, dword [eax + esi*8 + 4]
mov ecx, dword [eax + esi*8]
dec ebx
mov eax, ebx
movzx edi, cl
xor eax, ecx
test eax, 0xffffff00
jne 0x100a821c
cmp edi, edx
ja 0x100a8227
jmp 0x100a8220
cmp edi, edx
jbe 0x100a827c
movzx eax, bl
cmp edx, eax
jbe 0x100a827c
mov eax, dword [ebp - 8]
inc esi
cmp esi, dword [ebp - 4]
jl 0x100a8200
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x100a8271
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100a8271
xor esi, esi
test ecx, ecx
jle 0x100a8271
movzx edi, byte [ebp + 8]
nop dword [eax + eax]
push esi
mov ecx, eax
call fcn.1008f660
push 0
mov ecx, eax
call fcn.1008f660
movzx eax, al
cmp eax, edi
je 0x100a827c
mov eax, dword [ebx + 0x28]
inc esi
cmp esi, dword [eax + 4]
jl 0x100a8250
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100a96e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154548
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push dword [ebp + 0x18]
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
push dword [ebp + 0x14]
mov dword [esi], vtable.icu_67::UnicodeSet.0
push dword [ebp + 0x10]
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
push dword [ebp + 0xc]
mov dword [esi + 8], eax
push dword [ebp + 8]
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1008f660
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100a97a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154578
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push dword [ebp + 0x14]
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov dword [esi], vtable.icu_67::UnicodeSet.0
push dword [ebp + 0xc]
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
push dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1008f660
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x100a9f80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154688
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push dword [ebp + 0xc]
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
push dword [ebp + 8]
mov dword [esi], vtable.icu_67::UnicodeSet.0
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1008f660
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x401320
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [ecx + 4], 0xffffffff
mov dword [esp], ecx
je 0x4013b3
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
lea ebp, [ecx + 0xc]
push 0xaa55
lea ebx, [edi + 6]
mov esi, ebp
call sub.WS2_32.dll_htons
mov word [esi], ax
mov eax, dword [esp + 0x18]
add esi, 2
push edi
mov word [esi], di
push eax
add esi, 2
push esi
call fcn.0043fa50
add esp, 0xc
push 0x55aa
call sub.WS2_32.dll_htons
mov word [esi + edi], ax
xor esi, esi
test ebx, ebx
jle 0x4013a5
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 4]
push 0
push ebx
push ebp
push ecx
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x4013a9
test eax, eax
je 0x401393
add esi, eax
cmp esi, ebx
jl 0x401377
add dword [edi + 0x2820], ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edi, dword [esp + 0x10]
add dword [edi + 0x2820], ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x402140
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x457984
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x477c1c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0x8000
lea ecx, [esi + 0x280c]
mov dword [esi], vtable.CAPISocket.0
call fcn.00402820
mov dword [esp + 0x18], 0
lea ecx, [esi + 0x2824]
mov dword [esp + 0xc], ecx
call fcn.00401ed0
mov byte [esp + 0x18], 2
mov dword [esi + 4], 0xffffffff
cmp dword [0x479110], 0
jne 0x4021bb
push 0x478f80
push 0x101
call sub.WS2_32.dll_WSAStartup
inc dword [0x479110]
mov dword [esi + 0x2820], 0
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x4027b1
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x40281c
push ebx
lea ecx, [esp + 8]
push ecx
push 0x4004667f
push eax
xor ebx, ebx
call sub.WS2_32.dll_ioctlsocket
cmp dword [esp + 8], ebx
jbe 0x402810
push edi
lea edi, [esi + 0xc]
lea esp, [esp]
mov edx, dword [esi + 4]
push 0
push 0x2800
push edi
push edx
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x40280f
test eax, eax
je 0x402809
push eax
push edi
lea ecx, [esi + 0x280c]
add ebx, eax
call fcn.00401530
cmp ebx, dword [esp + 0xc]
jb 0x4027e0
pop edi
pop ebx
mov ecx, esi
call fcn.00402690
test eax, eax
jne 0x402811
pop esi
pop ecx
ret
Function at 0x403ee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403ef9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403f34
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403f30
lea ebx, [ebx]
cmp esi, eax
jae 0x403f34
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403f20
cmp esi, eax
jb 0x403f3a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x404610
Capabilities:
Connect to http server
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x457e40
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x477c1c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
push 0
push 0
push str.3DOnline
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 4], eax
test eax, eax
jne 0x4046b0
lea ecx, [esp + 0x1c]
call fcn.00403280
mov dword [esp + 0x14], 0
push 0x77
call fcn.0042be72
test eax, eax
je 0x404676
push 0x77
push eax
lea ecx, [esp + 0x24]
call fcn.004041d0
mov eax, dword [esp + 0x1c]
push 0x10
push eax
add esi, 0xc
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004032f0
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
cmp dword [esp + 0x1c], 1
lea edi, [esi + 0xc]
push 0
jne 0x4046d5
push 0x8000000
push 1
lea ecx, [esi + 0x130]
push ecx
lea edx, [esi + 0x110]
push edx
push 0x15
jmp 0x4046df
push 0
push 3
push 0
push 0
push 0
push edi
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 8], eax
test eax, eax
jne 0x404723
lea ecx, [esp + 0x1c]
call fcn.00403280
mov dword [esp + 0x14], 1
push 0x78
call fcn.0042be72
test eax, eax
je 0x404716
push 0x78
push eax
lea ecx, [esp + 0x24]
call fcn.004041d0
mov eax, dword [esp + 0x1c]
push 0x10
push eax
push edi
jmp 0x404681
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4094f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x458de1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x477c1c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00401cc0
mov dword [esp + 0x34], 1
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404460
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401cc0
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 0x10
jb 0x409591
mov edx, dword [esp + 0x14]
push edx
call fcn.00421b49
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x40d244
Capabilities:
Check os version

Disassembly:
sub esp, 0xa8
mov eax, dword [0x477c1c]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, ecx
call fcn.0042dd1c
push 0x45ec69
lea ecx, [esi + 0xc8]
call fcn.0042aa6e
push 0x45ec69
lea ecx, [esi + 0x12c]
call fcn.0042aa6e
mov ecx, dword [esi + 0x20]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x10]
sub edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 4]
mov ecx, dword [esi + 0xc4]
push 1
push edx
mov edx, dword [esi + 0xc0]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0042aad0
mov ecx, esi
call fcn.0040cb10
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x90
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.00440d10
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x18], 5
jb 0x40d34a
push edi
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.SetLayeredWindowAttributes
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x40d32e
mov eax, dword [esi + 0x20]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [esi + 0x20]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [esi + 0x20]
push 2
push 0xbe
push 0
push edx
call edi
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0044014d
add esp, 0xa8
ret
mov ecx, dword [esp + 0xa8]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0044014d
add esp, 0xa8
ret
Function at 0x40dd90
Capabilities:
Hash data with md5
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45961f
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x477c1c]
xor eax, esp
mov dword [esp + 0x74], eax
push ebp
push esi
push edi
mov eax, dword [0x477c1c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x90], ebp
mov edi, dword [esp + 0x98]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x90], 1
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
call fcn.0040dc00
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
mov ecx, esi
call fcn.0040dcb0
lea ecx, [esp + 0x10]
call fcn.00403280
mov byte [esp + 0x90], 2
push 0x45ec69
mov ecx, edi
call fcn.00404b00
mov dword [esp + 0x14], 1
xor esi, esi
movzx eax, byte [esp + esi + 0x74]
push eax
lea ecx, [esp + 0x14]
push str._02x
push ecx
call fcn.00403430
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
mov ecx, edi
call fcn.004076c0
inc esi
cmp esi, 0x10
jl 0x40de61
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40deb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x90], ebp
mov eax, dword [esp + 0x9c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dee1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0044014d
add esp, 0x84
ret 8

Function at 0x40df30
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x40df4a
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [esi + 0x10], 0
pop esi
ret

Function at 0x40df90
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
xor ecx, ecx
lea eax, [esi + 8]
push eax
push ecx
push esi
push 0x40df60
push ecx
push ecx
mov dword [esi], vtable.CThread.0
mov dword [esi + 4], ecx
mov dword [eax], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], edi
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x40e540
Capabilities:
Access peb ldr_data
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x459748
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x477c1c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x40e577
lea eax, [esp + 0x20]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40e5c8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jbe 0x40e5c8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x40e5c4
mov eax, dword [esp + 0x20]
push eax
call fcn.00421b49
add esp, 4
mov al, 1
jmp 0x40e5ed
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x40e5eb
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00421b49
add esp, 4
xor al, al
mov byte [esp + 0x20], bl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0xf
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x40e970
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x459830
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x477c1c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x48]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401cc0
mov byte [esp + 0x38], 2
mov byte [esp + 0x38], 1
mov ecx, esi
call fcn.0040e540
cmp al, bl
je 0x40eaa2
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x64]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401cc0
mov byte [esp + 0x38], 3
mov byte [esp + 0x38], 1
mov ecx, esi
call fcn.0040e540
cmp al, bl
je 0x40eaa2
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x28]
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jae 0x40ea33
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x3c], esi
jae 0x40ea48
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], esi
jae 0x40ea56
lea eax, [esp + 0x44]
push ecx
push eax
call fcn.00442156
add esp, 8
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x3c], esi
jb 0x40ea77
mov eax, dword [esp + 0x28]
push eax
call fcn.00421b49
add esp, 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov dword [esp + 0x1c], 0xffffffff
cmp dword [esp + 0x58], esi
jb 0x40ea9e
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00421b49
add esp, 4
mov al, 1
jmp 0x40eae7
mov byte [esp + 0x1c], bl
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jb 0x40eabe
mov edx, dword [esp + 0x28]
push edx
call fcn.00421b49
add esp, 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov dword [esp + 0x1c], 0xffffffff
cmp dword [esp + 0x58], esi
jb 0x40eae5
mov eax, dword [esp + 0x44]
push eax
call fcn.00421b49
add esp, 4
xor al, al
mov byte [esp + 0x44], bl
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x38
Function at 0x412800
Capabilities:
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412810
sub eax, edx
mov edx, eax
mov eax, 0x1505
mov ecx, 0
je 0x412846
push ebx
push edi
lea esp, [esp]
movsx edi, byte [ecx + esi]
mov ebx, eax
shl ebx, 5
add ebx, eax
add edi, ebx
inc ecx
mov eax, edi
cmp ecx, edx
jb 0x412830
pop edi
pop ebx
pop esi
ret 4