joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014134
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x101a1dc0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001417a
cmp word [ebx], dx
jne 0x1001417a
or byte [eax + edi + 0x28], 4
jmp 0x1001417f
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x100142e2
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x100142c2
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100141c0
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100141f6
cmp eax, edx
jae 0x10014204
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1001419b
jmp 0x100142e2
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100142bd
cmp dword [ebp - 0x18], 0
je 0x100142bd
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x101a1dc0]
test byte [eax + edi + 0x28], 0x48
je 0x10014293
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10014257
mov word [esi], cx
jmp 0x1001428e
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x101a1dc0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x101a1dc0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x101a1dc0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100142e2
pop eax
cmp word [ebp - 4], ax
jne 0x100142a3
cmp esi, ebx
jne 0x100142a3
mov word [esi], ax
jmp 0x100142df
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1001382a
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100142e2
push 0xd
pop eax
jmp 0x1001429e
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x101a1dc0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100142dc
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100142e2
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10014da1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10023330
push 0x10023328
push str.FlsAlloc
push 0x1f
call fcn.10014c0c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10014dd5
push dword [ebp + 8]
mov ecx, esi
call dword [0x10020168]
call esi
jmp 0x10014ddb
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10014e1f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10023340
push 0x10023338
push str.FlsGetValue
push 0x21
call fcn.10014c0c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10014e56
push dword [ebp + 8]
mov ecx, esi
call dword [0x10020168]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10014e5e
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10023348
push 0x10023340
push str.FlsSetValue
push 0x22
call fcn.10014c0c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10014e98
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10020168]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1001894b
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 0x100189e8
push ebx
push esi
call fcn.10018914
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.100176e9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10018995
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100189e7
push edi
push eax
call fcn.1001550c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100189b5
call fcn.10010452
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100189e6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100176e9
add esp, 0x20
test eax, eax
jne 0x100189d4
push edi
call fcn.10010452
jmp 0x100189dc
push ebx
call fcn.10010452
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 0x1001afef
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100107f6
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001b05e
cmp esi, dword [ebp - 4]
je 0x1001b059
cmp dword [ebp + 0xc], 0
je 0x1001b059
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1001b036
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1001ab41
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1001b060
xor eax, eax
inc eax
jmp 0x1001b060
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1001b0c5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1002a080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100107f6
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100107f6
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1001b13c
cmp word [ecx], dx
je 0x1001b13c
mov eax, dword [0x100239ac]
push edi
dec eax
push eax
push 0x10023898
call fcn.1001b064
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1001b1af
cmp word [eax], dx
je 0x1001b1af
mov eax, dword [edi]
test eax, eax
je 0x1001b160
cmp word [eax], dx
je 0x1001b160
lea eax, [ebp - 0x10]
push eax
call fcn.1001aa47
jmp 0x1001b169
lea eax, [ebp - 0x10]
push eax
call fcn.1001aae2
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1001b1d9
mov eax, dword [0x10023894]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10023588
call fcn.1001b064
add esp, 0xc
test al, al
je 0x1001b1d9
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1001b1a4
cmp word [eax], di
je 0x1001b1a4
lea eax, [ebp - 0x10]
push eax
call fcn.1001aa47
pop ecx
jmp 0x1001b1db
lea eax, [ebp - 0x10]
push eax
call fcn.1001aae2
jmp 0x1001b1a1
mov eax, dword [edi]
test eax, eax
je 0x1001b1c6
cmp word [eax], dx
je 0x1001b1c6
lea eax, [ebp - 0x10]
push eax
call fcn.1001a9fc
pop ecx
jmp 0x1001b1d9
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1001b2a4
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1001aee9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001b2a4
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1001b2a4
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1001b2a4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001b231
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10014f9e
test ebx, ebx
je 0x1001b29f
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10014f9e
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001b2a4
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001b2a4
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1001d689
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1001b2a6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100076c4
leave
ret
Function at 0x1001dbb6
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1001db32
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1001dd25
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1001dd25
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1001dcda
jg 0x1001dc12
test eax, eax
je 0x1001dcd0
push 1
push 0x1000
call fcn.10013587
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1001dc35
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1001dcc7
push 0x8000
push ebx
call fcn.1001da63
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1001dc5e
jg 0x1001dc59
cmp ecx, 0x1000
jb 0x1001dc5e
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1001336b
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001dca3
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1001dc59
jl 0x1001dc8a
test ecx, ecx
jne 0x1001dc4b
push dword [ebp - 0xc]
push ebx
call fcn.1001da63
push esi
call fcn.10010452
add esp, 0xc
xor ebx, ebx
jmp 0x1001dd33
cmp byte [edi + 0x24], 0
je 0x1001dcba
cmp dword [edi + 0x20], 5
jne 0x1001dcba
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1001dcc5
mov ebx, dword [edi + 0x18]
jmp 0x1001dcc7
xor ebx, ebx
push esi
call fcn.10010452
pop ecx
jmp 0x1001dd33
test ecx, ecx
jg 0x1001dc9c
jl 0x1001dcda
test eax, eax
jae 0x1001dc9c
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1001382a
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1001dcfa
cmp byte [edi + 0x1c], 0
je 0x1001dc9c
jmp 0x1001dd2b
push ebx
call fcn.1001b67f
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1001dc9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1001dd33
cmp byte [edi + 0x1c], 0
je 0x1001dd30
mov ebx, dword [edi + 0x18]
jmp 0x1001dd33
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1001382a
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001f030
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001f05d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001f05d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4012f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
lodsd eax, dword [esi]
xchg esi, eax
lodsd eax, dword [esi]
mov ebx, dword [eax + 0x10]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401e95
Capabilities:
Parse pe header

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

Disassembly:
cmp ecx, dword [0x2a357578]
jne 0x2a301967
repz ret
jmp fcn.2a341dce

Function at 0x2a309f40
Capabilities:
Terminate thread

Disassembly:
push 0x10
mov eax, 0x2a342707
call fcn.2a30229e
mov esi, ecx
xor edi, edi
cmp dword [esi], 0xb
mov dword [ebp - 0x14], edi
jne 0x2a30a02b
mov edi, dword [sym.imp.kernel32.dll_WaitForSingleObject]
push 0xea60
push dword [esi + 0x2e0]
call edi
or dword [esi + 0x1ac], 0xffffffff
push 1
push dword [esi + 0x2dc]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [esi + 0x2e0]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
call ebx
shr eax, 4
add eax, 0x12c
mov dword [ebp - 0x10], eax
jmp 0x2a309fdb
push 0xea60
push dword [esi + 0x2e0]
call edi
push dword [esi + 0x2e0]
xor eax, eax
cmp dword [esi], 0xb
setne al
movzx eax, ax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp word [ebp - 0x1c], 0
jne 0x2a309fe5
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call ebx
shr eax, 4
cmp eax, dword [ebp - 0x10]
jb 0x2a309fa5
push 0xea60
push dword [esi + 0x2e0]
call edi
cmp dword [esi], 0xb
jne 0x2a30a00a
xor edi, edi
inc edi
push edi
push dword [esi + 0x2dc]
call dword [sym.imp.kernel32.dll_TerminateThread]
mov dword [ebp - 0x14], edi
push dword [esi + 0x2e0]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [esi + 0x2e0]
call dword [sym.imp.kernel32.dll_CloseHandle]
and dword [esi + 0x2e0], 0
xor edi, edi
mov eax, dword [esi + 0x1c]
lea ebx, [esi + 0x1ac]
mov dword [ebx], edi
cmp eax, edi
je 0x2a30a05c
cmp word [ebp - 0x14], di
jne 0x2a30a059
push ebx
push eax
call fcn.2a335749
cmp dword [ebx], edi
jne 0x2a30a05c
push ebx
push dword [esi + 0x18]
mov dword [esi + 0x1c], edi
call fcn.2a335749
jmp 0x2a30a05c
mov dword [esi + 0x1c], edi
cmp word [esi + 0x14c], di
je 0x2a30a0c8
push edi
push edi
lea ecx, [ebp - 0x18]
call fcn.2a335749
mov ebx, dword [0x2a358a70]
push edi
lea eax, [esi + 0x48]
push eax
mov eax, dword [0x2a358a74]
push str.Cstring
mov dword [ebp - 4], edi
call dword [eax + 0x14]
movzx eax, ax
pop ecx
push eax
push edi
call dword [ebx + 0xd0]
add esp, 0x10
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.2a335749
cmp dword [ebp - 0x14], edi
je 0x2a30a0bc
lea ecx, [ebp - 0x18]
call fcn.2a335749
test al, al
je 0x2a30a0bc
lea ecx, [ebp - 0x18]
call fcn.2a330802
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a3032b3
mov eax, dword [esi + 0x3c]
cmp eax, edi
je 0x2a30a0df
push eax
mov eax, dword [0x2a358780]
call dword [eax + 0x284]
pop ecx
mov dword [esi + 0x3c], edi
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x2a30a107
push eax
mov eax, dword [0x2a358a90]
cmp word [esi + 0x1a2], di
je 0x2a30a0fd
call dword [eax + 0x124]
jmp 0x2a30a103
call dword [eax + 0x11c]
pop ecx
mov dword [esi + 0x24], edi
mov dword [esi], 2
call fcn.2a3026e6
ret
Function at 0x2a323cd6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x2a3442a0
call fcn.2a30372f
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x2a323d84
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.2a335749
add esp, 0xc
test eax, eax
js 0x2a323d84
mov edi, dword [ebp - 0x41c]
cmp edi, 0x400
jg 0x2a323d6a
push edi
call fcn.2a3203ae
pop ecx
test al, al
je 0x2a323d6a
mov eax, edi
call fcn.2a341a00
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x2a323d76
push edi
lea ecx, [ebp - 0x428]
call fcn.2a335749
push 3
push edi
push esi
push eax
call fcn.2a335749
cmp eax, ebx
jne 0x2a323dc1
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a323d9d
lea ecx, [ebp - 0x418]
call fcn.2a31ffe1
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.2a31fe2e
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.2a303768
ret 0x10
push 2
push ebx
push eax
call fcn.2a3212fd
mov edi, eax
mov dword [ebp - 0x41c], edi
cmp edi, ebx
jne 0x2a323de2
call fcn.2a31f619
mov esi, eax
jmp 0x2a323eac
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x2a323e05
call fcn.2a31f619
jmp 0x2a323e9e
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x2a323dfb
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x424], esi
cmp eax, esi
jae 0x2a323e35
mov esi, 0x8007000e
jmp 0x2a323ea0
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2a335749
mov dword [ebp - 4], 1
jmp 0x2a323e63
cmp dword [ebp - 0x418], ebx
je 0x2a323e2e
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.2a335749
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.2a335749
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a323da2
lea ecx, [ebp - 0x418]
call fcn.2a31ffe1
jmp 0x2a323da2
Function at 0x2a335749
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x2a335758
pop dword [ebp - 0x40]
mov eax, 0x2a335758
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x505f6f20
add dword [ebp - 0x50], 0xfdf2d62b
mov dword [ebp - 0x4c], 0x4df99501
add dword [ebp - 0x4c], 0xe439b744
mov dword [ebp - 0x48], 0x921892cb
add dword [ebp - 0x48], 0xba33b163
mov dword [ebp - 0x44], 0xac72806f
sub dword [ebp - 0x44], 0xac72806f
lea eax, [ebp - 0x50]
push eax
mov eax, 0xfd08a0a4
sub eax, 0xd2d43058
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xabfbb287
sub dword [ebp - 0x50], 0x37894931
mov dword [ebp - 0x4c], 0x6660ede9
add dword [ebp - 0x4c], 0xdb0b738c
mov dword [ebp - 0x48], 0xaef3ec93
add dword [ebp - 0x48], 0xb47b7fd9
mov dword [ebp - 0x44], 0xcf38af9e
sub dword [ebp - 0x44], 0xcf38af9e
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x44ba7
push 0
call eax
mov ecx, 0x45f1
mov ebx, eax
mov esi, 0x2a36ba00
add esi, dword [ebp - 0x40]
mov edi, 0x817dc322
sub edi, 0xad329a29
xor dword [ebp - 0xc], ecx
mov edx, dword [esi]
mov dword [ebp - 0x10], 0x503d771a
add edx, edi
xor dword [ebp - 0x24], 0x8bff9827
mov dword [ebx], edx
xor dword [ebp - 0x34], ecx
add ebx, 4
add esi, 0xb0cb1ba3
sub esi, 0xb0cb1b9f
loop 0x2a335864
add eax, 0x94d0d13b
sub eax, 0x94cfc6a4
mov ebx, eax
add eax, 0x8d1fe394
add eax, 0x72e01c71
mov ecx, 0x6956eda4
sub ecx, 0x3f26eda4
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x100027c5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
and ecx, 0xfffffffc
mov esp, ecx
mov ebp, dword [esp + 0x30]
mov ecx, 0xfffffff8
mov eax, 2
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
add ebx, 0xb10
mov esi, dword [edx - 4]
mov dword [edx - 4], 0xfffffffe
mov dword [ebx - 0xa44], 0xffffffff
jmp 0x100026fb

Function at 0x10006700
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
xor eax, eax
test cl, 1
je 0x1000671b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10006726
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10006731
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000673c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10006747
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10006752
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000675d
bts eax, 1
test cl, 2
je 0x10006766
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x10006802
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x100067f3
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10006710
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006830
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x1012938c
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp - 8], 0
call fcn.100dc9dd
add esp, 0xc
test eax, eax
je 0x10006880
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008550c
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.100dcd53
add esp, 4
mov ebx, eax
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
test ebx, ebx
jne 0x100068b6
call fcn.100dc8df
add esp, 4
xor al, al
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008550c
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call fcn.100dcc18
add esp, 0x10
test eax, eax
je 0x1000690b
push esi
nop dword [eax + eax]
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 0xc]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x100068d2
push dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
push 0x400
push 1
push ebx
call fcn.100dcc18
add esp, 0x10
test eax, eax
jne 0x100068d0
pop esi
push ebx
call fcn.100dca24
push dword [ebp - 8]
call fcn.100dc8df
mov ecx, dword [ebp - 4]
add esp, 8
not dword [edi]
xor ecx, ebp
mov al, 1
pop ebx
pop edi
call fcn.1008550c
mov esp, ebp
pop ebp
ret 0xc