joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ebbc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x534960
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0052c0da
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4ebbf3
xor al, al
jmp 0x4ebd1f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x4ebc15
xor al, al
jmp 0x4ebd1f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4ebc28
xor al, al
jmp 0x4ebd1f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4ebc3c
xor al, al
jmp 0x4ebd1f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0052044f
test eax, eax
jne 0x4ebc70
xor al, al
jmp 0x4ebd1f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x6f7b5c
mov dword [esp + 0x20], ebp
call fcn.0052c0da
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.00528fee
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.00529045
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4ebd04
mov ax, word [ebx]
test ax, ax
je 0x4ebcf6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004ebd40
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4ebcda
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.00529045
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4ec240
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.0052a69e
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4ec286
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.0050f1c8
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x723570
push ecx
call fcn.0051106f
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4f5990
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 + 0x72718c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4f59a3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4f59e4
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 + 0x727234]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4f5a16
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4f5a1a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4f5a0b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4f5a38
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4f5a3c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4f5a2d
xor ecx, ecx
mov eax, 0x72719c
xor ebx, ebx
mov bl, byte [ecx + 0x727244]
cmp byte [esp + ebx + 0x14], 0
je 0x4f5a67
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x72725c]
cmp byte [esp + ebx + 0x14], 0
je 0x4f5a7e
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 0x4f5a4e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4f59d7
lea edx, [esp + 0x84]
push edx
call fcn.004f5ac0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4fa300
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x76f494]
xor edx, edx
cmp eax, edx
jne 0x4fa326
xor eax, eax
mov byte [eax + 0x76f394], al
inc eax
cmp eax, 0x100
jl 0x4fa30e
mov dword [0x76f494], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x76f394
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4fa3b7
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 0x4fa38a
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 0x4fa358
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4fa3c0
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 0x4fa413
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 0x4fa3fa
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 0x500dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53591e
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.005016f0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x6f8eac
call fcn.00521f15
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x500e63
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00521f15
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x500e5c
push 0
mov ecx, eax
call fcn.004f7f40
mov dword [esi + 0xc], eax
jmp 0x500e65
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x500e65
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 0x5245b4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5245ec
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.0052262f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00522607
jmp 0x5245f8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x525db2
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 0x525df4
call fcn.0052c0da
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x525df4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x525deb
xor eax, eax
jmp 0x525dfc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00525e02
pop edi
pop esi
pop ebx
ret 4

Function at 0x52c60a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x52c638
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x52c656
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0052c570
jmp 0x52c656
mov eax, dword [esi + 0x14]
test eax, eax
je 0x52c656
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0052c570
test edi, edi
mov eax, edi
jne 0x52c640
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x642c12c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x642c131b
cmp byte [esi + ebx - 1], 0xa
je 0x642c12ef
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x642c70a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x401050
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 0x401069
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40107d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40109e
cmp esi, eax
jae 0x401077
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401090
cmp esi, eax
jae 0x401077
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x441eba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0041ae7c
xor edi, edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 1
mov dword [esi + 0x18], edi
mov byte [esp + 0x14], 1
mov dword [esi], method.CFileFind.virtual_0
call fcn.004390f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x38], eax
mov byte [esp + 0x14], 2
call fcn.004390f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x3c], eax
mov byte [esp + 0x14], 3
call fcn.004390f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x40], eax
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 4
call fcn.0041ae7c
lea ecx, [esi + 0x74]
mov byte [esp + 0x14], 5
call fcn.004341ff
lea ecx, [esi + 0x88]
mov byte [esp + 0x14], 6
call fcn.004341ff
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x5c], 1
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x409040
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4425a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov edi, ecx
mov dword [esp + 0x14], ebp
call fcn.004390f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov ebx, dword [esp + 0x34]
cmp ebx, ebp
mov dword [esp + 0x24], ebp
je 0x40909a
push ebx
lea ebp, [edi + 8]
call fcn.004237f7
add esp, 4
push eax
push ebx
mov ecx, ebp
call fcn.00401f80
xor ebp, ebp
mov eax, dword [edi + 8]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebp
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40916d
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
mov edi, 0x400
sub eax, edi
or eax, ecx
jge 0x4090e1
push edi
lea ecx, [esp + 0x14]
call fcn.00401830
mov esi, dword [esp + 0x10]
cmp dword [esi - 8], edi
jge 0x4090f0
push 0x80070057
call fcn.00401030
mov dword [esi - 0xc], edi
mov word [esi + 0x800], bp
mov ebx, dword [esi - 4]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, ebx
or ecx, eax
jge 0x409119
push ebp
lea ecx, [esp + 0x14]
call fcn.00401830
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x18]
push esi
lea ecx, [esp + 0x20]
push ecx
push ebp
push edx
push eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x4c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, ebp
jne 0x409149
xor eax, eax
jmp 0x409156
push esi
call fcn.004237f7
add esp, 4
cmp eax, ebp
jl 0x4090e6
cmp eax, dword [esi - 8]
jg 0x4090e6
mov dword [esi - 0xc], eax
mov word [esi + eax*2], bp
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
push esi
call fcn.00401880
mov edi, dword [esp + 0x30]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x24], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4091a1
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x40a700
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x442778
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
mov eax, dword [eax]
sub esp, 0x20
push str.config.xml
push eax
call fcn.00423e36
add esp, 8
test eax, eax
jne 0x40a849
push esi
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a80a
lea ecx, [esp + 8]
call fcn.00417ec0
mov esi, dword [esi]
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.004181e0
test eax, eax
je 0x40a7f9
push 0x4466b0
lea ecx, [esp + 0xc]
call fcn.00418df0
test eax, eax
je 0x40a7f9
lea ecx, [esp + 8]
call fcn.00417780
push 0x4466a8
lea ecx, [esp + 0xc]
call fcn.00418df0
test eax, eax
je 0x40a7f9
push str.url_pay
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call fcn.00408a50
push eax
mov ecx, 0x458370
mov byte [esp + 0x30], 1
call fcn.00402e30
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 0
call fcn.004017a0
push str.url_help
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x10]
call fcn.00408a50
push eax
mov ecx, 0x458374
mov byte [esp + 0x30], 2
call fcn.00402e30
lea ecx, [esp + 4]
call fcn.004017a0
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00417620
mov eax, dword [esp + 0x3c]
cmp eax, 0x7d8
pop esi
jne 0x40a822
mov eax, dword [esp + 0x3c]
push eax
call fcn.00409bf0
jmp 0x40a833
cmp eax, 0x7d9
jne 0x40a836
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00409980
add esp, 4
mov edx, dword [0x458280]
push 0
push 1
push 2
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x40af90
Capabilities:
Create directory

Disassembly:
sub esp, 0x204
mov eax, dword [0x4573c0]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
mov esi, dword [esp + 0x210]
cmp word [esi], 0
mov dword [esp + 0x208], eax
je 0x40aff6
push edi
lea edi, [esp + 0xc]
sub edi, esi
mov edi, edi
mov ax, word [esi]
cmp ax, 0x5c
je 0x40afcf
cmp ax, 0x2f
jne 0x40afdf
cmp word [esi - 2], 0x3a
je 0x40afdf
push 0
lea eax, [esp + 0x10]
push eax
call ebx
mov cx, word [esi]
mov word [edi + esi], cx
add esi, 2
cmp word [esi], 0
mov word [edi + esi], 0
jne 0x40afc0
pop edi
push 0
lea edx, [esp + 0xc]
push edx
call ebx
mov ecx, dword [esp + 0x208]
pop esi
pop ebx
call fcn.00423e28
add esp, 0x204
ret 4

Function at 0x40bd10
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
push esi
mov esi, ecx
je 0x40bd58
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0
call ebx
push 1
mov edi, eax
call ebx
push 1
mov ebx, eax
mov eax, dword [esi + 0x1c]
push ebx
push edi
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push ebx
push edi
push 0
push 0
lea ecx, [esi + 0x42c]
call fcn.004382b1
pop edi
pop ebx
jmp 0x40bda5
mov ecx, dword [esi + 0x4d0]
mov edx, dword [esi + 0x4cc]
mov eax, dword [esi + 0x1c]
push 1
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x5fc]
mov ecx, dword [esi + 0x4d0]
mov edx, dword [esi + 0x4cc]
push 1
sub ecx, eax
push ecx
push edx
push eax
push 0
lea ecx, [esi + 0x42c]
call fcn.004382b1
push 0
mov ecx, esi
call fcn.00435b61
mov eax, dword [esi + 0x1c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
ret 4
Function at 0x410050
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442d58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
call dword [0x4561d0]
push 0
push 0
push 0
push 0
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x445c50
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push 0x44596c
lea ecx, [ebp - 0x14]
call fcn.00403c90
mov ecx, dword [0x458380]
mov edx, dword [ebp - 0x18]
push ecx
push edx
lea eax, [ebp - 0x14]
push str._d_s
push eax
mov dword [ebp - 4], 0
call fcn.00402f10
mov eax, dword [ebp - 0x14]
add esp, 0x10
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x410109
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.00424bd0
mov esi, esp
test esi, esi
je 0x410109
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push ebx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x41010b
xor eax, eax
push eax
lea ecx, [ebp - 0x10]
call fcn.00409b40
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 4]
mov esi, dword [eax - 0xc]
mov ebx, 1
mov ecx, ebx
sub ecx, edx
mov edx, dword [eax - 8]
or edx, ecx
mov byte [ebp - 4], bl
jge 0x41013d
push 0
lea ecx, [ebp - 0x10]
call fcn.00408970
mov eax, dword [ebp - 0x10]
push esi
push eax
lea edx, [ebp - 0x1c]
push edx
call fcn.00416de0
add esp, 0xc
push eax
mov ecx, 0x45837c
mov byte [ebp - 4], 2
call fcn.00402e30
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41017a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41019b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4101bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4130a0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push 2
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or edx, 0xffffffff
cmp eax, 0x20
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
jae 0x4130de
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4130d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
pop esi
ret 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4130ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
pop esi
ret 4
Function at 0x413730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4432c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x4573c0]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
push 0x44596c
mov dword [esp + 0x30], eax
mov edi, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
call fcn.004237f7
add esp, 4
push eax
push 0x44596c
lea ecx, [esp + 0x18]
call fcn.00405c00
push 0x44596c
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], ebx
call fcn.00403c90
mov eax, dword [edi + 0x130]
xor esi, esi
cmp eax, ebx
mov byte [esp + 0x38], 1
jbe 0x41380e
push ebp
lea ecx, [ecx]
cmp esi, ebx
jbe 0x4137d0
push 0x447e74
call fcn.004237f7
add esp, 4
push eax
push 0x447e74
lea ecx, [esp + 0x1c]
call fcn.00405ae0
movzx eax, byte [edi + esi + 0x128]
push eax
lea ecx, [esp + 0x14]
push 0x447e68
push ecx
call fcn.00402f10
mov eax, dword [esp + 0x1c]
push eax
mov ebp, eax
call fcn.004237f7
add esp, 0x10
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.00405ae0
mov eax, dword [edi + 0x130]
inc esi
cmp esi, eax
jb 0x4137b0
pop ebp
mov esi, dword [esp + 0x40]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov word [esi + 4], bx
call fcn.00405690
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413851
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [esp + 0x28], 8
jb 0x413865
mov eax, dword [esp + 0x14]
push eax
call fcn.00438ff2
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
pop ebx
call fcn.00423e28
add esp, 0x30
ret 4

Function at 0x416de0
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x443608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [0x4573c0]
push esi
mov dword [esp + 0x64], eax
push edi
xor edx, edx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0x4486c0
rep stosd dword es:[edi], eax
mov dword [esp + 8], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], 0x67452301
mov dword [esp + 0x5c], 0xefcdab89
mov dword [esp + 0x60], 0x98badcfe
mov dword [esp + 0x64], 0x10325476
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push eax
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], edx
call fcn.00416a90
mov esi, dword [esp + 0x7c]
push esi
lea ecx, [esp + 0x10]
call fcn.00416ba0
mov ecx, dword [esp + 0x6c]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x64]
mov eax, esi
pop esi
call fcn.00423e28
add esp, 0x70
ret