joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412600
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov eax, dword [edi]
cmp eax, 3
ja case.default.0x41260d
jmp dword [eax*4 + 0x412688]
push dword [ebp + 8]
lea ecx, [edi + 4]
call fcn.0041d600
pop edi
pop ebp
ret 4
push dword [ebp + 8]
lea ecx, [edi + 4]
call fcn.0041ede0
pop edi
pop ebp
ret 4
mov eax, dword ds:[edi + 4]
push esi
mov esi, dword [ebp + 8]
not eax
test esi, esi
je 0x41265e
movsx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x466e50]
sub esi, 1
jne 0x412644
not eax
pop esi
mov dword [edi + 4], eax
pop edi
pop ebp
ret 4
push dword [ebp + 8]
lea ecx, [edi + 4]
call fcn.0041d3a0
pop edi
pop ebp
ret 4
push 0xc000000d
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
mov edi, edi
adc al, 0x26
inc ecx
add byte [esi], ah
inc ecx
add byte [esi], dh
inc ecx
add byte [ecx + 0x26], ch
inc ecx
add ah, cl
int3

Function at 0x412c40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x46a040]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x46addc], 1
push ebx
push esi
push edi
jne 0x412df0
mov edi, 0x46addc
lock bts dword [edi], 0x1f
setb al
test al, al
jne 0x412c7b
mov al, 1
jmp 0x412c8d
test byte [0x46addc], 1
jne 0x412c8b
mov ecx, edi
call fcn.00415020
xor al, al
test al, al
je 0x412df0
call fcn.00418b60
mov esi, eax
lea eax, [ebp - 0xa0]
push 1
push eax
mov bl, byte [esi + 1]
call dword [sym.imp.ntdll.dll_RtlCreateSecurityDescriptor]
movzx ecx, bl
lea eax, [ebp - 0x8c]
push 2
lea ecx, [ecx*4 + 0x4c]
push ecx
push eax
call dword [sym.imp.ntdll.dll_RtlCreateAcl]
push 0x465530
push 0xf000f
push 2
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
push esi
push 0xf000f
push 2
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
push 0x46553c
push 7
push 2
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
push 0
lea eax, [ebp - 0x8c]
push eax
push 1
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.ntdll.dll_RtlSetDaclSecurityDescriptor]
cmp dword [0x46aad0], 0x64
mov dword ds:[ebp - 0xa8], 0x420040
sbb eax, eax
mov dword [ebp - 0xa4], str.BaseNamedObjectsSystemInformer
and eax, 0xfffff000
mov dword [ebp - 0xc0], 0x18
add eax, 0x1080
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc0]
push eax
push 0x2000000
push 0x46bebc
mov dword [ebp - 0xac], 0
call dword [sym.imp.ntdll.dll_NtCreateDirectoryObject]
lock bts dword [edi], 0
setb al
test al, al
jne 0x412df0
mov esi, dword [0x46ade0]
test esi, esi
je 0x412dc6
push 0
push esi
call dword [sym.imp.ntdll.dll_NtSetEvent]
mov eax, 0xfffffffe
lock xadd dword [edi], eax
shr eax, 1
and eax, 0x7fff
sub eax, 1
jne 0x412df0
test esi, esi
je 0x412df0
push esi
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [0x46ade0], 0
mov ecx, dword ds:[ebp - 4]
mov eax, dword [0x46bebc]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00420226
mov esp, ebp
pop ebp
ret
Function at 0x412e20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
lea edx, [esp + 8]
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], str.comdlg32.dll
call fcn.004132a0
mov ecx, eax
test ecx, ecx
jne 0x412ea4
push 0x800
push eax
push str.comdlg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, eax
test ecx, ecx
jne 0x412ea4
push 0x200
push eax
push str.comdlg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, eax
test ecx, ecx
jne 0x412ea4
cmp dword [0x46aad0], 0x3e
jae 0x412e97
push eax
push eax
push str.comdlg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, eax
test ecx, ecx
jne 0x412ea4
mov eax, 0x8007007e
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x412f5c
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x412f5c
lea ecx, [ecx]
cmp eax, 0x7fffffff
jae 0x412f5c
cmp dword [eax + ecx], 0x4550
jne 0x412f5c
lea edx, [eax + 0x78]
mov eax, dword [edx + ecx]
add edx, ecx
test eax, eax
je 0x412f5c
cmp dword [edx + 4], 0
je 0x412f5c
push 0
add eax, ecx
push str.DllGetClassObject
push eax
call fcn.004134a0
mov esi, eax
test esi, esi
je 0x412f5c
lea eax, [esp + 8]
mov ecx, esi
push eax
push 0x43f5ac
push 0x43f59c
call dword [0x43f268]
call esi
mov edi, eax
test edi, edi
js 0x412f61
mov eax, dword [esp + 8]
push dword [ebp + 0xc]
push 0x43f57c
mov esi, dword [eax]
push 0
push eax
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x43f268]
call esi
mov edi, eax
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43f268]
call esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edi, 0x8007007f
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4131a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x18]
push ebx
push esi
mov esi, dword [0x46bcec]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0xa0]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
add ecx, 0xc
cmp eax, ecx
je 0x4131ef
lea esp, [esp]
test esi, esi
je 0x413213
cmp dword [eax + 0x18], esi
je 0x413213
mov eax, dword [eax]
cmp eax, ecx
jne 0x4131e4
xor esi, esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0xa0]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
test esi, esi
jne 0x41326a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x4131ef
movzx ecx, word ds:[eax + 0x24]
mov edx, ecx
test cx, cx
jne 0x41322e
call fcn.00406b80
mov esi, eax
jmp 0x4131f1
mov ebx, dword ds:[eax + 0x28]
mov edi, edx
mov edx, dword [0x46bce8]
lea ecx, [edi + 0xa]
call fcn.00405c60
mov esi, eax
xor ecx, ecx
lea eax, [esi + 8]
mov dword [esi], edi
mov dword [esi + 4], eax
mov word [eax + edi], cx
test ebx, ebx
je 0x4131f1
push edi
push ebx
push dword [esi + 4]
call fcn.00421ff0
add esp, 0xc
jmp 0x4131f1
mov ecx, esi
call fcn.0040fc80
mov edi, eax
lea ecx, [esi - 8]
or edx, 0xffffffff
lock xadd dword [ecx + 4], edx
dec edx
jne 0x413288
call fcn.00405d40
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4132a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
sub esp, 0xc
mov eax, dword [eax + 0x30]
push ebx
push esi
push edi
push dword [eax + 0xa0]
mov ebx, edx
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
cmp dword [0x46aad0], 0x3e
jb 0x413308
test ebx, ebx
je 0x413308
push ecx
mov dl, 1
mov ecx, ebx
call fcn.00407620
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
add ecx, 0xc
mov esi, dword [ecx]
cmp esi, ecx
je 0x413304
cmp dword [esi + 0x90], eax
je 0x413356
mov esi, dword ds:[esi]
cmp esi, ecx
jne 0x4132f3
xor esi, esi
jmp 0x413356
mov eax, dword fs:[0x18]
xor esi, esi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0xc
mov dword [ebp - 4], eax
mov edi, dword [eax]
cmp edi, eax
je 0x413356
movzx ecx, word [edi + 0x2c]
mov eax, dword [edi + 0x30]
test ebx, ebx
je 0x413354
mov dword [ebp - 8], eax
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
cmp ecx, eax
jb 0x41334b
push 1
mov edx, ebx
lea ecx, [ebp - 0xc]
call fcn.004066a0
test al, al
jne 0x413354
mov edi, dword [edi]
cmp edi, dword [ebp - 4]
jne 0x413324
jmp 0x413356
mov esi, edi
test esi, esi
je 0x41335f
mov esi, dword [esi + 0x18]
jmp 0x413361
xor esi, esi
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
push dword [ecx + 0xa0]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4133a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, 0x5a4d
push esi
mov esi, edx
cmp word [ecx], ax
jne 0x4133f5
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x4133f5
jmp 0x4133c0
cmp eax, 0x7fffffff
jae 0x4133f5
cmp dword [eax + ecx], 0x4550
jne 0x4133f5
lea edx, [ecx + 0x78]
add edx, eax
mov eax, dword [edx]
test eax, eax
je 0x4133f5
cmp dword ds:[edx + 4], 0
je 0x4133f5
push dword [ebp + 8]
add eax, ecx
push esi
push eax
call fcn.004134a0
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x413400
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
mov edi, edx
mov esi, ecx
call fcn.004065a0
add eax, eax
mov dword [esp + 0xc], esi
lea edx, [esp + 8]
mov dword [esp + 8], eax
call fcn.004132a0
mov ecx, eax
test ecx, ecx
je 0x413476
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x413476
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x413476
mov edi, edi
cmp eax, 0x7fffffff
jae 0x413476
cmp dword [eax + ecx], 0x4550
jne 0x413476
lea edx, [eax + 0x78]
mov eax, dword [edx + ecx]
add edx, ecx
test eax, eax
je 0x413476
cmp dword [edx + 4], 0
je 0x413476
push dword [ebp + 8]
add eax, ecx
push edi
push eax
call fcn.004134a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4146c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
xor eax, eax
mov dword [ebp - 8], 0
push ebx
mov ebx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x17], al
push esi
push edi
test ebx, ebx
je 0x4146ee
mov esi, ebx
mov dword [ebp - 8], esi
jmp 0x414740
cmp dword [0x46c00c], 3
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jge 0x41472c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x18
push eax
push 0x1000
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntdll.dll_NtOpenProcess]
jmp 0x41473d
lea eax, [ebp - 0x14]
mov edx, 0x1000
push eax
lea ecx, [ebp - 8]
call fcn.0041abc0
mov esi, dword [ebp - 8]
test esi, esi
je 0x41481d
cmp dword [0x46aad0], 0x3e
jb 0x41481d
test byte [0x46ae24], 1
lea esp, [esp]
jne 0x4147fc
mov edi, 0x46ae24
lock bts dword [edi], 0x1f
setb al
test al, al
je 0x41478f
test byte [0x46ae24], 1
mov edi, edi
jne 0x4147fc
mov ecx, edi
call fcn.00415020
jmp 0x4147fc
cmp dword [0x46aad0], 0x3e
jb 0x4147ae
push 0
mov edx, str.IsImmersiveProcess
mov ecx, str.user32.dll
call fcn.00413400
mov dword [0x46bff8], eax
lock bts dword [edi], 0
setb al
test al, al
jne 0x4147fc
mov edi, dword [0x46ae28]
test edi, edi
je 0x4147cd
push 0
push edi
call dword [sym.imp.ntdll.dll_NtSetEvent]
mov eax, 0xfffffffe
mov ecx, 0x46ae24
lock xadd dword [ecx], eax
shr eax, 1
and eax, 0x7fff
sub eax, 1
jne 0x4147fc
test edi, edi
je 0x4147fc
push edi
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [0x46ae28], 0
mov edi, dword [0x46bff8]
test edi, edi
jne 0x41480a
xor al, al
jmp 0x41481a
push esi
mov ecx, edi
call dword [0x43f268]
call edi
test eax, eax
setne al
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x24]
push eax
push 0x414600
call dword [sym.imp.USER32.dll_EnumWindows]
test ebx, ebx
jne 0x41483e
mov eax, dword [ebp - 8]
test eax, eax
je 0x41483e
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov eax, dword [ebp - 0x24]
pop edi
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x414fa0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
mov dword [ebp - 4], 0
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
lea eax, [ebp - 4]
push eax
push 0x24
push edx
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x414fe1
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp dword [0x46aad0], 0xffffffff
jae 0x414ffe
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov ecx, eax
call fcn.004148c0
mov esp, ebp
pop ebp
ret
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004148c0
mov esp, ebp
pop ebp
ret
Function at 0x41eea0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x46a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
mov dword [ebp - 0x50], eax
mov esi, 0x78
mov edi, dword [eax + 0x30]
mov edx, edi
and edx, 0x3f
mov eax, 0x38
sub eax, edx
sub esi, edx
cmp edx, 0x38
cmovb esi, eax
lea eax, [esi - 1]
push eax
lea eax, [ebp - 0x4b]
push 0
push eax
call fcn.00421e90
mov eax, dword ds:[ebp - 0x50]
lea edx, [ebp - 0x4c]
mov ecx, edi
mov byte [ebp - 0x4c], 0x80
shr ecx, 0x1d
add esp, 0xc
mov eax, dword [eax + 0x2c]
shl eax, 3
or ecx, eax
lea eax, [edi*8]
bswap eax
bswap ecx
mov dword [ebp + esi - 0x48], eax
lea eax, [esi + 8]
mov dword [ebp + esi - 0x4c], ecx
mov esi, dword [ebp - 0x50]
mov ecx, esi
push eax
call fcn.0041ede0
mov ecx, dword [esi + 0x18]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [ebx], edx
mov ecx, dword [esi + 0x1c]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [ebx + 4], edx
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov eax, ecx
and edx, 0xff0000
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [ebx + 8], edx
mov ecx, dword [esi + 0x24]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [ebx + 0xc], edx
mov ecx, dword [esi + 0x28]
mov edx, ecx
mov eax, ecx
and edx, 0xff0000
shr eax, 0x10
or edx, eax
mov eax, ecx
and ecx, 0xff00
shl eax, 0x10
or eax, ecx
shr edx, 8
mov ecx, dword [ebp - 4]
shl eax, 8
xor ecx, ebp
or edx, eax
mov dword [ebx + 0x10], edx
pop edi
mov dword [esi + 0x18], 0x67452301
mov dword [esi + 0x1c], 0xefcdab89
mov dword [esi + 0x20], 0x98badcfe
mov dword [esi + 0x24], 0x10325476
mov dword [esi + 0x28], 0xc3d2e1f0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
pop esi
pop ebx
call fcn.00420226
mov esp, ebp
pop ebp
ret
Function at 0x4352ff
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00431b99
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 0x43536e
cmp esi, dword [ebp - 4]
je 0x435369
cmp dword [ebp + 0xc], 0
je 0x435369
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x435346
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00434e3c
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x435370
xor eax, eax
inc eax
jmp 0x435370
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4353d5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x46a040]
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.00431b99
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.00431b99
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 0x43544c
cmp word [ecx], dx
je 0x43544c
mov eax, dword [0x45f31c]
push edi
dec eax
push eax
push 0x45f208
call fcn.00435374
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4354bf
cmp word [eax], dx
je 0x4354bf
mov eax, dword [edi]
test eax, eax
je 0x435470
cmp word [eax], dx
je 0x435470
lea eax, [ebp - 0x10]
push eax
call fcn.00434d42
jmp 0x435479
lea eax, [ebp - 0x10]
push eax
call fcn.00434ddd
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4354e9
mov eax, dword [0x45f204]
push dword [ebp - 0x14]
dec eax
push eax
push 0x45eef8
call fcn.00435374
add esp, 0xc
test al, al
je 0x4354e9
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4354b4
cmp word [eax], di
je 0x4354b4
lea eax, [ebp - 0x10]
push eax
call fcn.00434d42
pop ecx
jmp 0x4354eb
lea eax, [ebp - 0x10]
push eax
call fcn.00434ddd
jmp 0x4354b1
mov eax, dword [edi]
test eax, eax
je 0x4354d6
cmp word [eax], dx
je 0x4354d6
lea eax, [ebp - 0x10]
push eax
call fcn.00434cf7
pop ecx
jmp 0x4354e9
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 0x4355b4
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004351f9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4355b4
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4355b4
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4355b4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x435541
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00435c83
test ebx, ebx
je 0x4355af
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00435c83
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4355b4
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 0x4355b4
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0042a0e0
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4355b6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420226
leave
ret
Function at 0x435a86
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x460300
push 0x4602f8
push str.FlsAlloc
push 0x1f
call fcn.004358f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x435aba
push dword [ebp + 8]
mov ecx, esi
call dword [0x43f268]
call esi
jmp 0x435ac0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x435b04
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x460310
push 0x460308
push str.FlsGetValue
push 0x21
call fcn.004358f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x435b3b
push dword [ebp + 8]
mov ecx, esi
call dword [0x43f268]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x435b43
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x460318
push 0x460310
push str.FlsSetValue
push 0x22
call fcn.004358f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x435b7d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x43f268]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x437ac4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x46a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x437b0f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00437c5f
test al, al
jne 0x437b09
sub edx, 2
cmp edx, edi
jne 0x437aef
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x437b31
lea eax, [edi + 2]
cmp edx, eax
je 0x437b31
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00437a10
add esp, 0x10
jmp 0x437c2b
push esi
lea ecx, [ebp - 0x255]
call fcn.00437c5f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x437b74
push dword [ebp - 0x25c]
jmp 0x437b21
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x437bb1
cmp word [ebp - 0x226], 0
je 0x437bd2
cmp word [ebp - 0x226], ax
jne 0x437bb1
cmp word [ebp - 0x224], 0
je 0x437bd2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00437a10
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x437c1e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x437b8b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x437c06
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x437c2b
push 0x437840
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0042ee20
add esp, 0x10
jmp 0x437bfb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420226
leave
ret

Function at 0x437d70
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x437d81
pop esi
ret
push ebx
push edi
push esi
call fcn.00437d39
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0043064d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x437da9
push ebx
push esi
push edi
call fcn.00421ff0
add esp, 0xc
push 0
call fcn.00430613
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x438179
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00437dbe
Function at 0x43cf50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43cf7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43cf7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x7b673db4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x1a407276
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219