joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401dd0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x470
lea edi, [esp + 0x268]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
xor ebx, ebx
cmp eax, 0x103
ja 0x401f08
push 0x42ffdc
push edi
call fcn.0041077e
add esp, 8
mov dword [esp], 0
mov dword [esp + 0x14], 7
mov dword [esp + 0x10], 0
mov word [esp], 0
push edi
call fcn.004107af
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x401e5e
sub esp, 0xc
mov al, byte [esp + 0x24]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
lea ecx, [esp + 0xc]
call fcn.00403a90
cmp dword [esp + 0x14], 7
ja 0x401e80
mov eax, esp
jmp 0x401e83
mov dword [esp + 0x10], esi
mov eax, esi
add eax, esi
mov ecx, esp
push eax
push edi
push ecx
call fcn.00409880
add esp, 0xc
mov word [esp + esi*2], 0
cmp dword [esp + 0x14], 7
jbe 0x401e5a
mov eax, dword [esp]
lea edi, [esp + 0x18]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x401ecc
mov esi, eax
mov ebp, 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word cs:[eax + eax]
nop dword [eax + eax]
push edi
push esi
call ebx
add ebp, 1
test eax, eax
jne 0x401eb0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
cmp ebp, 0x1c
seta bl
jmp 0x401ece
xor ebx, ebx
mov ecx, dword [esp + 0x14]
cmp ecx, 8
jb 0x401f08
mov eax, dword [esp]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x401efe
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x401f15
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.00405dfa
add esp, 8
mov eax, ebx
add esp, 0x470
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0040e63a
int3
Function at 0x404e80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x405cb0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov ecx, edi
push 0
call fcn.004065ad
mov dword [edi + 4], 0
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov word [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov word [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
test esi, esi
mov dword [ebp - 0x20], edi
je 0x404f2f
mov dword [ebp - 0x10], 0
push esi
push edi
call fcn.0040684a
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], 0
push str.bad_locale_name
call fcn.00406bea
add esp, 4
nop word cs:[eax + eax]
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov esi, eax
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x404f6c
push eax
call fcn.0040f5b2
add esp, 4
mov eax, esi
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x404f85
push eax
call fcn.0040f5b2
add esp, 4
mov eax, esi
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x404f9e
push eax
call fcn.0040f5b2
add esp, 4
mov eax, esi
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x404fb7
push eax
call fcn.0040f5b2
add esp, 4
mov eax, esi
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x404fd0
push eax
call fcn.0040f5b2
add esp, 4
mov eax, esi
mov dword [esi + 0xc], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x404fe9
push eax
call fcn.0040f5b2
add esp, 4
mov ecx, esi
mov dword [esi + 4], 0
call fcn.004065de
add esp, 8
pop ebp
ret
Function at 0x4065a3
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x434940
call fcn.00408650
push 1
call fcn.00406230
pop ecx
test al, al
je 0x40658d
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004061e1
mov byte [ebp - 0x24], al
mov eax, dword [0x4372ac]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x40658d
test eax, eax
jne 0x4064ab
mov dword [0x4372ac], ecx
push 0x433870
push 0x433848
call fcn.0040e5fc
pop ecx
pop ecx
test eax, eax
je 0x40648e
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40657d
push 0x433844
push 0x433808
call fcn.0040e5b7
pop ecx
pop ecx
mov dword [0x4372ac], 2
jmp 0x4064b0
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00406213
pop ecx
call fcn.0040878f
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4064e1
push esi
call fcn.0040614d
pop ecx
test al, al
je 0x4064e1
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [section..00cfg]
call esi
call fcn.00408795
mov esi, eax
cmp dword [esi], edi
je 0x4064ff
push esi
call fcn.0040614d
pop ecx
test al, al
je 0x4064ff
push dword [esi]
call fcn.0040be81
pop ecx
call fcn.0040e2cc
mov edi, eax
call fcn.0040a947
mov esi, dword [eax]
call fcn.0040a941
push edi
push esi
push dword [eax]
call main
add esp, 0xc
mov esi, eax
call fcn.004082a3
test al, al
je 0x406594
test bl, bl
jne 0x406532
call fcn.0040be63
push 0
push 1
call fcn.00406269
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40657d
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.004082fa
push esi
call fcn.0040be37
push dword [ebp - 0x20]
call fcn.0040be4d
int3
call fcn.00408695
jmp 0x406421

Function at 0x41cce6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ccf1
Function at 0x10001080
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
jne 0x10001187
push str.SteamUI.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x1001d940], eax
test eax, eax
je 0x10001187
push 0x104
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.hid.l
push 0x1001d948
call fcn.100011a0
push 0x1001a764
push 0x1001d328
call fcn.100011a0
push 0x1001a768
push 0x1001db50
call fcn.100011a0
push 0x1001a76c
push 0x1001d530
call fcn.100011a0
push 0x1001a770
push 0x1001d738
call fcn.100011a0
push 0x1001d738
push 0x1001d738
push 0x1001db50
push 0x1001d530
push 0x1001db50
push 0x1001d328
push 0x1001d948
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x1001a774
push eax
call fcn.100011a0
add esp, 0x50
lea eax, [ebp - 0x20c]
push 2
push eax
call fcn.100041ea
add esp, 8
test eax, eax
jne 0x10001175
push 8
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100011d1
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.100011d1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100072c8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10007307
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10007307
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10007307
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10007307
cmp dword [ecx + 0x74], 0xe
jbe 0x10007307
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000b422
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000b4bf
push ebx
push esi
call fcn.1000b3eb
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000b37f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000b46c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b4be
push edi
push eax
call fcn.10008977
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000b48c
call fcn.1000893d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b4bd
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000b37f
add esp, 0x20
test eax, eax
jne 0x1000b4ab
push edi
call fcn.1000893d
jmp 0x1000b4b3
push ebx
call fcn.1000893d
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000b72c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017050
push 0x10017048
push str.FlsAlloc
push 0x1f
call fcn.1000b648
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b760
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013110]
call esi
jmp 0x1000b766
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000b7aa
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017060
push 0x10017058
push str.FlsGetValue
push 0x21
call fcn.1000b648
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b7e1
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013110]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000b7e9
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017068
push 0x10017060
push str.FlsSetValue
push 0x22
call fcn.1000b648
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b823
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10013110]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10012210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001223d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001223d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x412d80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UzBUtnck
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x412da2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412d98
mov eax, 1
add ebx, ebx
jne 0x412dbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412db0
jne 0x412dcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412db0
xor ecx, ecx
sub eax, 3
jb 0x412de0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412e52
mov ebp, eax
add ebx, ebx
jne 0x412deb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412e1c
inc ecx
add ebx, ebx
jne 0x412e08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412dfd
jne 0x412e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412dfd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412e3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412e2d
jmp 0x412d9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412e3c
add edi, ecx
jmp 0x412d9e
pop esi
mov edi, esi
mov ecx, 0x2ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412e5a
cmp byte [edi], 0
jne 0x412e5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x412e5f
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412ece
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x120b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1211c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412e8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12124]
or eax, eax
je 0x412ec8
mov dword [ebx], eax
add ebx, 4
jmp 0x412ea9
call dword [esi + 0x12120]
mov ebp, dword [esi + 0x12128]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x412f02
sub esp, 0xffffff80
jmp 0x406f9c
Function at 0x1001e212
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1001e221
pop dword [ebp - 0x40]
mov eax, 0x1001e221
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x4463a
push 0
mov eax, 0xf712df66
sub eax, 0xe70b5e4a
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x98bbc64a
sub ecx, 0x98bb7a24
xor edi, edi
add edi, eax
mov ebx, 0xf6d62e7e
add ebx, 0x19424382
add ebx, dword [ebp - 0x40]
mov edx, 0x703b0142
sub dword [ebp - 0x2c], 0x79f5aea3
mov esi, dword [ebx]
xor esi, edx
sub dword [ebp - 0x18], 0x4c47cb1b
mov dword [edi], esi
sub dword [ebp - 0x38], 0x2617e960
add edi, 0x7d98f0a0
add edi, 0x82670f64
add ebx, 4
loop 0x1001e277
add eax, 0xc124da5c
sub eax, 0xc123b6f1
mov ebx, eax
add eax, 0x2881a267
sub eax, 0x2881a262
mov ecx, 0x18bc0d8a
sub ecx, 0x8bc0d8a
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10072260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x100722fb
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x100722b2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x100722b2
cmp esi, ebx
jge 0x100722b2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x100722f5
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x100722f5
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100783dc]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100783dc]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1007230d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x10072530
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
mov eax, dword [ebp + 8]
je 0x10072558
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x10072572
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1001e212
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10076450
leave
ret 4

Function at 0x10072740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x10072776
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x100727d5
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1001e212
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1001e212
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.1001e212
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10076450
leave
ret 0x10
Function at 0x100727f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1007281c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1007284d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1007284b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1001e212
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1007284d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10076450
leave
ret 8
Function at 0x4026ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40d558
cmp edx, dword [eax]
je 0x4026cf
add eax, 8
inc ecx
cmp eax, 0x40d5e8
jl 0x4026c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40d558]
jne 0x4027fd
mov eax, dword [0x40d914]
cmp eax, 1
je 0x4027d7
test eax, eax
jne 0x402700
cmp dword [0x40d4ac], 1
je 0x4027d7
cmp edx, 0xfc
je 0x4027fd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402737
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403af0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403be0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40277a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403be0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x405e58
push edi
call fcn.00403cf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403af0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403b00
lea eax, [ebp - 0xa0]
push 0x405e38
push eax
call fcn.00403b00
push dword [esi + 0x40d55c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403b00
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403c5b
add esp, 0x2c
pop edi
jmp 0x4027fd
lea eax, [ebp + 8]
lea esi, [esi + 0x40d55c]
push 0
push eax
push dword [esi]
call fcn.00403be0
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 0x438cb5
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop esi
add ecx, 0xdcff5227
sub ebx, 0x1eacb2d4
sub ebx, ebx
call fcn.00438d00
add ecx, 0xc1d84603
mov ebx, 0x4061a63c
or ecx, ecx
xor dword [edx], esi
mov ebx, 0xc99cdada
add ebx, ecx
inc edx
or ecx, ebx
inc ecx
push 0x92a0a101
pop ecx
cmp edx, edi
jne fcn.00438cb5
push ebx
pop ebx
ret
Function at 0x10003250
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, 0x10045208
call fcn.10005490
mov eax, dword [0x10045268]
cmp eax, dword [0x1004526c]
je 0x10003272
mov dword [0x1004526c], eax
mov eax, dword [0x10043b0c]
push 0x100451e0
push 0x10003590
push 1
mov eax, dword [eax + 0xf4]
call eax
add esp, 0xc
cmp dword [0x10045210], 0
je 0x100033c4
push esi
push edi
mov edi, dword [0x1004520c]
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edi
mov esi, dword [edi]
cmp esi, edi
je 0x100033a2
push ebx
cmp dword [esi + 0x1c], 0xf
lea ebx, [esi + 8]
mov dword [ebp - 4], ebx
jbe 0x100032c7
mov eax, dword [ebx]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x100032eb
mov edi, dword [ebp - 4]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x100032d6
mov edi, dword [ebp - 0xc]
push edx
push ebx
lea eax, [ebp - 0x18]
mov ecx, 0x10045248
push eax
call fcn.1000a0c0
mov edx, dword [0x1004524c]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [0x1004524c]
je 0x10003371
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
mov edx, dword [edx + 0x20]
sar eax, 2
mov dword [ebp - 4], edx
cmp eax, edx
jb 0x10003380
test edx, edx
jle 0x10003368
mov eax, dword [ebx + 0x1c]
add eax, 0xfffffffc
mov ecx, dword [eax]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x1004526c]
mov dword [ebp - 0x10], ecx
cmp eax, dword [0x10045270]
je 0x1000334e
mov dword [eax], ecx
add dword [0x1004526c], 4
jmp 0x10003360
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, 0x10045268
call fcn.10009f60
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
jne 0x10003328
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
jmp 0x10003374
mov ecx, dword [ebp - 8]
mov esi, dword [esi]
cmp esi, edi
jne 0x100032b6
jmp 0x100033a1
cmp dword [ebx + 0x14], 0xf
mov eax, dword [0x10043b08]
mov eax, dword [eax + 0x84]
jbe 0x10003393
mov ebx, dword [ebx]
push ebx
push 0x1003bf08
call eax
mov ecx, dword [ebp - 8]
add esp, 8
pop ebx
mov eax, dword [0x10045250]
pop edi
pop esi
cmp ecx, eax
je 0x100033f0
push eax
mov eax, dword [0x10043b08]
push ecx
push 0x1003bf38
mov eax, dword [eax + 0x84]
call eax
add esp, 0xc
cmp dword [0x100451e0], 0
je 0x100033f5
mov eax, dword [0x10043b08]
push 0x1003c184
mov eax, dword [eax + 0x84]
call eax
add esp, 4
mov dword [0x100451e0], 0
mov esp, ebp
pop ebp
ret
call fcn.10003400
mov esp, ebp
pop ebp
ret
Function at 0x10003490
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x10043080]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0xc], ecx
push esi
push edi
mov edx, dword [eax]
mov ecx, edx
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100034d0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.100081b0
cmp dword [esp + 0x34], 0xf
lea edi, [esp + 0x20]
mov esi, dword [esp + 0x20]
mov edx, 0x811c9dc5
cmova edi, esi
xor ecx, ecx
cmp dword [esp + 0x30], ecx
jbe 0x10003514
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esp + 0x30]
jb 0x10003501
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x68]
call fcn.1000a0c0
mov eax, dword [eax + 4]
test eax, eax
jne 0x10003535
mov eax, dword [edi + 0x6c]
mov ecx, edi
cmp eax, dword [ecx + 0x6c]
mov ecx, dword [esp + 0x34]
setne al
mov byte [esp + 0x13], al
cmp ecx, 0xf
jbe 0x10003573
inc ecx
mov eax, esi
cmp ecx, 0x1000
jb 0x10003565
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003586
push ecx
push esi
call fcn.10011a15
mov al, byte [esp + 0x1b]
add esp, 8
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.100119d2
mov esp, ebp
pop ebp
ret 4
call fcn.1001dce4
int3