joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f1830
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.004f1df0
call fcn.004f1a90
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x4f1868
jmp 0x4f1906
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x4f1867
cmp cl, 0x22
je 0x4f18c0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x4f18e0
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x4f18e0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x4f18a0
jmp 0x4f18e0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x4f18c0
cmp cl, 0x22
je 0x4f1942
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x4f1900
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x4f18f0
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x4f1924
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.00403680
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x4f18e0

Function at 0x4f1e20
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x53e0d0]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4f1e60
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call fcn.004f1990
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
Function at 0x4f2210
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x53e0d0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4f22ec
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x4f2301
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x4f22c0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x4f2258
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x4f2268
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x4f22b3
test edx, edx
jne 0x4f22a6
test ecx, ecx
je 0x4f2250
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call ecx
cmp eax, 6
je 0x4f2310
cmp eax, 8
je 0x4f2250
mov eax, 3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 5
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x4f2242
call fcn.004f1bb0
mov eax, dword [0x53e0d0]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jns 0x4f2234
call fcn.004f1e80
mov eax, dword [0x53e0d0]
jmp 0x4f2234
mov dword [edi + 0xc], 0
mov eax, dword [ebp - 0x14]
mov edx, ebx
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.004f2180
cmp eax, 7
jne 0x4f22ab
mov eax, dword [0x53e0d0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x4f2363
mov edi, dword [eax + 0x30]
test edi, edi
js 0x4f238e
mov esi, dword [eax + 0x30]
test esi, esi
jne 0x4f236f
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.004f1bb0
mov eax, dword [0x53e0d0]
jmp 0x4f2341
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x4f2352
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4f2352
call fcn.004f1e80
mov eax, dword [0x53e0d0]
jmp 0x4f2348
Function at 0x4f25f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x53e0d0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4f2684
mov esi, dword [eax + 0x30]
test esi, esi
js 0x4f26a0
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x4f26c0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x4f2678
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.004f2180
cmp eax, 7
jne 0x4f273f
mov eax, dword [0x53e0d0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x4f2716
mov edx, dword [eax + 0x30]
test edx, edx
js 0x4f2730
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x4f26f0
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.004f23a0
jmp 0x4f2635
call fcn.004f1bb0
mov eax, dword [0x53e0d0]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x4f2610
lea esi, [esi]
call fcn.004f1e80
mov eax, dword [0x53e0d0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x4f261b
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x4f261e
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x4f2667
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4f2667
call fcn.004f1bb0
mov eax, dword [0x53e0d0]
mov edx, dword [eax + 0x30]
test edx, edx
jns 0x4f2659
nop
lea esi, [esi]
call fcn.004f1e80
mov eax, dword [0x53e0d0]
jmp 0x4f2659
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
Function at 0x4f2750
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x4f27e2
mov eax, dword [0x53e0d0]
test eax, eax
je 0x4f27d6
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x4f2851
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x4f27f7
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.004f23a0
cmp eax, 7
jne 0x4f286f
mov eax, dword [0x53e0d0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x4f2842
mov edx, dword [eax + 0x30]
test edx, edx
js 0x4f2860
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x4f2823
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.004f1bb0
mov eax, dword [0x53e0d0]
jmp 0x4f2772
mov dword [esp], edi
call fcn.004f2210
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x4f2787
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x4f27c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4f27c5
call fcn.004f1bb0
mov eax, dword [0x53e0d0]
jmp 0x4f27b0
call fcn.004f1e80
mov eax, dword [0x53e0d0]
jmp 0x4f277d
call fcn.004f1e80
mov eax, dword [0x53e0d0]
jmp 0x4f27bb
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x4f5e7f68
nop
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x7449aa
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x405810
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405adb
test bl, 8
mov dword [ebp - 8], eax
je 0x40584f
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x4292a8], eax
jmp 0x4059cc
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405869
test eax, eax
je 0x40597a
test bl, 2
je 0x40597a
mov esi, 0x424710
push edi
push esi
call fcn.0040601f
cmp dword [ebp + 8], 0
je 0x405888
push 0x409564
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x40588e
push edi
call fcn.00405a1f
cmp word [edi], 0
jne 0x40589e
cmp word [0x424710], 0x5c
jne 0x4058a9
push 0x409014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40596f
cmp word [ebp - 0x22c], 0x2e
jne 0x4058f3
cmp word [ebp - 0x22a], 0
je 0x405952
cmp word [ebp - 0x22a], 0x2e
jne 0x4058f3
cmp word [ebp - 0x228], 0
je 0x405952
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.0040601f
test byte [ebp - 0x258], 0x10
je 0x40591e
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405952
push dword [ebp + 0xc]
push edi
call fcn.00405810
jmp 0x405952
push dword [ebp - 4]
push edi
call fcn.004057c8
test eax, eax
jne 0x40594a
cmp dword [ebp - 4], eax
je 0x405942
push edi
push 0xfffffffffffffff1
call fcn.0040517e
push 0
push edi
call fcn.00405ec0
jmp 0x405952
inc dword [0x4292a8]
jmp 0x405952
push edi
push 0xfffffffffffffff2
call fcn.0040517e
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4058cb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x40597a
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4059cc
cmp dword [ebp - 8], esi
jne 0x40598e
inc dword [0x4292a8]
jmp 0x4059cc
push edi
call fcn.00406362
test eax, eax
je 0x4059cc
push edi
call fcn.004059d3
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.004057c8
test eax, eax
jne 0x4059c4
cmp dword [ebp - 4], esi
je 0x405986
push edi
push 0xfffffffffffffff1
call fcn.0040517e
push esi
push edi
call fcn.00405ec0
jmp 0x4059cc
push edi
push 0xffffffffffffffe5
call fcn.0040517e
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3e604442
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6c05f2d
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
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
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1006513
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pop eax
xor eax, dword [esp + 4]
lea edx, [edx]
mov ebx, ebx
jne 0x100b0d0
mov eax, 0x5fb5ee4c
mov esi, dword [edx + 0x24]
shl ecx, 1
jmp 0x100b19f
nop
lea eax, [eax + eax*4]
stc
or cl, 0
xor edi, ecx
xor edi, ecx
imul eax, eax, 3
push eax
movzx eax, byte [edi]
jmp 0x100b18a
mov edx, ebx
jmp 0x100b09d
mov esi, dword [edi + esi*4]
cmp ecx, esp
add esi, ebx
adc cl, 0x4c
xchg edx, eax
mov cl, dl
ret 4
nop
mov eax, eax
cld
je 0x100b227
nop
push 0
and cl, 0xff
pop eax
jmp 0x10064c1
mov esi, ebx
mov eax, ebx
add eax, dword [ebx + 0x3c]
add edx, dword [eax + 0x78]
jmp 0x100b178
inc ecx
xor dl, 0
lodsd eax, dword [esi]
lea esi, [esi]
lea edi, [eax + ebx]
cmp ecx, dword [edx + 0x18]
jmp 0x100b072
ja 0x10064c2
push eax
dec eax
xor dword [esp], 0x4588f14c
jmp 0x100642f
push 0xffffffffffffffff
cld
dec ecx
add esi, dword [edx + 0x20]
sub cl, ah
cmp ecx, ebx
inc edi
pop ecx
jmp 0x100b0d0
sub dword [esp], eax
add edi, 2
dec edi
pop eax
nop
lea ecx, [ecx]
nop
nop
cmp byte [edi], 1
jmp 0x100b12a
xchg al, al
mov edi, dword [edx + 0x1c]
or ah, bl
xor ah, ah
and al, ch
add edi, ebx
add esi, ebx
lea edx, [eax + 7]
movzx esi, word [ecx + esi]
jmp 0x100651a
ret

Function at 0x100b088
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0xb9dfcdb3
xor edi, eax
rdtsc
ret
inc dword [ebp - 0x154]
call esi
xor eax, edi
je fcn.0100b088
jmp 0x1006541
Function at 0x4194d0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
mov al, byte [0x4cd04e]
push esi
mov esi, ecx
push edi
mov cl, byte [str.nUY_]
xor cl, al
mov al, byte [0x4cd041]
mov byte [str.nUY_], cl
mov cl, al
or cl, 0xc
shr cl, 2
and ecx, 0xff
mov dword [esp + 8], ecx
fild dword [esp + 8]
fdivr qword [0x4d0a08]
fadd qword [0x4d09a8]
fstp qword [0x4d0a08]
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4195e5
mov dl, byte [0x4cd045]
mov cl, byte [0x4cd04d]
or dl, 2
or al, cl
shr dl, 1
and edx, 0xff
mov byte [0x4cd041], al
mov dword [esp + 8], edx
fild dword [esp + 8]
fdivr qword [0x4cd058]
fadd qword [0x4cb350]
fstp qword [0x4d09a8]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x419593
mov edx, dword [0x4d0af4]
push 0x4d07e0
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [0x4d0af4]
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov dword [0x4cffc8], eax
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [0x4cd03c]
mov edi, eax
mov dword [esp + 0x10], 0
lea edx, [ecx*4]
mov ecx, dword [0x4cd038]
or edx, ecx
mov dword [esp + 0xc], edx
fild qword [esp + 0xc]
fstp qword [0x4cd058]
call fcn.00419410
test edi, edi
mov dword [esi], edi
je 0x4195e5
push str.IsThemeActive
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
pop edi
pop esi
add esp, 0xc
ret

Function at 0x461a82
Capabilities:
Encode data using xor

Disassembly:
mov cl, 0x66
xor eax, 0x85368406
and eax, dword [esi]
push es

Function at 0x47abbd
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xa0a5117e
add dword [ebp + edi*2 + 0x6f52f4c6], edx
popfd
mov al, byte [0x86c6bb13]
ret
push 0x58
jns 0x47ab5d
cmp byte [eax + 0x39c04b4e], al
xor ebp, dword [eax - 0xca60ba0]
lds ecx, [esi - 0x56]
arpl bx, si
add dh, byte [edi]
inc dword [edx + 0x644ed493]
mov bl, 0x4a
or dword [eax - 0x6f], esi
scasd eax, dword es:[edi]
mov dword [0xb872d7c4], eax
adc byte [eax], bl
dec esi
lds eax, es:[eax - 0x36]
test byte [edi + 0x77], ch
mov bh, 0x6d
out dx, al
cmpsb byte [esi], byte es:[edi]
mov ebp, 0x124f4368
lea ecx, [eax]
push ss
or byte [esi - 0x5f31167], bh
adc bl, byte [edi - 0x79]
mov byte [0x3a748132], al
adc eax, 0xa089c7cf
invalid
Function at 0x4ac58a
Capabilities:
Encode data using xor

Disassembly:
cdq
jo 0x4ac597
or dl, cl
push eax
dec eax
push esi
int1
push ds
sbb eax, esi
pop ebp
dec edx
cmp al, 5
movsb byte es:[edi], byte [esi]
cld
fldcw word [esi + 0x55]
pop eax
push ebp
mov edi, 0x33f98045
sbb byte [edi + 0x14], dh
sub eax, 0xdb2c9813
push edx
call 0x78bbdffe
insb byte es:[edi], dx
xchg edx, eax
les edx, [edi + eax*4]
rcr byte [ebx - 0x455ba0c7], 1
cld
sub eax, 0x779ac437
sbb al, 0x3c
mov dh, 0x33
mov esp, 0x204a03de
outsd dx, dword [esi]
pop edi
movsb byte es:[edi], byte [esi]
mov edx, 0xc4372dfc
lcall 0xbc33, 0xb63c1c77
fiadd word [ebx]
dec edx
and byte [edi + 0x72], ch
int1
les ebx, [edx - 0x49c3e389]
xor edi, dword [esi + ebx*8 + 0x6f204a03]
jb 0x4ac5c2
fucomi st(3)
lea esp, [edx + 0x30]
jbe 0x4ac5bc
xchg edx, eax
cmp ch, byte [esi + 0x60d5d8a2]
xchg edx, eax
pop ss
mov ah, 0x13
out dx, al
inc edi
cmp eax, 0xf4646eed
dec edx
xchg dword [ebx - 0x3d], edx
rol esp, cl
xchg esp, eax
mov esp, 0xf8e08ae4
or byte [edi + 0x105c3711], al
sub dword [esi + esi], ebx
arpl dx, si
pop es
aad 0x49
mul dword [esi]
xchg ebp, edi
stc
xchg edx, eax
add bl, ah
jecxz 0x4ac655
aas
test byte [ecx - 0x7636762e], cl
in eax, dx
mov edi, edi
mov eax, eax
mov edx, edx
mov esi, esi
mov ebp, ebp
mov ebp, ebp
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or dword [ebx], 0x67d810b6
fidivr dword [eax - 0x602aafaa]
inc eax
invalid

Function at 0x4c6181
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cd3a8
cmp edx, dword [eax]
je 0x4c61a3
add eax, 8
inc ecx
cmp eax, 0x4cd438
jl 0x4c6194
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cd3a8]
jne 0x4c62d1
mov eax, dword [0x4d2dd8]
cmp eax, 1
je 0x4c62ab
test eax, eax
jne 0x4c61d4
cmp dword [0x4cd2d4], 1
je 0x4c62ab
cmp edx, 0xfc
je 0x4c62d1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c620b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c6b60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c6ff0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c624e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c6ff0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cb6cc
push edi
call fcn.004c8ec0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c6b60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c6b70
lea eax, [ebp - 0xa0]
push 0x4cb6ac
push eax
call fcn.004c6b70
push dword [esi + 0x4cd3ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c6b70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c8e34
add esp, 0x2c
pop edi
jmp 0x4c62d1
lea eax, [ebp + 8]
lea esi, [esi + 0x4cd3ac]
push 0
push eax
push dword [esi]
call fcn.004c6ff0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x408fbc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00408f70
test al, al
jne 0x408fdd
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x409029
xor eax, eax
push ebp
push 0x409019
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403414
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409020
lea eax, [ebp - 0xc]
call fcn.00408fac
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409330
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x40941f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00406cf4
mov edx, dword [ebp - 8]
mov ecx, 0x409438
xor eax, eax
call fcn.00409224
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x4093ed
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
je 0x409350
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x36
call fcn.00408dd8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404c94
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00407284
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x68
call fcn.00408da8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x404660
call fcn.00405890
call fcn.00402eb4
jmp 0x409350
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040322c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409426
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004031b8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004031b8
ret