joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f7d0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x41f80d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x41f7f3
cmp byte [esi], bl
jne 0x41f7f3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x4596c8]
test bl, bl
jne 0x41f7e4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0041f770
Function at 0x42e710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5a78], 0
lea esi, [edi + 0x5a7c]
je 0x42e792
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x42e74c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00430ab0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00419210
mov edx, dword [esi]
mov ecx, 0x52d869
push dword [edi + 0x5a78]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5a84]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00419210
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42ed50
Capabilities:
Hash data with crc32

Disassembly:
mov al, byte [ecx]
lea edx, [ecx + 1]
push ebx
push ebp
mov ebp, dword [0x52d99c]
or ebx, 0xffffffff
push esi
push edi
test al, al
je 0x42ed97
or esi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x42ed7e
cmp byte [edx], al
jne 0x42ed7e
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x4596c8]
test al, al
jne 0x42ed70
mov eax, dword [ebp + 0x5a20]
xor esi, esi
not ebx
test eax, eax
jle 0x42edec
mov ecx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor edi, edi
nop dword [eax]
test esi, esi
js 0x42edb8
cmp esi, eax
jl 0x42edd2
push 0x6fb
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.h
push str.i___0__i___Size
call ecx
mov ecx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebp + 0x5a28]
cmp dword [eax + edi + 4], ebx
je 0x42edf3
mov eax, dword [ebp + 0x5a20]
inc esi
add edi, 0x24
cmp esi, eax
jl 0x42edb0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
test esi, esi
js 0x42edff
cmp esi, dword [ebp + 0x5a20]
jl 0x42ee13
push 0x6fb
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.h
push str.i___0__i___Size
call ecx
add esp, 0xc
mov eax, dword [ebp + 0x5a28]
lea ecx, [esi + esi*8]
pop edi
pop esi
pop ebp
lea eax, [eax + ecx*4]
pop ebx
ret

Function at 0x42f190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x52d99c]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x5a10], 0
push edi
test esi, esi
je 0x42f1ed
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.0042f200
mov edx, 0x462d44
mov ecx, esi
mov edi, eax
call fcn.00418b90
mov esi, eax
test esi, esi
je 0x42f1ed
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4391e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43921a
mov eax, dword [0x52d99c]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x43920d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x43924b
mov eax, dword [0x52d99c]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x43923e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x43927c
mov eax, dword [0x52d99c]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x43926f
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4392c9
mov eax, dword [0x52d99c]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x4392bc
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x4392fa
mov eax, dword [0x52d99c]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x4392ed
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x43932b
mov eax, dword [0x52d99c]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x43931e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0043d4b0
Function at 0x44fd80
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x52d9a4], 0
push ebx
push esi
push edi
jne 0x44fd9d
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
test esi, esi
jle 0x44fdbc
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
dec esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
jmp 0x44fdc4
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
mov ecx, edx
test esi, esi
jle 0x44fdde
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
jmp 0x44fde6
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov ecx, edx
test esi, esi
jle 0x44fe00
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
jmp 0x44fe08
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov ecx, edx
test esi, esi
jle 0x44fe22
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
jmp 0x44fe2a
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, esi
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call fcn.0044fe6b

Function at 0x44ff00
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5d4
cmp dword [0x52d9a4], 0
push ebx
push esi
push edi
je 0x4501e2
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
push 0x33
call fcn.0044ff28
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450210
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x46b040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x52da2c]
push ebx
push esi
mov esi, dword [0x52da28]
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x128], edx
push edi
test esi, esi
jne 0x450271
test edx, edx
jne 0x450265
call fcn.0044ff00
mov esi, eax
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x124], esi
mov dword [0x52da28], esi
mov dword [0x52da2c], edx
test esi, esi
jne 0x450271
test edx, edx
je 0x4507af
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x12c], edx
push 0x33
call fcn.00450290
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
xor edx, edx
pop ebx
call fcn.00455723
mov esp, ebp
pop ebp
ret
Function at 0x453ef0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x40
push ebx
push esi
push edi
mov esi, edx
mov dword [esp + 0xc], 0x51352442
mov edi, ecx
mov dword [esp + 0x10], 0x6054614f
mov dword [esp + 0x14], 0x48426670
xor edx, edx
mov dword [esp + 0x18], 0x2b6e3f6d
mov dword [esp + 0x1c], 0x3f51266b
mov dword [esp + 0x20], 0x4e473736
mov dword [esp + 0x24], 0x4d264528
mov dword [esp + 0x28], 0x673b4d2b
mov dword [esp + 0x2c], 0x52295547
mov dword [esp + 0x30], 0x7e5b6a53
mov dword [esp + 0x34], 0x4c21613f
mov dword [esp + 0x38], 0x2d3e215f
mov dword [esp + 0x3c], 0x60405465
mov dword [esp + 0x40], 0x3f4a4350
mov dword [esp + 0x44], 0x566b462b
mov byte [esp + 0x48], 0x55
nop dword [eax]
xor eax, eax
test esi, esi
je 0x453f9b
mov bl, byte [esp + edx + 0xc]
nop word [eax + eax]
xor byte [edi + eax], bl
lea ecx, [edi + eax]
inc eax
cmp eax, esi
jb 0x453f90
inc edx
cmp edx, 0x3d
jb 0x453f80
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x40
ret
Function at 0x454790
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x46b040]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
mov dword [esp + 0x1c], 0x128
push 2
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x454935
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
lea ecx, [esp + 0x3c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4547e5
mov ebx, dword [esi + 0x10]
sub ecx, edx
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x4547fb
mov edx, dword [esi]
cmp ecx, ebx
lea edi, [esp + 0x3c]
mov esi, ebx
cmovb esi, ecx
sub esi, 4
jb 0x454821
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x454826
add edx, 4
add edi, 4
sub esi, 4
jae 0x454810
cmp esi, 0xfffffffc
je 0x45485a
mov al, byte [edx]
cmp al, byte [edi]
jne 0x454853
cmp esi, 0xfffffffd
je 0x45485a
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x454853
cmp esi, 0xfffffffe
je 0x45485a
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x454853
cmp esi, 0xffffffff
je 0x45485a
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x45485a
sbb eax, eax
or eax, 1
jmp 0x45485c
xor eax, eax
test eax, eax
jne 0x45486a
cmp ebx, ecx
jb 0x45486a
jbe 0x45494c
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x45492e
lea ecx, [esp + 0x3c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x454890
mov eax, dword [esp + 0x14]
sub ecx, edx
mov edx, eax
cmp dword [eax + 0x14], 0xf
mov ebx, dword [eax + 0x10]
jbe 0x4548aa
mov edx, dword [eax]
cmp ecx, ebx
lea edi, [esp + 0x3c]
mov esi, ebx
cmovb esi, ecx
sub esi, 4
jb 0x4548d1
nop word [eax + eax]
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4548d6
add edx, 4
add edi, 4
sub esi, 4
jae 0x4548c0
cmp esi, 0xfffffffc
je 0x45490a
mov al, byte [edx]
cmp al, byte [edi]
jne 0x454903
cmp esi, 0xfffffffd
je 0x45490a
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x454903
cmp esi, 0xfffffffe
je 0x45490a
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x454903
cmp esi, 0xffffffff
je 0x45490a
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x45490a
sbb eax, eax
or eax, 1
jmp 0x45490c
xor eax, eax
test eax, eax
jne 0x454916
cmp ebx, ecx
jb 0x454916
jbe 0x45494c
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x454882
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.00455723
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00455723
mov esp, ebp
pop ebp
ret
Function at 0x45634c
Capabilities:
Parse pe header

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
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 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40288e
pop dword [ebp - 0x38]
mov eax, 0xc0fa4115
sub eax, 0xc0ba1887
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x4fc13639
sub dword [ebp - 0x48], 0x16ef0ee
mov dword [ebp - 0x44], 0x20c4ed90
sub dword [ebp - 0x44], 0xee91a14b
mov dword [ebp - 0x40], 0xd9119090
sub dword [ebp - 0x40], 0x8cc54c62
mov dword [ebp - 0x3c], 0x1259ee71
add dword [ebp - 0x3c], 0xeda6118f
lea eax, [ebp - 0x48]
push eax
mov eax, 0x6f62a8e1
add eax, 0x90ddc783
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xc71a1471
add dword [ebp - 0x48], 0xad5854e5
mov dword [ebp - 0x44], 0x6b3c0fd7
add dword [ebp - 0x44], 0xd630519e
mov dword [ebp - 0x40], 0xfc9c4e85
sub dword [ebp - 0x40], 0x992ce219
mov dword [ebp - 0x3c], 0x96217179
sub dword [ebp - 0x3c], 0x96217179
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x7e3c377
sub eax, 0x7a352cf
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x36e5e
push 0
call eax
mov ecx, 0x5533d7b6
sub ecx, 0x55338e81
mov esi, eax
mov edi, 0x410000
add edi, dword [ebp - 0x38]
mov edx, 0xa94faa6
sub dword [ebp - 0x28], ecx
mov ebx, dword [edi]
sub dword [ebp - 0x34], esi
xor ebx, edx
xor dword [ebp - 0x28], 0x8d2226ff
mov dword [esi], ebx
sub dword [ebp - 0x24], edx
add esi, 0x372781bf
add esi, 0xc8d87e45
add edi, 0xdfca3c8a
sub edi, 0xdfca3c86
loop 0x4029a4
add eax, 0xb941a817
sub eax, 0xb9409070
xor ebx, ebx
add ebx, eax
add eax, 0x5c419379
add eax, 0xa3be6c8c
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, ebx
xor esi, esi
mov ebx, ebx
mov ebx, eax
mov eax, ebx
xor eax, esi
mov ebx, eax
mov ebx, ebx
mov ebx, eax
add edi, 0xc0
dec eax
rcl edx, 0xa7
imul edi
rol eax, 0xc1
rcr ebx, 0x5f
not edx
dec edi
inc eax
mov esi, 0xa9
rcl esi, 0x46
or edi, 0x49
and eax, 0xcb
inc edx
rol edx, 0xf0
neg eax
dec ebx
dec ebx
neg edi
dec edx
bswap eax
rol edi, 0xbc
inc edx
inc ebx
dec eax
inc eax
rcr edx, 0x89
rcl edx, 0x53
ror esi, 0xde
rcr esi, 0x24
inc edi
inc edi
mov edi, 0xc2
sub edi, 0xb0
rcl edx, 0x37
inc eax
dec ebx
add eax, 0x3f
mov edx, 0x24
rcl edx, 0x62
add esi, 0xbf
or eax, 0x2f
add ebx, 0x3c
rcr edi, 0xc7
dec edx
not edi
mov edx, 0xf
add edx, 5
or eax, 0xd1
add edx, 0x45
xor ecx, ecx
xor edi, edi
xor esi, ebx
mov ebx, ebx
xor ebx, ebx
xor eax, esi
mov eax, esi
xor esi, esi
ror edx, 0xa2
rcl ebx, 0xd0
sbb esi, 0x6a
neg ebx
not eax
not esi
and eax, 0xd5
bswap edi
dec esi
sbb eax, 0xe7
neg edx
imul ebx
imul esi
dec edi
not esi
rol esi, 0x2f
dec edx
add ebx, 0xe5
sbb edi, 0x53
rcr edi, 0x77
dec eax
mov eax, 0x98
ror eax, 0x89
and esi, 0x2a
rcr ebx, 0x29
sbb edi, 0x1c
neg edi
inc eax
neg edx
bswap edi
sub eax, 0x2e
rcr edi, 0x1c
dec eax
neg edi
sub eax, 0xf0
sbb edi, 0xcd
bswap esi
ror eax, 0x48
and ebx, 0x3e
or edi, 0xf5
dec esi
ror eax, 0xdb
neg ebx
ror edx, 9
and esi, 0x27
mov eax, 0x2d
imul eax
mov edx, 0x38
not edx
bswap esi
xor eax, ebx
mov eax, esi
xor ebx, esi
xor esi, esi
mov ebx, ebx
mov esi, ebx
mov ebx, esi
mov esi, esi
mov esi, eax
mov ecx, dword [ebp + 0xc]
dec edi
rcr edx, 0xee
ror ebx, 0xcd
ror esi, 0x6f
or edx, 0x18
bswap esi
imul esi
not edx
rcr esi, 0xda
ror ebx, 0xcd
dec edx
add ebx, 0x26
sub esi, 0xf7
not eax
not esi
and edi, 0x97
sub edi, 0xa5
dec eax
dec ebx
or edx, 0x67
add eax, 0xf4
sub ebx, 0xc0
rcl esi, 0xf0
not eax
bswap edi
not edi
sub edx, 0x23
sub eax, 0x96
bswap eax
not ebx
neg edx
bswap ebx
inc edi
rcr esi, 0x3c
not esi
add ebx, 0x93
bswap edi
sbb edx, 0x30
inc edx
dec edx
mov eax, 0x3c
not ebx
rcr edi, 0x6c
imul edx
inc eax
rcr esi, 0x99
sub esi, 0x22
imul edi
not eax
and edx, 0xfc
mov edi, dword [ebp + 8]
xor ebx, esi
xor ebx, esi
mov esi, esi
mov eax, ebx
mov eax, ebx
mov esi, ebx
mov eax, esi
mov esi, esi
mov esi, esi
not byte [edi]
xor ebx, ebx
xor ebx, esi
xor eax, ebx
mov ebx, esi
xor esi, ebx
mov ebx, ebx
mov esi, eax
mov eax, eax
xor esi, esi
mov esi, eax
mov ebx, ebx
mov esi, eax
sub byte [edi], 0x1d
add byte [edi], 0x40
mov eax, eax
xor esi, eax
xor eax, esi
mov esi, eax
xor ebx, esi
mov eax, eax
xor esi, ebx
xor esi, esi
mov esi, eax
imul byte [edi]
inc edi
loop 0x4011e9
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404868
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4048a7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4048a7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4048a7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4048a7
cmp dword [ecx + 0x74], 0xe
jbe 0x4048a7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40a598
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 0x40a635
push ebx
push esi
call fcn.0040a561
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.0040a4f5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40a5e2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40a634
push edi
push eax
call fcn.00408efb
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40a602
call fcn.00408f49
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40a633
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040a4f5
add esp, 0x20
test eax, eax
jne 0x40a621
push edi
call fcn.00408f49
jmp 0x40a629
push ebx
call fcn.00408f49
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 0x40b844
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4637e0
push 0x4637d8
push str.FlsAlloc
push 0x1f
call fcn.0040b703
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b878
push dword [ebp + 8]
mov ecx, esi
call dword [0x413130]
call esi
jmp 0x40b87e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b8c2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4637f0
push 0x4637e8
push str.FlsGetValue
push 0x21
call fcn.0040b703
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b8f9
push dword [ebp + 8]
mov ecx, esi
call dword [0x413130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40b901
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4637f8
push 0x4637f0
push str.FlsSetValue
push 0x22
call fcn.0040b703
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b93b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x413130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x410d10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x410d3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x410d3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4018c5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x10
mov dword [esp], edx
call sub.msvcrt.dll_strlen
mov dword [esp + 0xc], ebx
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
call sub.msvcrt.dll_fwrite
mov dword [esp], ebx
call sub.msvcrt.dll_fflush
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x4024f9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
sub esp, 0x1c
mov dword [esp], 2
call dword [0x42c084]
mov dword [esp + 8], edi
mov dword [esp], esi
mov ebx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
call sub.msvcrt.dll_fwrite
mov dword [esp], ebx
call sub.msvcrt.dll_fflush
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x403505
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov edx, dword [ebp + 0xc]
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [edx + 4]
jne 0x40352a
mov eax, 0x42d06f
mov dword [esp], eax
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x1c], eax
call fcn.0041dc24
test al, al
jne 0x40354e
mov ecx, dword [ebp - 0x1c]
call fcn.00402180
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x403565
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004033f0
push eax
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
leave
ret 0x10

Function at 0x4038de
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], edx
call sub.msvcrt.dll_fread
cmp ebx, eax
je 0x403915
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
call fcn.004037a2
mov eax, dword [ebp - 0xc]
add esp, 0x24
pop ebx
pop ebp
ret 4