joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
push ebx
mov ebx, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x6c]
push esi
push ebx
call fcn.00410ac0
add esp, 8
test al, al
jne 0x410d21
pop esi
pop ebx
add esp, 0x5c
ret
push edi
push 0
push 0
push 0
call fcn.00401090
mov edi, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x4f495273
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push edi
push ecx
push ebx
call fcn.004011a0
add esp, 0x1c
test al, al
jne 0x410d65
call dword [sym.imp.kernel32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x5c
ret
lea edx, [esi + 0x64]
lea eax, [esi + 0x68]
lea ecx, [esi + 0x6c]
mov dword [esp + 0x18], edx
lea edx, [esi + 0x70]
mov dword [esp + 0x20], eax
lea eax, [esi + 0x74]
mov dword [esp + 0x28], ecx
lea ecx, [esi + 0x78]
mov dword [esp + 0x30], edx
lea edx, [esi + 0x7c]
mov dword [esp + 0x38], eax
lea eax, [esi + 0x80]
mov dword [esp + 0x40], ecx
lea ecx, [esi + 0x84]
add esi, 0x88
mov dword [esp + 0x60], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], 0x26
xor esi, esi
jmp 0x410df0
mov eax, dword [esp + esi*8 + 0x1c]
mov ecx, dword [esp + esi*8 + 0x18]
lea edx, [esp + 0xc]
push edx
push eax
push ecx
push ebx
call fcn.004011a0
add esp, 0x10
test al, al
je 0x410d56
inc esi
cmp esi, 0xa
jb 0x410df0
mov eax, dword [esp + 0xc]
mov byte [esp + 0x10], ah
mov byte [esp + 0x11], al
mov edx, dword [esp + 0x10]
push 0
push 2
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x20], edx
call fcn.004011a0
add esp, 0x10
test al, al
je 0x410d56
mov ecx, dword [esp + 0x74]
push ebx
call fcn.004074a0
mov ecx, dword [esp + 0x78]
push 0
push ebx
call fcn.00417050
pop edi
test al, al
pop esi
setne al
pop ebx
add esp, 0x5c
ret
Function at 0x410ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
push ebx
mov ebx, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x6c]
push esi
push ebx
call fcn.00410bc0
add esp, 8
test al, al
jne 0x410ef1
pop esi
pop ebx
add esp, 0x5c
ret
push edi
push 0
push 0
push 0
call fcn.00401090
mov edi, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push edi
push ecx
push ebx
call fcn.00401150
add esp, 0x1c
test al, al
jne 0x410f2d
call dword [sym.imp.kernel32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x5c
ret
cmp dword [esp + 0x14], 0x4f495273
jne 0x410f24
lea edx, [esi + 0x64]
lea eax, [esi + 0x68]
lea ecx, [esi + 0x6c]
mov dword [esp + 0x18], edx
lea edx, [esi + 0x70]
mov dword [esp + 0x20], eax
lea eax, [esi + 0x74]
mov dword [esp + 0x28], ecx
lea ecx, [esi + 0x78]
mov dword [esp + 0x30], edx
lea edx, [esi + 0x7c]
mov dword [esp + 0x38], eax
lea eax, [esi + 0x80]
mov dword [esp + 0x40], ecx
lea ecx, [esi + 0x84]
add esi, 0x88
mov dword [esp + 0x60], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], 0x26
xor esi, esi
jmp 0x410fc0
mov eax, dword [esp + esi*8 + 0x1c]
mov ecx, dword [esp + esi*8 + 0x18]
lea edx, [esp + 0x10]
push edx
push eax
push ecx
push ebx
call fcn.00401150
add esp, 0x10
test al, al
je 0x410f1e
inc esi
cmp esi, 0xa
jb 0x410fc0
lea edx, [esp + 0x10]
push edx
push 2
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00401150
add esp, 0x10
test al, al
je 0x410f1e
cmp word [esp + 0x10], 0
jne 0x410f24
mov ecx, dword [esp + 0x74]
push ebx
call fcn.00407690
mov ecx, dword [esp + 0x78]
push 0
push ebx
call fcn.00417490
pop edi
test al, al
pop esi
setne al
pop ebx
add esp, 0x5c
ret
Function at 0x417050
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x41c
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
test eax, eax
jne 0x41706c
xor al, al
pop ebx
add esp, 0x41c
ret 8
push edi
push 0
push 0
push 0
call fcn.00401090
mov edi, dword [esp + 0x434]
add esp, 0xc
push 1
push 0
push 0
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x4170af
call dword [sym.imp.kernel32.dll_GetLastError]
pop edi
xor al, al
pop ebx
add esp, 0x41c
ret 8
push 0
push 4
push 0x471a98
push edi
call fcn.004011a0
add esp, 0x10
test al, al
je 0x41709c
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
push 0
push 4
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x28], ecx
call fcn.004011a0
add esp, 0x10
test al, al
je 0x41709c
mov eax, dword [ebx + 4]
push ebp
mov ebp, dword [eax + 4]
push esi
mov esi, dword [ebp]
cmp esi, ebp
mov dword [esp + 0x18], esi
je 0x4171a5
lea esp, [esp]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x24]
push eax
push edi
mov dword [esp + 0x2c], ecx
call fcn.004011a0
add esp, 0x10
test al, al
je 0x4171e4
cmp dword [esi + 0x24], 0x10
jb 0x41712f
mov ecx, dword [esi + 0x10]
jmp 0x417132
lea ecx, [esi + 0x10]
lea edx, [esp + 0x28]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x417136
mov ecx, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
jbe 0x41715a
lea ebx, [ebx]
xor byte [esp + eax + 0x28], 0x65
inc eax
cmp eax, ecx
jb 0x417150
lea edx, [esp + 0x14]
push edx
push ecx
lea eax, [esp + 0x30]
push eax
push edi
call fcn.004011a0
add esp, 0x10
test al, al
je 0x4171e4
mov edx, dword [esi + 0x28]
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x14]
push ecx
push 4
lea ecx, [eax + edx*4]
push ecx
push edi
call fcn.004011a0
add esp, 0x10
test al, al
je 0x4171e4
lea ecx, [esp + 0x18]
call fcn.00416e60
mov esi, dword [esp + 0x18]
cmp esi, ebp
jne 0x417100
mov eax, dword [esp + 0x14]
push 0
push 2
lea edx, [esp + 0x18]
push edx
push edi
mov byte [esp + 0x20], ah
mov byte [esp + 0x21], al
call fcn.004011a0
add esp, 0x10
test al, al
je 0x4171e4
mov esi, dword [esp + 0x434]
test esi, esi
je 0x4171ff
push 1
push 0
push 0
push edi
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4171f9
call dword [sym.imp.kernel32.dll_GetLastError]
pop esi
pop ebp
pop edi
xor al, al
pop ebx
add esp, 0x41c
ret 8
sub eax, dword [esp + 0x24]
mov dword [esi], eax
pop esi
pop ebp
pop edi
mov al, 1
pop ebx
add esp, 0x41c
ret 8
Function at 0x417490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x428
mov eax, dword [ecx + 4]
test eax, eax
push esi
push edi
mov dword [esp + 0x24], ecx
je 0x41762f
push 0
push 0
push 0
call fcn.00401090
mov esi, dword [ebp + 8]
add esp, 0xc
push 1
push 0
push 0
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x417629
push 0
push 4
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00401150
add esp, 0x10
test al, al
je 0x417629
cmp dword [esp + 0x14], 0x52415653
jne 0x41762f
push 0
push 4
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.00401150
add esp, 0x10
test al, al
je 0x417629
mov edx, dword [esp + 0xc]
cmp edx, 0x10000000
jae 0x41762f
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
xor edi, edi
test edx, edx
jbe 0x4175ef
lea ebx, [ebx]
lea edx, [esp + 8]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00401150
add esp, 0x10
test al, al
je 0x417629
mov eax, dword [esp + 0x10]
cmp eax, 0x400
ja 0x41762f
lea ecx, [esp + 8]
push ecx
push eax
lea edx, [esp + 0x30]
push edx
push esi
call fcn.00401150
add esp, 0x10
test al, al
je 0x417629
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
mov byte [esp + ecx + 0x28], 0
jbe 0x4175b1
xor byte [esp + eax + 0x28], 0x65
inc eax
cmp eax, ecx
jb 0x4175a7
lea eax, [esp + 8]
push eax
push 4
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.00401150
add esp, 0x10
test al, al
je 0x417629
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
call fcn.00417460
test eax, eax
je 0x41762f
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov eax, dword [esp + 0xc]
inc edi
cmp edi, eax
jb 0x417550
lea edx, [esp + 8]
push edx
push 2
lea eax, [esp + 0x24]
push eax
push esi
call fcn.00401150
add esp, 0x10
test al, al
je 0x417629
cmp word [esp + 8], 0
jne 0x41762f
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x41763f
push 1
push 0
push 0
push esi
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x417639
call dword [sym.imp.kernel32.dll_GetLastError]
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
sub eax, dword [esp + 0x20]
mov dword [edi], eax
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41dde0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x10
xor eax, eax
mov dword [esp + 2], eax
push 0x10
lea ecx, [esp + 4]
mov dword [esp + 0xa], eax
push ecx
mov dword [esp + 0x12], eax
push edx
mov word [esp + 0xc], 0
mov word [esp + 0x1a], ax
call dword [sym.imp.user32.dll_GetWindowTextA]
test eax, eax
jne 0x41de18
mov eax, 3
add esp, 0x10
ret
cmp eax, 6
jle 0x41de26
mov eax, 2
add esp, 0x10
ret
push ebx
push esi
push edi
lea esi, [esp + 0xc]
lea edi, [esp + eax + 0xc]
mov eax, esi
cmp eax, edi
jae 0x41de52
mov ebx, dword [sym.imp.kernel32.dll_IsDBCSLeadByte]
lea ecx, [ecx]
xor ecx, ecx
mov cl, byte [esi]
push ecx
call ebx
test eax, eax
je 0x41de74
add esi, 2
cmp esi, edi
jb 0x41de40
lea edx, [esp + 0xc]
push 0x47336c
push edx
call fcn.0045f400
add esp, 8
test eax, eax
je 0x41de80
pop edi
pop esi
mov eax, 4
pop ebx
add esp, 0x10
ret
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
lea eax, [esp + 0xc]
push 0x473368
push eax
call fcn.0045f400
add esp, 8
test eax, eax
jne 0x41de68
lea ecx, [esp + 0xc]
push 0x473364
push ecx
call fcn.0045f400
add esp, 8
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 4
pop ebx
add esp, 0x10
ret
Function at 0x41df80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
push ebx
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x429
push esi
call ebx
push 0x42a
push esi
mov edi, eax
call ebx
mov ebx, eax
mov edx, ebx
call fcn.0041dde0
mov edx, edi
mov esi, eax
call fcn.0041dde0
xor edx, edx
cmp esi, edx
mov dword [esp + 0xc], eax
jne 0x41e04a
cmp eax, edx
jne 0x41e04a
mov esi, dword [sym.imp.user32.dll_GetWindowTextA]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x12], eax
mov dword [esp + 0x22], ecx
mov word [esp + 0x10], dx
mov word [esp + 0x20], dx
push 0x10
lea edx, [esp + 0x14]
mov dword [esp + 0x1a], eax
mov dword [esp + 0x2a], ecx
push edx
mov dword [esp + 0x22], eax
mov dword [esp + 0x32], ecx
push edi
mov word [esp + 0x2a], ax
mov word [esp + 0x3a], cx
call esi
push 0x10
lea eax, [esp + 0x24]
push eax
push ebx
call esi
lea ecx, [esp + 0x20]
push ecx
call fcn.00410620
lea edx, [esp + 0x14]
push edx
call fcn.004106e0
mov esi, dword [ebp + 8]
add esp, 8
push 0
push esi
call sub.user32.dll_WINNLSEnableIME
push 1
push esi
call dword [sym.imp.user32.dll_EndDialog]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [esp + 0x30], dx
mov ecx, 0x3f
lea edi, [esp + 0x32]
rep stosd dword es:[edi], eax
xor ebx, ebx
cmp esi, edx
stosb byte es:[edi], al
je 0x41e0a0
dec esi
je 0x41e07c
sub esi, 2
je 0x41e075
dec esi
jne 0x41e086
mov edx, 0x473410
jmp 0x41e086
mov edx, 0x4733f8
jmp 0x41e086
mov edx, 0x4733d4
mov ebx, 0x4733ac
push edx
push 0x4733a4
lea eax, [esp + 0x38]
push 0x47339c
push eax
call fcn.0045f486
add esp, 0x10
xor edx, edx
mov esi, dword [esp + 0xc]
cmp esi, edx
je 0x41e11a
xor eax, eax
mov word [esp + 0x130], dx
mov ecx, 0x3f
lea edi, [esp + 0x132]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
mov cl, byte [esp + eax + 0x30]
mov byte [esp + eax + 0x130], cl
inc eax
test cl, cl
jne 0x41e0c3
mov eax, esi
dec eax
je 0x41e0ee
sub eax, 2
je 0x41e0e7
dec eax
jne 0x41e0f8
mov edx, 0x473410
jmp 0x41e0f8
mov edx, 0x4733f8
jmp 0x41e0f8
mov edx, 0x4733d4
mov ebx, 0x4733ac
lea ecx, [esp + 0x130]
push ecx
push edx
push 0x473394
lea edx, [esp + 0x3c]
push 0x473388
push edx
call fcn.0045f486
add esp, 0x14
xor edx, edx
cmp ebx, edx
je 0x41e16b
xor eax, eax
mov word [esp + 0x130], dx
mov ecx, 0x3f
lea edi, [esp + 0x132]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x30]
mov byte [esp + eax + 0x130], cl
inc eax
test cl, cl
jne 0x41e140
push ebx
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x38]
push 0x473380
push ecx
call fcn.0045f486
add esp, 0x10
mov eax, dword [ebp + 8]
push 0x40
push 0x473370
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.user32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434d60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
push ebx
mov ebx, dword [eax + 0x14]
push ebp
mov ebp, dword [eax + 0x10]
push esi
mov esi, dword [eax + 0x18]
push edi
mov edi, dword [eax + 8]
test edi, edi
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
jne 0x434d8f
mov edi, ebp
mov edx, ebx
mov ecx, dword [esp + 0x24]
imul ecx, esi
sub edx, ecx
sub ebx, ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x3c], ebx
xor ebx, ebx
push ebx
mov dword [esp + 0x30], edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
push esi
push ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x5c], ebx
call fcn.00438910
mov eax, dword [esp + 0x40]
push ebx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
push esi
push eax
call fcn.00438910
mov eax, dword [esp + 0x50]
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x78]
push edx
push esi
push eax
call fcn.00438910
mov eax, dword [esp + 0x70]
add esp, 0x3c
cmp eax, ebx
jle 0x434ee4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
jle 0x434ec9
mov dword [esp + 0x30], eax
movzx eax, word [ebp]
mov ecx, dword [esp + 0x28]
mov edx, eax
and edx, ecx
mov ecx, dword [esp + 0x10]
shr edx, cl
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x38]
shl dl, cl
mov ecx, dword [esp + 0x2c]
push edx
mov edx, eax
and edx, ecx
mov ecx, dword [esp + 0x1c]
shr edx, cl
mov ecx, dword [esp + 0x18]
and eax, ebx
shl dl, cl
mov ecx, dword [esp + 0x24]
shr eax, cl
mov ecx, dword [esp + 0x20]
shl al, cl
push edx
push eax
call fcn.00402640
mov cx, word [esp + 0x54]
movzx ax, al
add esp, 0xc
add ebp, esi
mov edx, eax
shr dx, cl
mov ecx, dword [esp + 0x10]
mov ebx, eax
shl edx, cl
mov cx, word [esp + 0x14]
shr bx, cl
mov ecx, dword [esp + 0x18]
shl ebx, cl
mov cx, word [esp + 0x1c]
shr ax, cl
mov ecx, dword [esp + 0x20]
or edx, ebx
shl eax, cl
or edx, eax
mov eax, dword [esp + 0x30]
mov word [edi], dx
add edi, esi
dec eax
mov dword [esp + 0x30], eax
jne 0x434e32
xor ebx, ebx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
add ebp, edx
add edi, ecx
dec eax
mov dword [esp + 0x34], eax
jne 0x434e22
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x4366f0
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0xc8
lea eax, [esp + 0xd4]
push eax
push ecx
lea edx, [esp + 8]
push edx
call dword [sym.imp.user32.dll_wvsprintfA]
lea eax, [esp]
push eax
lea ecx, [esp + 0x68]
push 0x474ab0
push ecx
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
add esp, 0xc8
ret

Function at 0x43d390
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
push esi
push edi
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x40
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
cmp eax, 0xa
jge 0x43d407
shl eax, 6
add eax, 0x474db0
push eax
lea eax, [esp + 0x14]
push 0x475030
push eax
call fcn.0045f486
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0xf003f
push 0
lea edx, [esp + 0x1c]
push edx
push 0x80000001
mov dword [esp + 0x20], 0
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43d407
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x43d411
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push 0
push 0x46f3cc
push edi
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
push edi
inc esi
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x43e880
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push esi
call fcn.0046cd60
add esp, 8
test eax, eax
jge 0x43e91c
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x40
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
lea edx, [esp + 8]
stosw word es:[edi], ax
mov eax, esi
sub edx, esi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43e8c0
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e8d1
sub eax, edx
mov cl, byte [esp + eax + 6]
cmp cl, 0x5c
lea eax, [esp + eax + 6]
je 0x43e8f3
mov byte [eax], 0
mov cl, byte [eax - 1]
dec eax
cmp cl, 0x5c
jne 0x43e8e7
lea eax, [esp + 8]
push eax
call fcn.0043e880
add esp, 4
test eax, eax
je 0x43e911
push 0
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44a250
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x44a25b
xor eax, eax
ret
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
cmp edi, 8
not esi
jb 0x44a353
mov ebp, edi
shr ebp, 3
xor edx, edx
mov dl, byte [ecx]
mov eax, esi
shr eax, 8
sub edi, 8
xor edx, esi
and edx, 0xff
mov esi, dword [edx*4 + 0x476d38]
xor edx, edx
mov dl, byte [ecx + 1]
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x476d38]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x476d38]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x476d38]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x476d38]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x476d38]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x476d38]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x476d38]
shr eax, 8
xor eax, esi
inc ecx
dec ebp
mov esi, eax
jne 0x44a276
test edi, edi
je 0x44a372
xor eax, eax
mov al, byte [ecx]
xor eax, esi
and eax, 0xff
mov ebp, dword [eax*4 + 0x476d38]
shr esi, 8
xor esi, ebp
inc ecx
dec edi
jne 0x44a357
pop edi
mov eax, esi
pop esi
not eax
pop ebp
ret
Function at 0x45eb6e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x45eb8b
call fcn.0046054f
mov dword [eax], 0x16
xor eax, eax
jmp 0x45ebf5
push esi
push 0x8c
push 1
call fcn.00460083
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x45ebe0
push esi
call fcn.00461f4f
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x45ebbe
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x45ead9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
jne 0x45ebf4
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.0045fda1
test ebx, ebx
pop ecx
je 0x45ebf2
push ebx
call fcn.00460561
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x45fafb
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x4783a0
call fcn.00460f90
mov edi, 0x94
mov eax, edi
call fcn.0045e3a0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x497b30], ecx
mov eax, dword [esi + 4]
mov dword [0x497b3c], eax
mov edx, dword [esi + 8]
mov dword [0x497b40], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x497b34], esi
cmp ecx, 2
je 0x45fb5b
or esi, 0x8000
mov dword [0x497b34], esi
shl eax, 8
add eax, edx
mov dword [0x497b38], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x45fb96
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45fb96
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x45fbae
cmp eax, 0x20b
je 0x45fb9b
mov dword [ebp - 0x1c], esi
jmp 0x45fbc2
cmp dword [ecx + 0x84], 0xe
jbe 0x45fb96
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x45fbbc
cmp dword [ecx + 0x74], 0xe
jbe 0x45fb96
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00466302
pop ecx
test eax, eax
jne 0x45fbd6
push 0x1c
call fcn.0045fad7
pop ecx
call fcn.00462149
test eax, eax
jne 0x45fbe7
push 0x10
call fcn.0045fad7
pop ecx
call fcn.00466260
mov dword [ebp - 4], esi
call fcn.00462d53
test eax, eax
jge 0x45fc00
push 0x1b
call fcn.0045fab2
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x499394], eax
call fcn.0046613e
mov dword [0x497af8], eax
call fcn.0046609c
test eax, eax
jge 0x45fc26
push 8
call fcn.0045fab2
pop ecx
call fcn.00465e69
test eax, eax
jge 0x45fc37
push 9
call fcn.0045fab2
pop ecx
push 1
call fcn.00460c42
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x45fc4d
push eax
call fcn.0045fab2
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
call fcn.00465e0c
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x45fc6e
movzx eax, word [ebp - 0x40]
jmp 0x45fc71
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040be20
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x45fc8f
push edi
call fcn.00460d6f
call fcn.00460d91
jmp 0x45fcc1
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00460fcb
ret
Function at 0x460cac
Capabilities:
Terminate process

Disassembly:
push 8
push 0x4784c8
call fcn.00460f90
push 8
call fcn.0046254b
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x497b70], esi
jne 0x460ce0
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov dword [0x497b6c], esi
mov al, byte [ebp + 0x10]
mov byte [0x497b68], al
cmp dword [ebp + 0xc], edi
jne 0x460d2a
cmp dword [0x49938c], edi
je 0x460d1a
mov eax, dword [0x499388]
sub eax, 4
mov dword [0x499388], eax
cmp eax, dword [0x49938c]
jb 0x460d1a
mov eax, dword [eax]
cmp eax, edi
je 0x460cfb
call eax
jmp 0x460cfb
push 0x4810a4
mov eax, 0x48109c
call fcn.00460c2a
pop ecx
push 0x4810b0
mov eax, 0x4810a8
call fcn.00460c2a
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x460d5b
cmp dword [ebp + 0x10], edi
jne 0x460d69
mov dword [0x497b70], esi
push dword [ebp + 8]
call fcn.00460be8
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x460d68
push 8
call fcn.00462496
pop ecx
ret
call fcn.00460fcb
ret