joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbd4267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0xbeb00c], esi
jne 0xbd42be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0xbd2c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0xbeb00c], eax
cmp eax, esi
je 0xbde4ec
push 0xffffffffffffffff
push dword [0xbeb014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0xbeb014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0xbeb018], esi
jl 0xbde50a
pop esi
leave
ret

Function at 0xbd4441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0xbd4498
call fcn.00bd2712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0xbd4490
cmp ecx, 0xffffffff
je 0xbd4490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0xbd4489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0xbd4489
cmp edx, 0x10000000
jae 0xbd4489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0xbde892
mov dword [ebp - 4], 0xfffffffe
call fcn.00bd2757
ret 4

Function at 0xbd681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0xbeb004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0xbd6933
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x420], eax
cmp eax, edi
ja 0xbded16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00bd21cb
test eax, eax
jl 0xbd6932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0xbd68c3
push 0xbd6994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00bd2436
test eax, eax
jl 0xbd6932
push 0xbd6980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00bd2436
test eax, eax
jl 0xbd6932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0xbded20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xbd6970
push eax
call edi
push 0xbd695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0xbd6948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0xbd6940
cmp dword [esi + 0x34], 0
je 0xbd6940
test eax, eax
je 0xbd6940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00bd20d4
leave
ret
mov eax, 0x8007007f
jmp 0xbd6932
Function at 0xbd71f8
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0xbe608c
call fcn.00bd39dd
lea ecx, [ebp - 0x34]
call fcn.00bd6c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.00bd758b
test eax, eax
jl 0xbd722c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00bd72a7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, 0x409
mov edi, 0xbd7298
cmp ax, si
jne 0xbde4b4
and esi, 0x3ff
push esi
push edi
lea eax, [ebp - 0x30]
push 8
push eax
call fcn.00bd1451
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00bd758b
mov esi, eax
test esi, esi
jl 0xbd7280
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00bd72a7
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.00bd760b
mov eax, esi
call fcn.00bd2b9f
ret

Function at 0xbd791d
Capabilities:
Identify system language via api

Disassembly:
lea eax, [ebp - 0x30]
push eax
call esi
push 8
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x30], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0xbddc4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x82
lea edx, [ebp - 0x30]
push edx
push 0xbd7900
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, ebx
jl 0xbd79a8
push 1
lea ecx, [ebp - 0x20]
call fcn.00bd79e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0xbd78ec
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.00bd71e0
cmp esi, ebx
jl 0xbd79a8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push 3
movzx eax, ax
pop ecx
mov word [ebp - 0x20], cx
mov dword [ebp - 0x18], eax
jmp 0xbd7992
push 0x24
mov eax, 0xbe5c85
call fcn.00bd26dd
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x20]
push eax
call esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 0x10], ebx
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp + 0xc], ebx
je 0xbd7854
push 1
lea ecx, [ebp - 0x20]
call fcn.00bd79e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0xbd3984
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0xbd79a6
push 3
pop eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x18], 0x409
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x20]
push edx
push 0xbd79d0
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00bd7455
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.00bd71e0
mov eax, esi
call fcn.00bd1390
ret 0xc
Function at 0xbd7b05
Capabilities:
Identify system language via api

Disassembly:
push 0x50
mov eax, 0xbe5fc0
call fcn.00bd39dd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x5c], ecx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], esi
call fcn.00bd7c2b
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x58]
mov ebx, eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0xbd7b34
sub eax, ecx
sar eax, 1
mov edi, eax
je 0xbd7b63
movzx eax, word [ebx + esi*2]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0xbd7b5b
inc esi
cmp esi, edi
jb 0xbd7b46
cmp esi, edi
jb 0xbd7c0e
xor eax, eax
mov edx, ebx
test edi, edi
jbe 0xbd7c0e
cmp word [edx], 0x30
jne 0xbd7b7c
inc eax
inc edx
inc edx
cmp eax, edi
jb 0xbd7b6f
cmp eax, edi
jae 0xbd7c0e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0xbd7b89
sub eax, esi
sar eax, 1
cmp eax, 3
ja 0xbd7c0e
push 0x10
push 0
push edx
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, si
jne 0xbd7c03
movzx eax, ax
movzx eax, ax
push eax
push 0xbd7c18
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.00bd1451
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.00bd6c60
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00bd760b
mov eax, dword [ebp - 0x54]
call fcn.00bd2b9f
ret 8
or esi, 0x400
movzx eax, si
jmp 0xbd7bc6
mov dword [ebp - 0x54], 0x80041001
jmp 0xbd7be9
Function at 0xbd7f3e
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0xbe6a7d
call fcn.00bd1350
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0xbd8046
push 1
call fcn.00bd227c
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0xbd803c
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00bd13e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0xbd7fcd
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.00bd21cb
mov ebx, eax
test ebx, ebx
jl 0xbd8024
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.00bd2436
mov ebx, eax
test ebx, ebx
jl 0xbd8024
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xbd8024
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0xbd7ff6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0xbdf33c
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xbd8024
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
cmp eax, 0xffffffff
je 0xbdf353
cmp dword [ebp - 0x14], 0
je 0xbd8033
push dword [ebp - 0x14]
call fcn.00bd13c0
pop ecx
push dword [ebp - 0x18]
call fcn.00bd13c0
pop ecx
mov eax, ebx
call fcn.00bd1390
ret 4
mov ebx, 0x80070057
jmp 0xbd803c

Function at 0xbd85f1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0xbeb004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
test eax, eax
je 0xbd8684
cmp eax, 0xffffffff
je 0xbd8684
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0xbd8684
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [ebp - 0xc], 0
push ebx
call esi
push ebx
mov dword [ebp - 0x10], eax
call esi
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.00bd85b5
mov eax, esp
push esi
push ebx
push eax
call fcn.00bd8692
mov esi, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0xbdf2da
cmp esi, dword [ebp - 0xc]
jne 0xbdf2f6
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00bd20d4
leave
ret 4
mov dword [ebp - 8], 0x80070057
jmp 0xbd866d
Function at 0xbd88ef
Capabilities:
Get geographical location

Disassembly:
push 0x210
mov eax, 0xbe6be9
call fcn.00bd20e6
xor eax, eax
push 0x1fe
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
and esi, 0x3ff
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 7
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00bd13e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0xbd8999
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0xbd89a4
push esi
push edi
call fcn.00bd1451
add esp, 0x14
mov eax, edi
call fcn.00bd2126
ret 4
Function at 0xbe0d7d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [ecx + eax + 0x18]
test esi, esi
jbe 0xbe0dba
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0xbe0db2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0xbe0dbc
inc edx
add eax, 0x28
cmp edx, esi
jb 0xbe0da2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x43c91a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dh, 0
mov word [esp + 4], bx
pushfd
lea esp, [esp + 0x4c]
je 0x468560

Function at 0x43d35e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 4]
ja 0x43dc81
push eax
push esi
pushal
lea esp, [esp + 0x28]
jb 0x45f97f
jmp 0x43cf11

Function at 0x43db8d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
bt bp, dx
cmp al, byte [edi]
mov eax, edi
movzx ax, bl
cwde
lea edi, [edi + 1]
bswap ax
jmp 0x46394e

Function at 0x43e2cb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov word [esp], ax
inc al
jmp 0x4643a2
Function at 0x43f19a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jb 0x45f97f
movsx eax, dl
pushfd
lea eax, [ebx + 0x59f2da2b]
mov eax, dword [esp + 8]
jmp 0x466bb4
lea esp, [esp + 0xc]
ja 0x43dc81
jmp 0x43cd25

Function at 0x43f6bd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea eax, [edx + 0x7105c897]
push ebp
shrd eax, esp, cl
mov ebp, esp
ror ah, 6
sub esp, 0x18
sbb ah, dh
lea eax, [ebp*4 + 0xc2e8562]
mov ax, 0x487a
push esi
pushal
mov dword [esp + 0x1c], edi
movsx ax, dl
pop eax
jmp 0x43f81a

Function at 0x4400aa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x48]
ja 0x43dc81
pushal
call fcn.00466775

Function at 0x460ad5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x46673c
lea esp, [esp + 0x24]

Function at 0x463121
Capabilities:
Resolve function by parsing pe exports

Disassembly:
setl al
pushal
lodsb al, byte [esi]
mov byte [esp + 0xc], 0xea
push dword [esp + 0xc]
neg al
push dword [esp]
clc
not al
jmp 0x45fab7
xor al, 0x8a
push esi
rol al, 5
mov byte [esp + 4], dl
call fcn.0043e2cb
mov dword [esp + 4], eax
pushal
jmp 0x43cc00

Function at 0x46392a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x45f9f1
mov dword [esp + 8], 0x40a75ff2
lea esp, [esp + 0x50]
ja 0x43dc81
pushal
pushal
pushfd
lea esp, [esp + 0x44]
jb 0x45f97f
push ebx
clc
bt dx, 0xf
jmp 0x463adc
lea esp, [esp + 0x40]
ja 0x43dc81
pushfd
lea esp, [esp + 4]
jb 0x45f97f
bt edx, ebx
pushfd
cmc
cmp byte [edi - 1], 0
pushfd
call fcn.0043c091
bswap ax
mov eax, dword [esp + 0x48]
push dword [esp]
jmp 0x440f96
cmp byte [edi - 1], 0
push edx
pushal
mov byte [esp + 4], 0xf5
lea esp, [esp + 0x28]
jne 0x467253
cmp bh, dh
mov di, bp
mov edi, dword [edx + 0x24]
cmc
add edi, eax
clc
stc
movzx ecx, word [edi + ecx*2]
ror edi, 0x16
btc di, 4
ror di, 1
sal di, 4
mov edi, dword [edx + 0x1c]
test dx, bx
bt si, bx
add edi, eax
call fcn.00440964
into
fisub dword [esi + 0xf]
mov dword [0xe8c701de], eax
inc edx
into
std
dec esi
loopne 0x463b55
push ecx
cmpsd dword [esi], dword es:[edi]
xor dword [edx - 6], ebp
jge 0x463b62
invalid
pop ss
add byte [ebp - 0x75], ah
xor dword [esi], esi
cmp byte [ecx], ah
into
xor dh, bh
pop ebx
aad 0x4f
dec edi
stosb byte es:[edi], al
test byte [esi - 0x19], 0xf5
int1
jns 0x463b16
sub ebp, edi
outsb dx, byte [esi]
popal
push ebp
mov edx, 0xa083be5f
xchg edi, eax
pop es
aas
fdiv qword [ebx]
push edx
iretd
Function at 0x46645d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x467445
adc dl, dl
pushfd
lea esp, [esp + 4]
jb 0x43f980
pushal
pushfd
jmp 0x43dc77
sets dh
mov dh, 0
mov byte [esp + 4], ch
mov byte [esp + 4], dh
mov word [esp + 8], 0xa254
pushfd
lea esp, [esp + 0x48]
je 0x468560
lea eax, [eax + 0x775b0833]
pushfd
lea eax, [ebx + edx*4]
mov byte [esp], bl
lea esp, [esp + 4]
call fcn.00466e30
call fcn.00468227
movsx ax, dl
seta al
lea ecx, [ecx*2 + 0xb]
push dword [esp + 4]
seto al
bswap ax
mov eax, dword [ebp - 0x20]
mov word [esp], si
pushfd
push 0x7fb9f092
not eax
mov byte [esp], bh
mov byte [esp + 0xc], 0xae
mov al, byte [eax + edi]
mov byte [esp + 8], ah
jmp 0x462f97
stosb byte es:[edi], al
call fcn.00466770
jmp 0x4680aa
setb dh
lea eax, [ebx*8 + 0x2f84ced3]
movsx ax, dl
lea eax, [ebx + edx*4 + 0x400]
mov word [esp + 4], dx
pushfd
jmp 0x46831c
xor dh, dl
stc
clc
stc
test dh, 1
pushal
setge dh
jmp 0x4400ba
lea esp, [esp + 0x4c]
call fcn.00466e30
jmp 0x43e5e1

Function at 0x466760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x47c44401
bt edx, 0xb
cmp al, byte [edi]
jmp 0x4675fb
setno ah
movsx ax, al
movzx ax, bl
lea edi, [edi + 1]
pop eax
push 0x629bd480
mov eax, dword [esp + 0x50]
jmp 0x43b87a

Function at 0x468390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushfd
cmp al, byte [edi]
pushfd
lea edi, [edi + 1]
lahf
lahf
bswap ax
mov eax, dword [esp + 0x50]
mov byte [esp], 0x18
lea esp, [esp + 0x54]
ja 0x43dc81
call fcn.0043f58b

Function at 0x46857e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc al
cmp ebx, 0xe937d8cb
cmp al, byte [edi]
bswap ax
bswap ax
cwde
lea edi, [edi + 1]
sets ah
mov eax, dword [esp + 0x18]
pushfd
pushal
jmp 0x462f9d
Function at 0x41e130
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41e136
ret

Function at 0x48f11e
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x48f13e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x48f12a
add dl, dl
jne 0x48f149
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x48f19a
xor eax, eax
add dl, dl
jne 0x48f156
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x48f23b
add dl, dl
jne 0x48f165
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x48f170
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x48f17b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x48f186
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x48f190
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x48f135
mov eax, 1
add dl, dl
jne 0x48f1a8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x48f1b3
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x48f19f
sub eax, ebx
mov ebx, 1
jne 0x48f1e6
mov ecx, 1
add dl, dl
jne 0x48f1cc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x48f1d7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x48f1c3
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x48f135
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x48f1fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x48f208
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x48f1f4
cmp eax, 0x7d00
jae 0x48f22b
cmp eax, 0x500
jb 0x48f226
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x48f135
cmp eax, 0x7f
ja 0x48f22e
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x48f135
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x48f25c
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x48f135
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x23faaf42
inc edx
mov eax, 0x435560da
push ebx
mov edx, 0x4531ff42
mov ebp, 0xe26fd946
mov eax, 0xb8a9aece
add al, 0x15
in al, 6
xor dword [ebp - 0x45307f80], ebp
cmp byte [edi - 0x4caabfbb], al
outsb dx, byte [esi]
mov edx, 0x49f38e42
mov ebp, 0x7ba0b812
adc bh, byte [eax - 0x1ebd8460]
invalid
adc bh, byte [eax - 0x1ebd8460]
adc al, 0xfc
cld
inc edi
xor byte [0x4573856d], ch
xlatb
mov cl, 0xd9
aas
js 0x414a8e
into
adc eax, 0xbbf7e355
inc edx
invalid
Function at 0x403000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004041d8
test esi, esi
jne 0x403036
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004042c8
jmp 0x403054
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402f04
mov edi, eax
test esi, esi
je 0x403054
cmp dword [ebx], 0
je 0x403054
dec esi
jmp 0x40303d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4035a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x412014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403638
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403618
xor eax, eax
push ebp
push 0x403611
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403654
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403618
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x412014]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x412014], ax
mov esp, ebp
pop ebp
ret

Function at 0x404058
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x413044], 0
je 0x4040b9
cmp word [0x413218], 0xd7b2
jne 0x404081
cmp dword [0x413220], 0
jbe 0x404081
mov eax, 0x413214
call dword [0x413230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4040e0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x412020], 0
jne 0x4040d5
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret