joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002540
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10013b70
push 0x10004240
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x10015004]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0xa5c], esi
push esi
push 2
push 0x12
lea edx, [esi + 1]
call section..text
add esp, 4
call eax
mov ebx, eax
mov dword [ebp - 0xa64], ebx
call fcn.100023c0
mov edi, eax
mov dword [ebp - 0xa58], edi
test edi, edi
je 0x1000279c
cmp ebx, 0xffffffff
je 0x10002788
mov dword [ebp - 0xa54], 0x22c
lea eax, [ebp - 0xa54]
push eax
push ebx
push 0x64
mov edx, 1
call section..text
add esp, 4
call eax
test eax, eax
je 0x10002776
nop dword [eax]
nop dword [eax + eax]
cmp dword [0x100162b0], 0
jne 0x10002770
mov dword [ebp - 0xa60], 0
xor ebx, ebx
mov cx, word [ebp - 0xa30]
lea edi, [ebp - 0xa30]
mov eax, dword [0x100162ac]
test cx, cx
je 0x1000264f
movzx edx, cx
movzx esi, dx
lea ecx, [edx - 0x61]
lea edx, [esi + 0x20]
cmp cx, 0x19
cmova esi, edx
imul ecx, esi, 0x1000193
xor eax, ecx
lea edi, [edi + 2]
movzx ecx, word [edi]
mov edx, ecx
test cx, cx
jne 0x10002623
mov cx, word [ebp - 0xa30]
shr eax, 2
cmp eax, dword [ebx + 0x10012ef0]
je 0x1000266d
add ebx, 4
cmp ebx, 0x194
jb 0x10002610
mov eax, dword [ebp - 0xa60]
jmp 0x10002672
mov eax, 1
test eax, eax
je 0x10002743
mov dword [ebp - 0x828], 1
mov eax, dword [ebp - 0xa4c]
mov dword [ebp - 0x824], eax
push eax
push 0
push 0x1000
push 0x5e
mov edx, 1
call section..text
add esp, 4
call eax
mov esi, eax
test esi, esi
je 0x10002743
lea eax, [ebp - 0x20]
push eax
push esi
push 0x2d
mov edx, 1
call section..text
add esp, 4
call eax
test eax, eax
je 0x10002743
cmp dword [ebp - 0x20], 0x103
jne 0x10002743
push esi
push 4
mov edx, 1
call section..text
add esp, 4
call eax
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push 0x808
lea eax, [ebp - 0x828]
push eax
push 0x22e010
mov edi, dword [ebp - 0xa58]
push edi
push 0x1d
mov edx, 1
call section..text
add esp, 4
call eax
test eax, eax
je 0x1000272a
inc dword [ebp - 0xa5c]
mov dword [ebp - 4], 0xfffffffe
jmp 0x10002749
mov edi, dword [ebp - 0xa58]
lea eax, [ebp - 0xa54]
push eax
mov ebx, dword [ebp - 0xa64]
push ebx
push 0x66
mov edx, 1
call section..text
add esp, 4
call eax
test eax, eax
jne 0x100025f0
mov esi, dword [ebp - 0xa5c]
push ebx
push 4
mov edx, 1
call section..text
add esp, 4
call eax
push edi
push 4
mov edx, 1
call section..text
add esp, 4
call eax
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000360b
mov esp, ebp
pop ebp
ret
Function at 0x10002af0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov edx, 1
push 0x36
mov dword [ebp - 0x18], ecx
call section..text
add esp, 4
call eax
push 0x100
mov ebx, eax
xor edx, edx
push 0
push ebx
push 0x7b
mov dword [ebp - 0x1c], ebx
call section..text
add esp, 4
call eax
push 0x100
push 0
push ebx
push 0x7b
xor edx, edx
mov dword [ebp - 4], eax
call section..text
add esp, 4
call eax
xor edi, edi
mov ebx, eax
mov dword [ebp - 0x14], edi
xor ecx, ecx
mov edi, dword [ebp - 4]
mov dword [ebp - 0x10], ebx
sub ebx, edi
mov eax, ecx
lea esi, [ecx + edi]
xor edx, edx
mov edi, dword [ebp - 0xc]
div dword [ebp + 8]
mov byte [ebx + esi], cl
inc ecx
mov al, byte [edx + edi]
mov edi, dword [ebp - 4]
mov byte [esi], al
cmp ecx, 0x100
jl 0x10002b55
mov ebx, dword [ebp - 0x10]
mov eax, edi
mov edi, dword [ebp - 0x14]
sub eax, ebx
mov esi, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0x100
nop dword [eax]
mov dl, byte [esi]
movzx eax, byte [eax + esi]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x10002bad
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + ebx]
mov byte [edi + ebx], dl
mov byte [esi], al
inc esi
sub dword [ebp - 8], 1
mov eax, dword [ebp - 0x10]
jne 0x10002b90
xor edx, edx
xor esi, esi
cmp dword [ebp + 0xc], edx
jbe 0x10002c1e
xor edi, edi
nop word [eax + eax]
inc edi
and edi, 0x800000ff
jns 0x10002be1
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [edi + ebx]
movzx eax, cl
add edx, eax
and edx, 0x800000ff
jns 0x10002bf9
dec edx
or edx, 0xffffff00
inc edx
mov al, byte [edx + ebx]
mov byte [edx + ebx], cl
mov byte [edi + ebx], al
movzx ecx, al
movzx eax, byte [edx + ebx]
add ecx, eax
movzx eax, cl
mov ecx, dword [ebp - 0x18]
movzx eax, byte [eax + ebx]
xor byte [esi + ecx], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x10002bd0
mov eax, dword [ebp - 4]
xor edx, edx
mov esi, dword [ebp - 0x1c]
push eax
push 0
push esi
push 0x7c
call section..text
add esp, 4
call eax
push ebx
push 0
push esi
push 0x7c
xor edx, edx
call section..text
add esp, 4
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
push 0x36
mov edx, 1
call section..text
add esp, 4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10002da6
push 0xa
movzx ecx, di
mov edx, 1
push ecx
push esi
push 0x21
call section..text
add esp, 4
call eax
mov edi, eax
test edi, edi
je 0x10002da6
push edi
push esi
push 0x48
mov edx, 1
call section..text
add esp, 4
call eax
mov ebx, eax
test ebx, ebx
je 0x10002da6
push edi
push esi
push 0x86
mov edx, 1
call section..text
add esp, 4
call eax
mov edi, dword [ebp + 8]
mov dword [edi], eax
test eax, eax
je 0x10002da6
push ebx
push 0x4b
mov edx, 1
call section..text
add esp, 4
call eax
mov dword [ebp - 8], eax
test eax, eax
je 0x10002da6
push dword [edi]
xor edx, edx
push 0
push dword [ebp - 4]
push 0x7b
call section..text
add esp, 4
call eax
mov esi, eax
test esi, esi
je 0x10002da6
push dword [edi]
xor edx, edx
push dword [ebp - 8]
push esi
push 0x7f
call section..text
add esp, 4
call eax
push ebx
push 0x24
mov edx, 1
call section..text
add esp, 4
call eax
mov ax, word [0x1001317c]
movq xmm0, qword [0x10013174]
movq qword [ebp - 0x14], xmm0
mov word [ebp - 0xc], ax
test ah, ah
je 0x10002d83
xor ebx, ebx
nop word [eax + eax]
mov eax, 0xcccccccd
mul ebx
mov al, bl
shr edx, 3
mov cl, dl
shl dl, 2
add cl, dl
add cl, cl
sub al, cl
add al, 0x37
xor byte [ebp + ebx - 0x14], al
inc ebx
cmp ebx, 0xa
jl 0x10002d60
push dword [edi]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x14]
mov ecx, esi
call fcn.10002af0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003450
Capabilities:
Encode data using xor
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10015004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x100134e2], 0
xorps xmm0, xmm0
mov eax, dword [0x100134e0]
movq qword [ebp - 0x10], xmm0
movups xmm0, xmmword [str.bH__OYn_M6_:]
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [0x100134d8]
movq qword [ebp - 0x20], xmm0
je 0x100035be
xor ecx, ecx
cmp dword [0x10015bfc], 2
jl 0x10003596
movaps xmm2, xmmword [0x10013670]
mov eax, 2
movaps xmm3, xmmword [0x100136e0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
mov eax, str.bH__OYn_M6_:
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10013690]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10013680]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x100136b0]
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x30], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10013690]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x28]
paddw xmm1, xmmword [0x100136b0]
pxor xmm1, xmm0
movq qword [ebp - 0x28], xmm1
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
lea eax, [eax + eax*4]
add eax, eax
sub edx, eax
add edx, 0x37
xor word [ebp + ecx*2 - 0x30], dx
inc ecx
cmp ecx, 0xe
jl 0x10003596
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], 0x10003230
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
je 0x100035f2
push str._UpdateServeice__started
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000360b
mov esp, ebp
pop ebp
ret
push str._UpdateServeice__failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000360b
mov esp, ebp
pop ebp
ret
Function at 0x401260
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8bded8]
mov ecx, dword [0x8bce28]
shr eax, 3
sub esp, 0x408
test eax, eax
jbe 0x4012f8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jmp 0x4012a0
cmp dword [0x8bded8], 0x959
jne 0x4012e2
push 0
push 0
call esi
push 0
push 0
push str.dajisinigawoxabazo
push str.gebamuli
push 0
call edi
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push str.vudukowarudazanarayodofuwe_yomanu_dudufazesu
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401050
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4012a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401650
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
cmp dword [0x8bded8], 0x400
push esi
push edi
jne 0x4016a2
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 4]
push edx
mov word [ebp - 4], ax
mov word [ebp - 2], cx
mov eax, dword [ebp - 4]
push eax
push ecx
push str.fipokixuyizosehanevimufaramiheg_waj_rigihowazekezuwamezujaba
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea eax, [ebp - 0x24]
call fcn.00401790
lea esi, [ebp - 0x24]
call fcn.004017b0
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffW]
xor esi, esi
mov edi, edi
cmp esi, 0xa50
jge 0x4016c3
push 0
lea ecx, [ebp - 0x824]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x4016d9
cmp edi, 0x78d9a205
jne 0x4016e2
inc esi
cmp esi, 0x1c5d
jl 0x4016b0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x40170d
inc esi
cmp esi, 0x4f6a4
jl 0x4016f0
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40172c
cmp ebx, 0x785074d5
jne 0x401735
inc esi
cmp esi, 0x11915
jl 0x401718
mov edx, dword [0x49ee9c]
mov dword [0x8bded8], edx
call fcn.004013f0
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov edi, 0x3078f
pop ebx
cmp dword [0x8bded8], 0x51f
jne 0x40176e
push 0
lea eax, [ebp - 0x424]
push eax
push str.beduyov_nozis
call esi
sub edi, 1
jne 0x401752
mov eax, dword [0x8bce28]
mov dword [0x8bd46c], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4023f0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49e0c8]
jne 0x4023fa
repz ret
jmp fcn.004048de
Function at 0x40450a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004034ea
and dword [ebp - 4], 0
cmp dword [0x49f860], 0
mov ebx, eax
jne 0x4045bb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40466c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40466c
push eax
call fcn.00403478
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x49f860], eax
call esi
push eax
call fcn.00403478
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49f864], eax
call esi
push eax
call fcn.00403478
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x49f868], eax
call esi
push eax
call fcn.00403478
pop ecx
mov dword [0x49f870], eax
test eax, eax
je 0x4045bb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403478
pop ecx
mov dword [0x49f86c], eax
mov eax, dword [0x49f86c]
cmp eax, ebx
je 0x404613
cmp dword [0x49f870], ebx
je 0x404613
push eax
call fcn.004034f3
push dword [0x49f870]
mov esi, eax
call fcn.004034f3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404613
test edi, edi
je 0x404613
call esi
test eax, eax
je 0x40460a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40460a
test byte [ebp - 0xc], 1
jne 0x404613
or dword [ebp + 0x10], 0x200000
jmp 0x40464c
mov eax, dword [0x49f864]
cmp eax, ebx
je 0x40464c
push eax
call fcn.004034f3
pop ecx
test eax, eax
je 0x40464c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40464c
mov eax, dword [0x49f868]
cmp eax, ebx
je 0x40464c
push eax
call fcn.004034f3
pop ecx
test eax, eax
je 0x40464c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49f860]
call fcn.004034f3
pop ecx
test eax, eax
je 0x40466c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40466e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xe58230
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe5823a
pushal
call 0xe58240
pop ebp
sub ebp, 0x10
sub ebp, 0xa58230
jmp 0xe58256
mov eax, 0xa58230
add eax, ebp
add eax, 0x4c
mov ecx, 0x5da
mov edx, 0x7a040b3b
xor byte [eax], dl
inc eax
dec ecx
jne 0xe5826d
jmp 0xe58280
mov al, 0xf6
mov al, 0xb2
pop es
cmp edi, dword [ebx]
cmp edi, dword [edx + 0x3b3bc3fa]
cmp edi, dword [eax]
test byte [ebx + 0x3b3b3b3c], 0x81
adc edi, dword [ebx]
cmp edi, dword [ebx]
int3
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]
or edx, 0xc
inc edx
dec edx
inc eax
imul esi
imul ebx
sub eax, 0x8d
rcl ebx, 0x1e
neg edx
rcl edi, 0x8e
dec eax
imul eax
inc ebx
not edi
and esi, 0x7b
rol edx, 0x1a
dec eax
rol eax, 0x15
or edi, 0x57
bswap ebx
mov esi, 0xae
ror esi, 0x12
inc edi
or esi, 0x98
rcl edi, 0xd3
rol eax, 0x32
or eax, 0x6d
not edi
mov eax, 0x3b
bswap eax
neg eax
not esi
sbb edi, 0x8f
or ebx, 0x5f
bswap edx
inc esi
dec ebx
rcl edi, 0x45
not eax
rcr esi, 0x5f
bswap ebx
ror edi, 0xa5
and eax, 0xf2
rcl eax, 0x64
bswap eax
mov eax, 0xb
rcr eax, 0x76
not ebx
or edi, 0x47
imul eax
xor ecx, ecx
xor edi, edi
rol esi, 0x43
dec edi
inc ebx
sub edi, 0x2b
imul edi
mov edi, 0xb5
sbb edi, 0x27
rcl ebx, 0xb8
rcr edi, 0x2e
rcr ebx, 0x5a
rol ebx, 0xd
and edx, 0x8f
rcl ebx, 0x12
dec edi
neg eax
sub edi, 0xe8
bswap esi
rcl edi, 0xf5
rcr esi, 0xcb
neg eax
inc edx
dec eax
or eax, 0xa7
or edi, 0x78
inc edi
sub edi, 0x89
not eax
dec edi
imul eax
add esi, 0xad
rcr edi, 0xba
imul edi
inc esi
dec edi
inc edi
imul ebx
add eax, 0x70
neg edx
rol edx, 0x39
neg ebx
sbb edi, 0x59
neg eax
and ebx, 0x29
and edx, 0x88
inc esi
add ebx, 0xa5
dec eax
ror edx, 0x53
sbb ebx, 0xfa
imul esi
mov ecx, dword [ebp + 0xc]
bswap edx
and ebx, 0xbc
rcl edx, 0xa7
inc ebx
add edx, 0xd4
dec edx
not ebx
sub edi, 0xf8
not edx
imul edi
add edx, 8
add eax, 0x5e
sbb esi, 0x22
not edx
rcl edi, 0x62
neg esi
inc esi
not eax
neg edx
inc edx
dec edx
add eax, 0xb9
rol edi, 0x53
neg ebx
sbb edi, 0xe9
rcr edx, 0x8b
and esi, 0xdd
rol eax, 0x39
not ebx
dec edi
imul esi
not edi
not edx
sbb edx, 0x6c
sbb eax, 0x95
not edi
inc edi
sbb edx, 0xff
inc edx
inc edx
sbb edx, 0x70
bswap edi
and edi, 0x76
mov esi, 3
and edx, 0xea
bswap edx
add edi, 0xd7
dec eax
neg esi
rcl edi, 0x38
mov edi, dword [ebp + 8]
mov eax, esi
mov ebx, esi
mov eax, ebx
mov ebx, ebx
mov eax, ebx
xor esi, esi
xor eax, ebx
xor esi, ebx
xor ebx, eax
xor ebx, ebx
xor esi, eax
mov eax, eax
not byte [edi]
xor esi, esi
mov eax, esi
mov eax, esi
mov ebx, esi
mov eax, esi
mov ebx, esi
mov eax, esi
mov eax, eax
xor esi, ebx
sub byte [edi], 0x49
mov eax, eax
mov esi, ebx
xor eax, eax
xor ebx, esi
xor esi, esi
mov esi, esi
mov esi, eax
xor esi, eax
xor eax, esi
add byte [edi], 0x89
xor eax, esi
mov ebx, esi
xor esi, esi
mov ebx, ebx
mov esi, esi
xor eax, esi
xor ebx, eax
mov ebx, eax
xor eax, eax
imul byte [edi]
inc edi
loop 0x4011ba
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40bea5
Capabilities:
Parse pe header

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

Function at 0x40d59d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40d5be
jl 0x40d5b5
test edi, edi
jne 0x40d5be
xor eax, eax
xor edx, edx
jmp 0x40d67f
cmp dword [ebx + 0x38], 0
je 0x40d5d3
push eax
push edi
push dword [ebp + 8]
call fcn.0040d685
jmp 0x40d67f
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40d61a
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40d61a
cmp eax, edi
jb 0x40d5f4
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040e5f0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40d620
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40d674
mov ecx, ebx
call fcn.0040cdb1
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40d65f
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00417672
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40d674
jmp 0x40d632
test edx, edx
je 0x40d674
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00417672
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x41aa8f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f350
push 0x42f348
push str.FlsAlloc
push 0x1e
call fcn.0041a8fc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41aac3
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b160]
call esi
jmp 0x41aac9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41ab0d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f360
push 0x42f358
push str.FlsGetValue
push 0x20
call fcn.0041a8fc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41ab44
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41dc6b
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 0x41dd08
push ebx
push esi
call fcn.0041dc34
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.0041db7d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41dcb5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41dd07
push edi
push eax
call fcn.0041b92c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41dcd5
call fcn.0041ade5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41dd06
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041db7d
add esp, 0x20
test eax, eax
jne 0x41dcf4
push edi
call fcn.0041ade5
jmp 0x41dcfc
push ebx
call fcn.0041ade5
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 0x422202
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00422073

Function at 0x4225fc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00429cf0
mov eax, dword [0x4b1ed8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041c761
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x42263e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x42279a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00429b20
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4b3640]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004235f3
mov ecx, dword [esi*4 + 0x4b3640]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x422793
cmp eax, dword [edi + ecx + 0x24]
jne 0x422793
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x422793
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004235f3
add esp, 0x14
test edx, edx
jl 0x422793
jg 0x422709
test eax, eax
jb 0x422793
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x422793
jl 0x422723
cmp dword [ebp - 0x1008], eax
ja 0x422793
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x422741
test ebx, ebx
je 0x42277a
cmp ecx, edi
jae 0x42277a
mov al, byte [ecx]
cmp al, 0xd
jne 0x42275b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x422767
cmp byte [ecx + 1], 0xa
jne 0x422767
inc ecx
jmp 0x422767
movzx eax, al
movsx eax, byte [eax + 0x4b2678]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x422741
cmp edx, ebx
jne 0x422741
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x422798
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040c338
leave
ret