joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b76f5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4b780d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b780d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004fd582
mov esi, eax
test esi, esi
je 0x4b780d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4b780d
mov ecx, esi
call fcn.004b7680
cmp edi, eax
jge 0x4b780d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4b7793
mov dword [esp + 0x34], 1
jmp 0x4b77ee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4b780d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004b6bf0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4bbcd0
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x50b248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], 0
call fcn.004bc6f0
mov eax, dword [esp + 0x24]
push 0x5ca440
push eax
xor edi, edi
xor ebx, ebx
call fcn.004e7bf4
add esp, 8
test eax, eax
je 0x4bbd1d
mov ebx, dword [esp + 0x24]
mov edi, 3
push 0
push 0
push ebx
push edi
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi], eax
je 0x4bbd67
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea ecx, [esp + 0xc]
push 4
push ecx
push 2
push eax
mov dword [esp + 0x1c], 0x15f90
call edi
mov eax, dword [esi]
lea edx, [esp + 0xc]
push 4
push edx
push 5
push eax
call edi
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push 4
push ecx
push 6
push edx
call edi
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.004fbb34
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4bc280
Capabilities:
Get http response content encoding
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b2d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
lea eax, [esi + 0x2c]
mov dword [ebp - 4], ebx
push eax
push 0x13
call fcn.004bc4b0
lea ecx, [esi + 0x30]
push ecx
push 5
mov ecx, esi
call fcn.004bc540
lea edx, [esi + 0x20]
mov ecx, esi
push edx
push 0x21
call fcn.004bc400
lea eax, [esi + 0x14]
mov ecx, esi
push eax
push 0x16
call fcn.004bc400
lea ecx, [esi + 0x18]
push ecx
push 1
mov ecx, esi
call fcn.004bc400
lea edx, [esi + 0x24]
mov ecx, esi
push edx
push 9
call fcn.004bc400
mov ecx, dword [esi + 8]
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push 0x1d
push ecx
mov dword [esi + 0x28], ebx
mov dword [ebp - 0x14], ebx
call edi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jbe 0x4bc36a
push eax
call fcn.004fb875
add esp, 4
lea edx, [ebp - 0x14]
mov ebx, eax
mov eax, dword [esi + 8]
push 0
push edx
push ebx
push 0x1d
push eax
call edi
push str.gzip
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4bc348
mov dword [esi + 0x28], 1
jmp 0x4bc35f
push str.deflate
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4bc35f
mov dword [esi + 0x28], 2
push ebx
call fcn.004fb89e
add esp, 4
xor ebx, ebx
lea ecx, [esi + 0x1c]
push 0x5ca440
call fcn.004fbc71
mov dword [ebp - 0x18], ebx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push ebx
push 0x2b
push eax
mov dword [ebp - 0x14], ebx
call edi
mov eax, dword [ebp - 0x14]
cmp eax, 1
jb 0x4bc3e1
push eax
call fcn.004fb875
add esp, 4
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
mov ebx, eax
mov eax, dword [esi + 8]
push ecx
push edx
push ebx
push 0x2b
push eax
call edi
cmp dword [ebp - 0x18], 1
jbe 0x4bc3c5
push 0x59b33c
lea ecx, [esi + 0x1c]
call fcn.004fbec4
push ebx
lea ecx, [esi + 0x1c]
call fcn.004fbec4
push ebx
call fcn.004fb89e
add esp, 4
xor ebx, ebx
jmp 0x4bc37a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bc5e0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], esp
cmp eax, ebx
je 0x4bc61e
push eax
call fcn.004e862e
add esp, 4
mov dword [esi + 0xc], ebx
push 0x400
lea ecx, [ebp - 0x40]
mov dword [esi + 0x10], ebx
call fcn.005035d6
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x43f]
mov byte [ebp - 0x440], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x14], ebx
je 0x4bc69d
mov edx, dword [esi + 8]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x440]
push 0x400
push ecx
push edx
call edi
cmp eax, ebx
je 0x4bc65a
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jbe 0x4bc65a
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x40]
call fcn.005037bd
jmp 0x4bc65a
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.004fc57c
mov edi, eax
cmp edi, ebx
jbe 0x4bc6bc
lea ecx, [ebp - 0x40]
call fcn.0050364d
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
cmp ecx, edi
lea ecx, [ebp - 0x40]
sbb esi, esi
neg esi
call fcn.0050365f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bcc00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50b435
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x38]
mov dword [esp + 0x10], 7
call fcn.004fbb34
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 6
call fcn.004fbb34
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 5
call fcn.004fbb34
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 4
call fcn.004fbb34
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.004fbb34
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call fcn.004fbb34
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call fcn.004fbb34
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call fcn.004fbb34
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.004fbb34
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4bcc16
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50b435
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x38]
mov dword [esp + 0x10], 7
call fcn.004fbb34
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 6
call fcn.004fbb34
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 5
call fcn.004fbb34
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 4
call fcn.004fbb34
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.004fbb34
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call fcn.004fbb34
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call fcn.004fbb34
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call fcn.004fbb34
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.004fbb34
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4be370
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4be37b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4be47e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x579178]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x579178]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x579178]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x579178]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x579178]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x579178]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x579178]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x579178]
xor eax, edx
inc ecx
dec edi
jne 0x4be396
pop edi
test esi, esi
je 0x4be4a0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x579178]
xor eax, edx
inc ecx
dec esi
jne 0x4be482
pop esi
pop ebx
not eax
ret
Function at 0x4c58c0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x59c98c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4c58d3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4c5914
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x59ca34]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4c5946
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4c594a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4c593b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4c5968
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4c596c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4c595d
xor ecx, ecx
mov eax, 0x59c99c
xor ebx, ebx
mov bl, byte [ecx + 0x59ca44]
cmp byte [esp + ebx + 0x14], 0
je 0x4c5997
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x59ca5c]
cmp byte [esp + ebx + 0x14], 0
je 0x4c59ae
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4c597e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4c5907
lea edx, [esp + 0x84]
push edx
call fcn.004c59f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4cc400
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4cc44c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4cc44c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4cc436
push eax
call ebp
test ax, ax
jl 0x4cc444
inc esi
add edi, 4
cmp esi, 6
jb 0x4cc428
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004cc100
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4ce8d0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4ce930
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4ce930
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4ce930
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4ce930
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4ce940
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4d2d70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5e8e4c]
xor edx, edx
cmp eax, edx
jne 0x4d2d96
xor eax, eax
mov byte [eax + 0x5e8d4c], al
inc eax
cmp eax, 0x100
jl 0x4d2d7e
mov dword [0x5e8e4c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5e8d4c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4d2e27
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4d2dfa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4d2dc8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4d2e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4d2e83
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4d2e6a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d9840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50bade
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004da160
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x57c41c
call fcn.004fb875
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4d98d3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004fb875
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4d98cc
push 0
mov ecx, eax
call fcn.004d09b0
mov dword [esi + 0xc], eax
jmp 0x4d98d5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4d98d5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4fdf26
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4fdf5e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004fbf8f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004fbf67
jmp 0x4fdf6a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ff618
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ff65a
call fcn.00505877
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ff65a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ff651
xor eax, eax
jmp 0x4ff662
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ff668
pop edi
pop esi
pop ebx
ret 4
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040d73f
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040d73f
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040d73f
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040d73f
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040d73f
mov dword [0x41203c], eax
call fcn.0040d73f
test eax, eax
jge 0x402550
push 8
call fcn.0040d73f
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040d73f
pop ecx
push 1
call fcn.0040d73f
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040d73f
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040d73f
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040d73f
jmp 0x402495

Function at 0x40d73f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40d74e
pop dword [ebp - 0x20]
mov eax, 0x40d74e
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x36cf7
push 0
mov eax, 0x92e4bf3e
add eax, 0x6d5c219a
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x8c2ebde1
add ecx, 0x73d18087
mov esi, eax
mov edi, 0x413bc4
add edi, dword [ebp - 0x20]
mov edx, 0x773e10aa
add edx, 0x155c46ba
add dword [ebp - 0x10], edx
mov ebx, dword [edi]
mov dword [ebp - 0x10], 0xd0275bdd
sub ebx, edx
xor dword [ebp - 4], ecx
mov dword [esi], ebx
xor dword [ebp - 0x10], 0xa5d37941
add esi, 4
add edi, 0xe6779917
sub edi, 0xe6779913
loop 0x40d7a2
add eax, 0xec73
xor ebx, ebx
add ebx, eax
add eax, 0x4b1fd06f
add eax, 0xb4e02f96
mov ecx, 0xda3e14be
add ecx, 0x2601eb42
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x10006330
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
xor eax, eax
test cl, 1
je 0x1000634b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10006356
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10006361
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000636c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10006377
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10006382
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000638d
bts eax, 1
test cl, 2
je 0x10006396
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x10006432
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10006423
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10006340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006460
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1012f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x10122074
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp - 8], 0
call fcn.100d7921
add esp, 0xc
test eax, eax
je 0x100064b0
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fd54
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.100d7968
add esp, 4
mov ebx, eax
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
test ebx, ebx
jne 0x100064e6
call fcn.100d7baf
add esp, 4
xor al, al
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fd54
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call fcn.100d7db8
add esp, 0x10
test eax, eax
je 0x1000653b
push esi
nop dword [eax + eax]
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 0xc]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x10006502
push dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
push 0x400
push 1
push ebx
call fcn.100d7db8
add esp, 0x10
test eax, eax
jne 0x10006500
pop esi
push ebx
call fcn.100d7ef3
push dword [ebp - 8]
call fcn.100d7baf
mov ecx, dword [ebp - 4]
add esp, 8
not dword [edi]
xor ecx, ebp
mov al, 1
pop ebx
pop edi
call fcn.1007fd54
mov esp, ebp
pop ebp
ret 0xc