joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402d5c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4060d0]
jne 0x402d66
repz ret
jmp fcn.0040321a

Function at 0x403210
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x404f88
call fcn.00403330
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
cmp dword [0x4066d0], ebx
jne 0x402fab
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x24], ebx
mov edi, 0x4066c4
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x402fe5
cmp eax, esi
jne 0x402fd8
xor esi, esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x402fe8
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x402fbf
xor esi, esi
inc esi
mov eax, dword [0x4066c0]
cmp eax, esi
jne 0x402ffb
push 0x1f
call sub.msvcr100.dll__amsg_exit
pop ecx
jmp 0x403036
mov eax, dword [0x4066c0]
test eax, eax
jne 0x403030
mov dword [0x4066c0], esi
push 0x4041e8
push 0x4041dc
call sub.msvcr100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x403036
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x403150
mov dword [0x40637c], esi
mov eax, dword [0x4066c0]
cmp eax, esi
jne 0x40305a
push 0x4041d8
push 0x4041c8
call sub.msvcr100.dll__initterm
pop ecx
pop ecx
mov dword [0x4066c0], 2
cmp dword [ebp - 0x24], ebx
jne 0x403067
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x4066d4], ebx
je 0x403088
push 0x4066d4
call fcn.004039c1
pop ecx
test eax, eax
je 0x403088
push ebx
push 2
push ebx
call dword [0x4066d4]
mov eax, dword [sym.imp.msvcr100.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x4030e1
cmp al, bl
je 0x4030a1
cmp dword [ebp - 0x1c], ebx
jne 0x4030e1
mov al, byte [esi]
cmp al, bl
je 0x4030b1
cmp al, 0x20
ja 0x4030b1
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4030a1
test byte [ebp - 0x40], 1
je 0x4030bd
movzx eax, word [ebp - 0x3c]
jmp 0x4030c0
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x406378], eax
cmp dword [0x40636c], ebx
jne 0x403136
push eax
call dword [sym.imp.msvcr100.dll_exit]
cmp al, 0x22
jne 0x4030f0
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcr100.dll__ismbblead]
pop ecx
test eax, eax
je 0x403103
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x40308f
cmp dword [0x40637c], ebx
jne 0x403144
call dword [sym.imp.msvcr100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x406378]
call fcn.00403375
ret
call fcn.004039c1
jmp 0x402f7d

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 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x401443
pop dword [ebp - 0xc]
mov eax, 0x401443
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x97105d67
add dword [ebp - 0x1c], 0xb741e7e4
mov dword [ebp - 0x18], 0x8179fa24
add dword [ebp - 0x18], 0xb0b95221
mov dword [ebp - 0x14], 0x2d6e7f9b
sub dword [ebp - 0x14], 0xe1223b6d
mov dword [ebp - 0x10], 0x9d9662a5
sub dword [ebp - 0x10], 0x9d9662a5
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x6868861
add dword [ebp - 0x1c], 0x6debe0f5
mov dword [ebp - 0x18], 0xd09b3dcb
sub dword [ebp - 0x18], 0x8f2edc56
mov dword [ebp - 0x14], 0x4aad8d2a
sub dword [ebp - 0x14], 0xe73e20be
mov dword [ebp - 0x10], 0x9804ad84
add dword [ebp - 0x10], 0x67fb527c
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xd30c92e2
sub eax, 0xd2cc11e2
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x38fb6
push 0
call eax
mov ecx, 0xc94451b0
add ecx, 0x36bbf914
mov edi, eax
mov esi, 0x175e7206
add esi, 0xe8e871fa
add esi, dword [ebp - 0xc]
mov ebx, 0xa8704626
sub ebx, 0x2c19f021
add dword [ebp - 8], ebx
mov edx, dword [esi]
xor dword [ebp - 8], 0x1e684f51
xor edx, ebx
mov dword [ebp - 4], 0x4625da94
mov dword [edi], edx
add edi, 0xa0428d8c
add edi, 0x5fbd7278
add esi, 4
loop 0x40155b
add eax, 0x11de3
xor ebx, ebx
add ebx, eax
add eax, 0x2bd3615f
sub eax, 0x2bd3615a
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc

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 0x4027e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40401d], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Marmimo
push str.Mimoclass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402828
xor eax, eax
jmp 0x402843
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x7c7ebc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7c7ec6
pushal
call 0x7c7ecc
pop ebp
sub ebp, 0x10
sub ebp, 0x3c7ebc
jmp 0x7c7ee2
mov eax, 0x3c7ebc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c7
mov edx, 0x9819b2c5
xor byte [eax], dl
inc eax
dec ecx
jne 0x7c7ef9
jmp 0x7c7f0c
dec esi
or byte [esi + 0x4c], cl
stc
invalid
Function at 0x418a5c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x418a6b
pop dword [ebp - 0x34]
mov eax, 0xbddce7f9
add eax, 0x4264a272
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x82c2cab8
add dword [ebp - 0x44], 0xcb8f7a93
mov dword [ebp - 0x40], 0xb3aa1e6f
add dword [ebp - 0x40], 0x7e892dd6
mov dword [ebp - 0x3c], 0x52fcb810
add dword [ebp - 0x3c], 0xf94f8c1e
mov dword [ebp - 0x38], 0x16a93b0a
sub dword [ebp - 0x38], 0x16a93b0a
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x146724e7
add dword [ebp - 0x44], 0x600b446f
mov dword [ebp - 0x40], 0x4359d9eb
add dword [ebp - 0x40], 0xfe12878a
mov dword [ebp - 0x3c], 0xe315e0e3
add dword [ebp - 0x3c], 0x80598b89
mov dword [ebp - 0x38], 0x367e421d
sub dword [ebp - 0x38], 0x367e421d
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x956b4e0e
add eax, 0x6ad4c36e
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x39c69
push 0
call eax
mov ecx, 0x9f991a05
sub ecx, 0x9f98df20
mov edx, eax
mov ebx, 0x3289016d
add ebx, 0xcdb94a93
add ebx, dword [ebp - 0x34]
mov edi, 0x1f7180f8
add edi, 0xcfab5782
xor dword [ebp - 4], 0x28b0645c
mov esi, dword [ebx]
sub dword [ebp - 0x20], esi
xor esi, edi
xor dword [ebp - 0xc], edi
mov dword [edx], esi
add dword [ebp - 4], 0x71d689da
add edx, 0xfb82ea5c
sub edx, 0xfb82ea58
add ebx, 0x46562eda
add ebx, 0xb9a9d12a
loop 0x418b88
add eax, 0x65e437e4
add eax, 0x9a1ca683
mov ebx, eax
add eax, 5
mov ecx, 0x84adff74
sub ecx, 0x846dff74
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x41beed
Capabilities:
Query environment variable

Disassembly:
push 0x220
mov eax, 0x41e0a6
call fcn.00405b93
mov esi, 0x104
push esi
lea eax, [ebp - 0x21c]
push eax
push 0x402c58
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x41bf1f
mov al, 1
jmp 0x41bfba
cmp eax, esi
jae 0x41bfb8
and dword [ebp - 0x220], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x221]
push 0x421748
push 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x228], eax
call fcn.0040554a
pop ecx
pop ecx
test eax, eax
jne 0x41bf59
call fcn.00405d2c
mov dword [ebp - 0x22c], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0041c236
mov esi, eax
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x220], esi
call fcn.0041c274
mov dword [0x421bc4], esi
jmp 0x41bf18
xor al, al
call fcn.00405bec
ret
Function at 0x41ca34
Capabilities:
Write file on windows

Disassembly:
push 0xc
mov eax, 0x41e1a6
call fcn.00405af4
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov edi, dword [eax + 8]
push 1
lea eax, [ebx + 0x58]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp + 8], edi
call main
mov eax, dword [ebx + 0x70]
and dword [ebp - 4], 0
mov dword [edi + 8], eax
inc dword [ebx + 0x70]
push dword [edi + 8]
lea ecx, [ebx + 0x3c]
call main
push esi
mov ecx, eax
call main
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041ce44
push 5
pop ecx
lea eax, [esi + 0xc]
push eax
mov edi, eax
mov eax, dword [ebp + 8]
push 0
mov esi, 0x402dd8
rep movsd dword es:[edi], dword [esi]
push dword [eax + 0xc]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x41cac0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
je 0x41cac0
call fcn.00405ebd
call fcn.00405bcc
ret 4
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4013e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10004
call fcn.00402620
mov eax, dword [0x413100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0xfffc
push eax
mov word [ebp - 0x10004], ax
lea eax, [ebp - 0x10002]
push eax
call fcn.00402650
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x7fff
lea eax, [ebp - 0x10004]
push eax
push str.STEAM_COMPAT_PROTON
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
push 0
setne bl
call dword [sym.imp.KERNEL32.dll_SetLastError]
test bl, bl
pop ebx
jne 0x401460
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040260f
mov esp, ebp
pop ebp
ret
push 0xa
lea eax, [ebp - 0x10004]
push 0
push eax
call fcn.004025f7
mov ecx, dword [ebp - 4]
add esp, 0xc
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0040260f
mov esp, ebp
pop ebp
ret

Function at 0x401510
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20004
call fcn.00402620
mov eax, dword [0x413100]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0xfffc
push eax
mov word [ebp - 0x20004], ax
lea eax, [ebp - 0x20002]
push eax
call fcn.00402650
xor eax, eax
push 0xfffc
push eax
mov word [ebp - 0x10004], ax
lea eax, [ebp - 0x10002]
push eax
call fcn.00402650
add esp, 0x18
lea eax, [ebp - 0x20004]
push 0x7fff
push eax
push 0x40e260
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0x4141e0
lea eax, [ebp - 0x10004]
push 0x7fff
push eax
call fcn.0040238b
lea eax, [ebp - 0x20004]
push 0x7fff
push eax
call fcn.004023f7
add esp, 0x14
test eax, eax
je 0x4015d6
push 0x40e25c
lea eax, [ebp - 0x10004]
push 0x7fff
push eax
call fcn.0040238b
lea eax, [ebp - 0x20004]
push eax
lea eax, [ebp - 0x10004]
push 0x7fff
push eax
call fcn.0040238b
add esp, 0x18
lea eax, [ebp - 0x10004]
push eax
push 0x40e260
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040260f
mov esp, ebp
pop ebp
ret
Function at 0x408ae5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x413100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [section..data]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004047d1
mov dword [ebp - 0x14], eax
cmp dword [0x425038], esi
jne 0x408bd8
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x408b65
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x408cb8
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x408cb8
push 0x4101f8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x408cb8
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x425038], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42503c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x425040], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x425048], eax
test eax, eax
je 0x408bd5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x425044], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x408bfd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408bf0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x408c12
push 4
pop eax
jmp 0x408cba
cmp dword [ebp - 0x14], esi
je 0x408c12
push dword [0x425038]
call dword [0x413004]
push 3
jmp 0x408bf7
mov eax, dword [0x425044]
mov ebx, dword [0x413004]
cmp eax, edi
je 0x408c70
cmp dword [0x425048], edi
je 0x408c70
push eax
call ebx
push dword [0x425048]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x408c70
test eax, eax
je 0x408c70
call ecx
test eax, eax
je 0x408c65
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x408c65
test byte [ebp - 8], 1
jne 0x408c70
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x408ca0
mov eax, dword [0x42503c]
cmp eax, edi
je 0x408c9d
push eax
call ebx
test eax, eax
je 0x408c9d
call eax
mov esi, eax
test esi, esi
je 0x408c9d
mov eax, dword [0x425040]
cmp eax, edi
je 0x408c9d
push eax
call ebx
test eax, eax
je 0x408c9d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x425038]
call ebx
test eax, eax
je 0x408cb8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x408cba
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040260f
mov esp, ebp
pop ebp
ret
Function at 0x403400
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x40648c], 0
jne 0x40340e
call fcn.004031f0
mov eax, dword [0x406488]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push eax
call esi
test eax, eax
jne 0x403432
call fcn.004031f0
mov ecx, dword [0x406488]
push ecx
call esi
mov ecx, dword [esp + 0x14]
lea edx, [eax + 8]
mov esi, 0x11
mov edi, edi
mov edi, ecx
imul edi, edi, 0x53a9b4fb
mov ecx, 1
sub ecx, edi
mov dword [edx + 0x44], ecx
imul ecx, ecx, 0x53a9b4fb
mov edi, 1
sub edi, ecx
mov ecx, edi
mov dword [edx], ecx
add edx, 4
dec esi
jne 0x403440
mov dword [eax], esi
mov dword [eax + 4], 0xa
lea ebp, [esi + 0x1f]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov edx, dword [eax + ecx*4 + 0x4c]
mov edi, dword [eax + ecx*4 + 8]
mov ebx, dword [eax + esi*4 + 8]
ror edx, 0xd
add edx, dword [eax + esi*4 + 0x4c]
ror edi, 5
add edi, ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x4c], edi
dec esi
dec ecx
jns 0x4034a3
mov ecx, 0x10
test esi, esi
jns 0x4034ac
mov esi, 0x10
dec ebp
mov dword [eax], ecx
mov dword [eax + 4], esi
jne 0x403475
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x403539
Capabilities:
Copy file

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x403558
cmp dword [esp + 8], eax
je 0x403558
push eax
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x40355a
xor eax, eax
ret 8

Function at 0x403570
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
cmp dword [esi + 0x14], eax
jne 0x4035a5
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push eax
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 4]
mov dword [esi + 0xc], ecx
pop esi
pop ecx
ret 4

Function at 0x403880
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x4064e4]
push ebx
push esi
push edi
push eax
or edi, 0xffffffff
push ecx
or ebx, edi
jmp loc.004081d6

Function at 0x4038e0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov ecx, dword [0x4064e4]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.00403cb6
test eax, eax
je 0x403932
cmp dword [eax + 4], 0
je 0x403918
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edx
push ecx
push eax
call fcn.00403a00
pop ecx
ret 0xc
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push 0
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp]
pop ecx
ret 0xc
Function at 0x100023dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x100023eb
pop dword [ebp - 0x44]
mov eax, 0x100023eb
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x740e27f9
add dword [ebp - 0x54], 0xda441d52
mov dword [ebp - 0x50], 0x4e3db58d
sub dword [ebp - 0x50], 0x1c0a6948
mov dword [ebp - 0x4c], 0xb8399025
sub dword [ebp - 0x4c], 0x6bed4bf7
mov dword [ebp - 0x48], 0xda0b8112
sub dword [ebp - 0x48], 0xda0b8112
lea eax, [ebp - 0x54]
push eax
mov eax, 0xdaa34468
add eax, 0x355d5b9c
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x7198069f
sub dword [ebp - 0x54], 0xfd259d49
mov dword [ebp - 0x50], 0xa45f86fb
sub dword [ebp - 0x50], 0x62f32586
mov dword [ebp - 0x4c], 0xa57b309c
sub dword [ebp - 0x4c], 0x420bc430
mov dword [ebp - 0x48], 0x9adb03f4
add dword [ebp - 0x48], 0x6524fc0c
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x36757
push 0
call eax
mov ecx, 0x476c
mov edx, eax
mov esi, 0x553916d3
sub esi, 0x45381ed3
add esi, dword [ebp - 0x44]
mov ebx, 0x5b094859
sub ebx, 0xe8d82743
sub dword [ebp - 8], edi
mov edi, dword [esi]
xor dword [ebp - 4], ebx
add edi, ebx
xor dword [ebp - 0x3c], 0x58e49fcf
mov dword [edx], edi
mov dword [ebp - 0x30], 0xd5515bd7
add edx, 4
add esi, 0x2722e2c
add esi, 0xfd8dd1d8
loop 0x100024fd
add eax, 0x7b664506
add eax, 0x849acb7d
xor ebx, ebx
add ebx, eax
add eax, 0xf303ef00
add eax, 0xcfc1105
mov ecx, 0xa2537e76
add ecx, 0x6dac818a
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x4240bb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x4240ca
pop dword [ebp - 0x3c]
mov eax, 0x7f41f8af
sub eax, 0x7effb7e5
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x3faca
push 0
mov eax, 0xff0ad546
add eax, 0x1377bda
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0xd5985840
sub ecx, 0xd5980366
mov edx, eax
mov ebx, 0xbe3e11ab
add ebx, 0x42051c55
add ebx, dword [ebp - 0x3c]
mov esi, 0xda830451
add esi, 0xd6747186
xor dword [ebp - 0x1c], 0xcfa1687d
mov edi, dword [ebx]
xor edi, esi
add dword [ebp - 4], ecx
mov dword [edx], edi
mov dword [ebp - 0x1c], 0x5f95d2b1
add edx, 0xd6a00050
add edx, 0x295fffb4
add ebx, 4
loop 0x424129
add eax, 0x33fb5a25
add eax, 0xcc05ec16
xor ebx, ebx
add ebx, eax
add eax, 0x8651ac82
add eax, 0x79ae5383
mov ecx, 0x3fef00b
sub ecx, 0x3bef00b
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x100035e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 8
mov ebx, ecx
mov edi, dword [edx + 0x10]
jb 0x100035f6
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add edi, edi
je 0x10003612
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x10003601
mov eax, dword [ebx + 0x18]
pop edi
and eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x10003ca0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x10003cbb
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x10003cd7
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x10003cc6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x10003d10
cmp eax, edi
jne 0x10003d08
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x10003d18
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10003d18
cmp eax, edi
jne 0x10003d1b
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
push ecx
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.100039c0
push 0x20
push edi
call fcn.100564e7
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8