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

Disassembly:
mov eax, 0x427ad5
call fcn.00425a20
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
mov byte [esi + 0x11], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0x13], bl
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], bl
mov byte [esi + 0x16], bl
mov byte [esi + 0x17], bl
call fcn.004032fb
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 4
call fcn.004032fb
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
call fcn.004032fb
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 6
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov word [esi + 0x4c], bx
mov byte [esi + 0x4e], bl
mov byte [esi + 0x4f], bl
call fcn.0040cd13
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 7
call fcn.0040cd13
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x427b56
call fcn.00425a20
push ecx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [esi], 0x42a14c
mov dword [esi + 4], 0x42a138
mov dword [esi + 8], 0x42a128
mov dword [esi + 0xc], 0x42992c
mov dword [esi + 0x10], 0x42a114
mov dword [esi + 0x14], eax
mov byte [esi + 0x18], al
mov byte [esi + 0x19], al
mov dword [ebp - 0x10], esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
call fcn.004032fb
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.004032fb
lea edi, [esi + 0x60]
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00405979
lea ecx, [edi + 0x28]
call fcn.004032fb
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 5
call fcn.0040b773
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x42a100
mov dword [esi + 4], 0x42a0ec
mov dword [esi + 8], 0x42a0dc
mov dword [esi + 0xc], 0x42a0cc
mov dword [esi + 0x10], 0x42a0b8
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40fd9a
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x427c15
call fcn.00425a20
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
test eax, eax
mov dword [ebx], eax
je 0x40fdbe
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esi + 4]
and dword [ebp - 4], 0
test eax, eax
mov dword [ebx + 4], eax
je 0x40fdd2
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esi + 8]
mov byte [ebp - 4], 1
test eax, eax
mov dword [ebx + 8], eax
je 0x40fde6
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esi + 0xc]
mov byte [ebp - 4], 2
test eax, eax
mov dword [ebx + 0xc], eax
je 0x40fdfa
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov al, byte [esi + 0x10]
lea ecx, [ebx + 0x18]
mov byte [ebx + 0x10], al
mov al, byte [esi + 0x11]
mov byte [ebx + 0x11], al
mov al, byte [esi + 0x12]
mov byte [ebx + 0x12], al
mov al, byte [esi + 0x13]
mov byte [ebx + 0x13], al
mov al, byte [esi + 0x14]
mov byte [ebx + 0x14], al
mov al, byte [esi + 0x15]
mov byte [ebx + 0x15], al
mov al, byte [esi + 0x16]
mov byte [ebx + 0x16], al
mov al, byte [esi + 0x17]
mov byte [ebx + 0x17], al
lea eax, [esi + 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.004033ce
lea eax, [esi + 0x24]
lea ecx, [ebx + 0x24]
push eax
mov byte [ebp - 4], 4
call fcn.004033ce
lea eax, [esi + 0x30]
lea ecx, [ebx + 0x30]
push eax
mov byte [ebp - 4], 5
call fcn.004033ce
mov eax, dword [esi + 0x3c]
add esi, 0x44
mov dword [ebx + 0x3c], eax
mov eax, dword [esi - 4]
lea edi, [ebx + 0x44]
mov dword [ebx + 0x40], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
lea ecx, [ebx + 0x78]
mov byte [ebp - 4], 6
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0x5c], eax
mov al, byte [esi + 0x60]
mov byte [ebx + 0x60], al
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [ebx + 0x74], eax
lea eax, [esi + 0x78]
push eax
call fcn.0040fef9
lea eax, [esi + 0xa8]
lea ecx, [ebx + 0xa8]
push eax
mov byte [ebp - 4], 7
call fcn.0040fef9
mov eax, dword [esi + 0xd8]
pop edi
mov dword [ebx + 0xd8], eax
mov eax, dword [esi + 0xdc]
mov dword [ebx + 0xdc], eax
mov eax, ebx
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41eb60
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x2d4
push esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x41eb9d
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41eb9d
push 0xc00
call eax
test eax, eax
jne 0x41ec36
lea eax, [esp + 8]
push 0x106
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41ec36
cmp eax, 0x104
ja 0x41ec36
cmp word [esp + eax*2 + 6], 0x5c
je 0x41ebcc
mov word [esp + eax*2 + 8], 0x5c
inc eax
mov esi, dword [str.userenv]
cmp byte [esi], 0
je 0x41ec36
push ebp
lea ecx, [esp + eax*2 + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esp + 0xc], ecx
mov ebp, 0x6c
mov cl, byte [esi]
mov eax, dword [esp + 0xc]
inc esi
test cl, cl
je 0x41ec0b
xor dx, dx
add eax, 2
mov dl, cl
inc esi
mov word [eax - 2], dx
mov cl, byte [esi - 1]
test cl, cl
jne 0x41ebf7
mov word [eax], 0x2e
mov word [eax + 2], 0x64
mov word [eax + 4], bp
mov word [eax + 6], bp
mov word [eax + 8], 0
push 8
lea eax, [esp + 0x14]
push 0
push eax
call edi
cmp byte [esi], 0
jne 0x41ebec
pop edi
pop ebp
pop esi
add esp, 0x2d4
ret
Function at 0x422432
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x42249b
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x4224dc
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x4224c1
mov ecx, ebx
call fcn.00422120
add ebx, 0x28
dec ebp
jne 0x4224b5
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x4224d7
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.00422050
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.00422580
mov ebx, eax
cmp ebx, edi
jne 0x42253f
lea ecx, [ebp + 0x20]
call fcn.004246a0
mov ebx, eax
cmp ebx, edi
jne 0x42253f
lea ecx, [ebp + 0x1c]
call fcn.004246a0
mov ebx, eax
cmp ebx, edi
jne 0x42253f
push ebp
call fcn.004225c0
mov ebx, eax
cmp ebx, edi
je 0x422554
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.004225a0
cmp ebx, edi
jle 0x42254f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x422554
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x422566
cmp dword [esi + 0x40], edi
jne 0x422566
cmp dword [esi + 0x3c], edi
jne 0x422566
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x4235f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push edi
push 0x98
xor ebx, ebx
lea eax, [esi + 0x110]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0x34]
add eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x28]
lea edi, [ecx + eax]
mov dword [esi + 0x40], eax
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov eax, dword [esi + 0x18]
shr edx, 3
imul edx, edx, 0x54
mov ecx, edi
sub ecx, edx
add esp, 0xc
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0xc], eax
mov edx, eax
cmp eax, 0xc
jb 0x42364b
mov edx, 0xc
or eax, 0xffffffff
sub eax, edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
lea eax, [edi - 0xc]
lea edx, [ecx + 0x600]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ecx
mov edx, 0x100
mov word [eax], dx
mov edx, 0x101
mov word [eax + 2], dx
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
xor edx, edx
lea eax, [ecx + 2]
lea esp, [esp]
xor ecx, ecx
mov byte [eax - 2], dl
mov byte [eax - 1], 1
mov word [eax], cx
mov word [eax + 2], cx
inc edx
add eax, 6
cmp edx, 0x100
jb 0x423690
lea edx, [esi + 0x9fc]
mov dword [esp + 8], edx
push ebp
jmp 0x4236c0
mov edi, dword [esp + 0xc]
xor ebp, ebp
jmp 0x4236d0
movzx eax, word [ebp + 0x42b800]
xor edx, edx
lea ecx, [ebx + 2]
div ecx
mov edx, 0x4000
sub edx, eax
movzx ecx, dx
xor eax, eax
lea ebx, [ebx]
mov word [edi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x4236f0
add ebp, 2
add edi, 2
cmp ebp, 0x10
jb 0x4236d0
sub dword [esp + 0xc], 0xffffff80
inc ebx
cmp ebx, 0x80
jb 0x4236c0
mov ecx, 0x50
lea edi, [esi + 0x3bc]
lea ebx, [ecx - 0x4c]
pop ebp
mov eax, edi
mov edx, 0x10
jmp 0x423730
mov word [eax], cx
mov word [eax + 2], 0x403
add eax, ebx
dec edx
jne 0x423730
add ecx, 0x28
add edi, 0x40
cmp ecx, 0x438
jb 0x423724
pop edi
mov dword [esi + 0x3b8], 0x40070000
pop ebx
pop ecx
ret
Function at 0x424660
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x424688
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x424697
mov eax, 1
ret 4

Function at 0x4252b0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [0x430218]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x4258c0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
and eax, 0x3f
mov byte [eax + esi + 0x40], 0x80
inc eax
push edi
mov edi, edx
cmp eax, 0x38
jbe 0x425903
cmp eax, 0x40
je 0x4258f5
mov edx, 0x40
sub edx, eax
push edx
lea ecx, [eax + esi + 0x40]
push 0
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
xor eax, eax
mov ecx, 0x38
sub ecx, eax
push ecx
lea edx, [eax + esi + 0x40]
push 0
push edx
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
add esp, 0xc
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
lea ecx, [esi + 0x20]
mov edx, 4
mov eax, dword [ecx + 4]
mov ebp, dword [ecx]
bswap ebp
bswap eax
mov dword [edi], ebp
mov dword [edi + 4], eax
add edi, 8
add ecx, 8
dec edx
jne 0x425948
xor eax, eax
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret
Function at 0x425dec
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bb98
push 0x425de6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x43569c], 0xffffffff
or dword [0x4356a0], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x435690]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x43568c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x435698], eax
call fcn.00425f2f
cmp dword [0x430240], 0
jne 0x425e6f
push 0x425f2c
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00425f1a
push 0x430068
push 0x430064
call sub.MSVCRT.dll__initterm
mov eax, dword [0x435688]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x435684]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x430060
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00411d26
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x4265c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov eax, ecx
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp edi, 0x1f
jb 0x426760
test edx, 3
je 0x4265f2
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jmp 0x4265d7
xor eax, dword [edx]
lea edi, [edx + edi - 0x1b]
sub edx, edi
lea ebx, [ebx]
mov ecx, dword [edi + edx + 0xc]
mov ebx, dword [edi + edx + 8]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x400]
xor ecx, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 4]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x1400]
xor ecx, dword [ebp + ebx*4 + 0x1000]
movzx esi, al
mov ebx, eax
shr ebx, 0x18
xor ecx, dword [ebp + esi*4 + 0x2c00]
xor ecx, dword [ebp + ebx*4 + 0x2000]
ror eax, 0x10
movzx esi, al
shr eax, 0x18
xor ecx, dword [ebp + esi*4 + 0x2400]
xor ecx, dword [ebp + eax*4 + 0x2800]
mov eax, dword [edi + edx + 0x18]
mov ebx, dword [edi + edx + 0x14]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x400]
xor eax, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 0x10]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x1400]
xor eax, dword [ebp + ebx*4 + 0x1000]
movzx esi, cl
mov ebx, ecx
shr ebx, 0x18
xor eax, dword [ebp + esi*4 + 0x2c00]
xor eax, dword [ebp + ebx*4 + 0x2000]
ror ecx, 0x10
movzx esi, cl
shr ecx, 0x18
xor eax, dword [ebp + esi*4 + 0x2400]
xor eax, dword [ebp + ecx*4 + 0x2800]
add edx, 0x18
jae 0x426600
add edi, 0x18
sub edx, 0x18
movzx ebx, al
movzx ecx, ah
shr eax, 0x10
movzx esi, al
shr eax, 8
mov eax, dword [ebp + eax*4]
xor eax, dword [ebp + ebx*4 + 0xc00]
xor eax, dword [ebp + ecx*4 + 0x800]
xor eax, dword [ebp + esi*4 + 0x400]
add edx, 4
jb 0x426759
xor eax, dword [edi + edx]
jmp 0x426727
add edx, edi
add edi, 3
sub edi, edx
test edi, edi
je 0x426777
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jne 0x426764
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x402c00
pop dword [ebp - 0x10]
mov eax, 0x402c00
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xa0b5d8d0
sub dword [ebp - 0x20], 0x52639385
mov dword [ebp - 0x1c], 0x82829f30
sub dword [ebp - 0x1c], 0x504f52eb
mov dword [ebp - 0x18], 0x4f1d9f61
sub dword [ebp - 0x18], 0x2d15b33
mov dword [ebp - 0x14], 0x814e8cc9
sub dword [ebp - 0x14], 0x814e8cc9
lea eax, [ebp - 0x20]
push eax
mov eax, 0x4addee03
add eax, 0xb5628261
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x85028b52
add dword [ebp - 0x20], 0xef6fde04
mov dword [ebp - 0x1c], 0x4423cba9
add dword [ebp - 0x1c], 0xfd4895cc
mov dword [ebp - 0x18], 0x5a046107
add dword [ebp - 0x18], 0x96b0b65
mov dword [ebp - 0x14], 0x3fa6a732
add dword [ebp - 0x14], 0xc05958ce
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xbbfe04d5
add eax, 0x44426bd3
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x39526
push 0
call eax
mov ecx, 0x23ad2a50
sub ecx, 0x23acd7c8
xor edi, edi
add edi, eax
mov edx, 0x410000
add edx, dword [ebp - 0x10]
mov esi, 0x17ed8dd7
add esi, 0x504bd8
mov dword [ebp - 4], 0xc8c53139
mov ebx, dword [edx]
sub dword [ebp - 4], edi
xor ebx, esi
mov dword [ebp - 8], 0x9ee20027
mov dword [edi], ebx
add edi, 0x458788f6
sub edi, 0x458788f2
add edx, 4
loop 0x402d19
add eax, 0xedc4545b
add eax, 0x123ce898
mov ebx, eax
add eax, 0xb2c9ab12
add eax, 0x4d3654f3
mov ecx, 0x2f6896e8
sub ecx, 0x2f2896e8
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

Function at 0xc3e1e3
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0x85f578
mov eax, dword [eax + ecx + 0x7c]
push ebx
clc
push edi
mov dword [ebp - 0x10], eax
clc
mov dword [ebp - 8], 0xffffffff
clc
cmp esi, 0xffff
ja 0xccef0d
mov eax, esi
test eax, edx
clc
sub eax, dword [edx + ecx + 0x10]
jmp 0xc8a3d3
jne 0x85f578
mov edx, dword [eax + ecx + 0x78]
test bp, si
stc
mov dword [ebp - 4], edx
test edx, edx
jmp 0x791647
mov eax, dword [ecx + 0x3c]
cmp esp, 0x3a9e0388
cmp ecx, edx
cmp dword [eax + ecx], 0x4550
jmp 0x7c3dab
lea eax, [eax + ecx]
test dh, 0x68
cmc
xor ebx, ebx
jmp 0x85ecef
mov eax, dword [ebp + 8]
btc edx, 0x59
bsr dx, di
mov ecx, dword [ebp - 4]
movsx edx, si
mov edx, dword [ecx + eax + 0x24]
xchg cx, cx
lea ecx, [edx + esi*2]
rcl edx, 0x1a
movzx edx, word [ecx + eax]
cmp si, 0x6184
mov dword [ebp - 8], edx
and cx, 0x734c
mov ecx, eax
or ah, 0x88
xor edx, 0x729441b0
mov edx, dword [ebp - 4]
dec eax
sbb al, 0x37
bswap eax
mov eax, dword [ebp - 8]
test dx, si
cmp eax, dword [edx + ecx + 0x14]
jmp 0xc32e0e
dec edi
jmp 0xbce838
je 0x7cd156
sub eax, eax
pop esi
jmp 0xbf8c68
je 0x84e6df
mov eax, dword [edx + ecx + 0x20]
stc
test bx, 0x78bb
jmp 0x82efa2
jle 0x84e69d
lea ebx, [esi + 1]
btr ecx, 0x7b
mov ecx, dword [ebp + 8]
cmp ebx, edi
jmp 0xc00656
mov dword [ebp - 0xc], eax
js 0x84e6df
jmp 0xc4f4e9
mov esp, ebp
pop ebp
jmp 0xc73813
jle 0xc4f4e6
jmp 0x84e6d7
push edx
mov dx, bp
mov edx, dword [ebp + 0xc]
clc
add eax, ecx
jmp 0xcabfb5
push ebp
mov ebp, esp
xor cx, ax
mov ecx, dword [ebp + 8]
lea esp, [esp - 0x114]
push esi
stc
test ecx, ecx
jmp 0xcb3801
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
lea esi, [edi + ebx]
sar esi, 1
cmp si, si
mov eax, dword [eax + esi*4]
jmp 0xc1b57c
jmp 0x84e6df
ret
mov dword [ebp - 8], eax
jmp 0xc5055b
call fcn.0086b877
add esp, 4
clc
test eax, eax
jmp 0xcdfc06
je 0x85f578
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x85f578
mov eax, 0x5a4d
stc
cmp esi, 0xcad645a
cmp esp, ebp
cmp word [ecx], ax
jmp 0x85f572
mov edi, dword [edx + ecx + 0x18]
test edi, edi
jmp 0x88dba6
jns 0xbb3bd9
lea edi, [esi - 1]
jmp 0xbb3be6