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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x453468]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41cfa9
cmp word [esi], dx
jne 0x41cfa9
or byte [edi + eax + 0x28], 4
jmp 0x41cfae
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41d101
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41d0e1
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41cff0
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d026
cmp eax, edx
jae 0x41d032
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41cfc8
jmp 0x41d101
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d0dd
cmp dword [ebp - 0x14], 0
je 0x41d0dd
mov eax, dword [ebx*4 + 0x453468]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d0b5
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d07e
mov word [esi], cx
jmp 0x41d0b1
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x453468]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x453468]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x453468]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d101
pop ebx
cmp word [ebp - 4], bx
jne 0x41d0c6
cmp esi, dword [ebp + 0xc]
jne 0x41d0c6
mov word [esi], bx
jmp 0x41d0fe
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041d99a
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d101
push 0xd
jmp 0x41d0fa
mov ecx, dword [ebx*4 + 0x453468]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d0f8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d101
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41fa82
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 0x41fb1f
push ebx
push esi
call fcn.0041fa4b
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.0041e82c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41facc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41fb1e
push edi
push eax
call fcn.004193ad
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41faec
call fcn.0041858f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41fb1d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041e82c
add esp, 0x20
test eax, eax
jne 0x41fb0b
push edi
call fcn.0041858f
jmp 0x41fb13
push ebx
call fcn.0041858f
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 0x426e50
Capabilities:
Parse pe header

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

Function at 0x428000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x14
mov ecx, dword [ebp + 8]
sub eax, ecx
sar eax, 2
push esi
push edi
test eax, eax
je 0x4280d1
xor edi, edi
mov esi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov al, byte [esi + 0x4511b0]
mov edx, str.Own_head
xor al, 0x73
sub al, 0x6c
xor al, 0x74
mov byte [esi + 0x4511b0], al
call fcn.00404768
push eax
call fcn.00404928
mov al, byte [esi + 0x4511b0]
mov edx, str.Earth
add al, 0x4e
xor al, 0xdc
pop ecx
mov byte [esi + 0x4511b0], al
call fcn.00404768
push eax
call fcn.00404928
mov al, byte [esi + 0x4511b0]
xor al, 0xac
mov dword [esp], 0x430db8
sub al, 0x65
xor al, 0x22
sub al, 0x73
mov byte [esi + 0x4511b0], al
call fcn.00411bcd
pop ecx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push edi
call fcn.00405922
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
xor byte [esi + 0x4511b0], al
mov eax, dword [ebp - 8]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.004051ef
inc esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
pop ecx
pop ecx
cmp esi, 0x4ac
jb 0x428028
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4280e6
mov eax, dword [ebp + 0x10]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.004051ef
pop ecx
pop ecx
pop edi
pop esi
leave
ret 0x14

Function at 0x428702
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x428610
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x4068db
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068ff
xor eax, eax
test eax, eax
je 0x406912
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406912
xor ecx, ecx
jmp 0x406915
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a38
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x46590c], 0
push esi
jne 0x406a6f
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 0x406a49
mov dword [ecx*4 + 0x465908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a44
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aa0
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 + 0x465908]
xor eax, esi
inc ecx
dec edx
jne 0x406a82
pop edi
not eax
pop esi
ret 0xc

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ed0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x308a04a7
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4bbb46f1
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x100154c6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100154ea
xor eax, eax
jmp 0x10015639
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push 0x3f8c
push 1
push 0xfce
lea eax, [ebp - 8]
push eax
call fcn.100152a6
add esp, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1001551c
xor eax, eax
jmp 0x10015639
push 0x4a0
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 0x38cc
call fcn.10014f28
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x10015544
xor eax, eax
jmp 0x10015639
lea eax, [ebp - 0x10]
push eax
push 0x5cb
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x3679
lea eax, [ebp - 4]
push eax
call fcn.1001533b
add esp, 0x20
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp + 8]
push eax
push 0x303b
lea eax, [ebp - 4]
push eax
call fcn.100153f4
add esp, 0x14
lea eax, [ebp - 8]
push eax
push 0x1d46
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1001545c
add esp, 0x14
cmp dword [ebp - 0x14], 0
je 0x100155c2
push 1
push dword [ebp - 4]
push 0x23e2
push dword [ebp - 0x14]
push 0x73cb
call fcn.10010103
add esp, 0x14
push dword [ebp - 4]
call fcn.1001495f
pop ecx
test eax, eax
jne 0x100155d3
xor eax, eax
jmp 0x10015639
push 1
push dword [ebp - 4]
call fcn.1000d886
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10015621
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x100155fe
xor eax, eax
jmp 0x10015639
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10015617
xor eax, eax
jmp 0x10015639
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10015632
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10015636
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10022d97
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10022e92
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.10015802
push 1
mov ecx, dword [ebp - 8]
call fcn.10015802
push 0
mov ecx, dword [ebp - 8]
call fcn.10015802
push 1
mov ecx, dword [ebp - 8]
call fcn.10015802
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015802
mov esi, eax
push 1
mov ecx, dword [ebp - 4]
call fcn.10015802
mov ecx, dword [esi]
imul ecx, dword [eax]
mov eax, 0xcbcb1a7a
add eax, 0x25d2d915
add ecx, eax
mov eax, dword [ebp - 0x20]
cmp ecx, dword [eax]
jne 0x10022e2d
mov dword [ebp - 0xc], 1
jmp 0x10022e31
and dword [ebp - 0xc], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.10015802
mov esi, dword [ebp - 0xc]
add esi, dword [eax]
push 1
mov ecx, dword [ebp - 4]
call fcn.10015802
imul esi, dword [eax]
test esi, esi
jne 0x10022e70
push 1
mov ecx, dword [ebp - 8]
call fcn.10015802
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015802
cmp dword [eax], 0
jne 0x10022e70
and dword [ebp - 0x10], 0
jmp 0x10022e77
mov dword [ebp - 0x10], 1
push 1
mov ecx, dword [ebp - 8]
call fcn.10015802
push dword [eax]
mov ecx, dword [ebp - 4]
call fcn.10015802
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
jmp 0x10022eae
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10022eae
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10088bfa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10092330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
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.10077b8c
mov dword [ebp - 0x14], eax
cmp dword [0x1067f500], esi
jne 0x10088ced
push 0x800
push esi
push 0x100096c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10088c7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10088dcd
push esi
push esi
push 0x100096c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10088dcd
push 0x100096e0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10088dcd
push eax
call ebx
push 0x100096ec
push edi
mov dword [0x1067f500], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100096fc
push edi
mov dword [0x1067f504], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10009710
push edi
mov dword [0x1067f508], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067f510], eax
test eax, eax
je 0x10088cea
push 0x1000972c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067f50c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10088d12
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10088d05
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10088d27
push 4
pop eax
jmp 0x10088dcf
cmp dword [ebp - 0x14], esi
je 0x10088d27
push dword [0x1067f500]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10088d0c
mov eax, dword [0x1067f50c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10088d85
cmp dword [0x1067f510], edi
je 0x10088d85
push eax
call ebx
push dword [0x1067f510]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10088d85
test eax, eax
je 0x10088d85
call ecx
test eax, eax
je 0x10088d7a
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 0x10088d7a
test byte [ebp - 8], 1
jne 0x10088d85
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10088db5
mov eax, dword [0x1067f504]
cmp eax, edi
je 0x10088db2
push eax
call ebx
test eax, eax
je 0x10088db2
call eax
mov esi, eax
test esi, esi
je 0x10088db2
mov eax, dword [0x1067f508]
cmp eax, edi
je 0x10088db2
push eax
call ebx
test eax, eax
je 0x10088db2
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067f500]
call ebx
test eax, eax
je 0x10088dcd
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10088dcf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x522fb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x26a000
lea edi, [esi - 0xc9000]
push edi
jmp 0x522fca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x522fd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x522fc0
mov eax, 1
add ebx, ebx
jne 0x522fe3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x522ff4
jne 0x523013
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x523013
dec eax
add ebx, ebx
jne 0x523000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x522fd8
add ebx, ebx
jne 0x52300f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x523065
xor ecx, ecx
sub eax, 3
jb 0x52302b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52309a
sar eax, 1
mov ebp, eax
jmp 0x523036
add ebx, ebx
jne 0x523036
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x523004
inc ecx
add ebx, ebx
jne 0x523044
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x523004
add ebx, ebx
jne 0x523051
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x523046
jne 0x523062
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x523046
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x523084
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x523076
jmp 0x522fc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x523084
add edi, ecx
jmp 0x522fc6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5230a2
cmp byte [edi], 0x11
jne 0x5230a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5230a7
lea edi, [esi + 0x11b000]
mov eax, dword [edi]
or eax, eax
je 0x52311f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16a2ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16a468]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5230d4
mov ecx, edi
jns 0x523103
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16a46c]
or eax, eax
je 0x523119
mov dword [ebx], eax
add ebx, 4
jmp 0x5230f1
call dword [esi + 0x16a47c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x523150
cmp al, 0xef
ja 0x523143
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x523125
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x523132
mov ebp, dword [esi + 0x16a470]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x523184
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001b562
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001b562
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001b562
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001b562
cmp dword [ecx + 0x74], 0xe
jbe 0x1001b562
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001e1df
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 0x1001e27c
push ebx
push esi
call fcn.1001e1a8
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.1001e13c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001e229
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e27b
push edi
push eax
call fcn.1001f19a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001e249
call fcn.1001cc84
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e27a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001e13c
add esp, 0x20
test eax, eax
jne 0x1001e268
push edi
call fcn.1001cc84
jmp 0x1001e270
push ebx
call fcn.1001cc84
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 0x1001e4e9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cc8
push 0x10025cc0
push str.FlsAlloc
push 0x1f
call fcn.1001e405
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e51d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
jmp 0x1001e523
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001e567
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cd8
push 0x10025cd0
push str.FlsGetValue
push 0x21
call fcn.1001e405
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e59e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001e5a6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025ce0
push 0x10025cd8
push str.FlsSetValue
push 0x22
call fcn.1001e405
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e5e0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10023c70
Capabilities:
Parse pe header

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