joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441090]
jne 0x401abf
repz ret
jmp fcn.004028f8

Function at 0x40b454
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407795
and dword [ebp - 4], 0
cmp dword [0x446bf4], 0
mov ebx, eax
jne 0x40b505
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b5b6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b5b6
push eax
call fcn.00407723
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x446bf4], eax
call esi
push eax
call fcn.00407723
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x446bf8], eax
call esi
push eax
call fcn.00407723
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x446bfc], eax
call esi
push eax
call fcn.00407723
pop ecx
mov dword [0x446c04], eax
test eax, eax
je 0x40b505
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407723
pop ecx
mov dword [0x446c00], eax
mov eax, dword [0x446c00]
cmp eax, ebx
je 0x40b55d
cmp dword [0x446c04], ebx
je 0x40b55d
push eax
call fcn.0040779e
push dword [0x446c04]
mov esi, eax
call fcn.0040779e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b55d
test edi, edi
je 0x40b55d
call esi
test eax, eax
je 0x40b554
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b554
test byte [ebp - 0xc], 1
jne 0x40b55d
or dword [ebp + 0x10], 0x200000
jmp 0x40b596
mov eax, dword [0x446bf8]
cmp eax, ebx
je 0x40b596
push eax
call fcn.0040779e
pop ecx
test eax, eax
je 0x40b596
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b596
mov eax, dword [0x446bfc]
cmp eax, ebx
je 0x40b596
push eax
call fcn.0040779e
pop ecx
test eax, eax
je 0x40b596
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x446bf4]
call fcn.0040779e
pop ecx
test eax, eax
je 0x40b5b6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b5b8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d61b
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x17ec934], 0x930
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
jne 0x40d645
push str.wiwuberitiziwoh
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x17ec934], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x17ec650], eax
jne 0x40d679
push str.Yawilurozuyuna_fobupinave_hiduja
push 0
call esi
lea eax, [ebp - 0x1c]
push eax
push str.dapowokayamabeloteyikexifal_disowilipuzivagazahunilikosoxuwi_memewijupexubilafibuc_haxogiyisecekocujoso_lewopanofofowivalawulemarina
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
leave
ret
Function at 0x40d68b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x40d6cb
and dword [ebp - 4], 0
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.0040d67c
pop ecx
mov eax, dword [ebp - 8]
add eax, 0x46
mov dword [ebp - 4], eax
sub dword [ebp - 4], 0xa
sub dword [ebp - 4], 0x3c
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, esi
xor byte [eax], cl
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x40d698
cmp dword [ebp + 0xc], 0x2d
pop esi
jne 0x40d6e3
or dword [0x17ec944], 0xffffffff
mov dword [0x17ec940], 0xa62e7790
leave
ret
Function at 0x40189e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x54
lea edi, [ebp - 0x48]
cld
mov ecx, 0xf
mov eax, 0
rep stosd dword es:[edi], eax
mov dword [ebp - 0x48], 0x3c
mov eax, dword [0x412018]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x48]
mov dword [esp], eax
call sub.SHELL32.DLL_ShellExecuteExA
sub esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov edi, dword [ebp - 4]
leave
ret

Function at 0x4050b0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4050e6
mov dword [0x416050], eax
mov edx, 0x405090
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00407b70
test eax, eax
sete al
movzx eax, al
mov dword [0x410010], eax
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [0x410010], eax
leave
ret
Function at 0x4051d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0xc]
sub esp, 0x68
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], 0x403370
mov dword [ebp - 0x24], 0x40f570
mov dword [ebp - 0x1c], 0x405290
mov dword [ebp - 0x18], esp
mov dword [esp], eax
call fcn.00407fd0
cmp dword [0x410010], 0
mov dword [ebp - 0x44], 0x416060
je 0x405270
jl 0x4052b0
mov dword [ebp - 0x3c], 1
mov eax, dword [0x416050]
mov dword [ebp - 0x4c], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x54]
sub esp, 4
test eax, eax
mov dword [ebp - 0x48], eax
je 0x405353
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
lea esi, [esi]
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.004080b0
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edx, dword [0x416120]
mov eax, 0xffffffff
test edx, edx
je 0x4052ca
mov eax, dword [0x410014]
test eax, eax
je 0x40530a
xor eax, eax
test eax, eax
jne 0x405300
mov edi, dword [0x410010]
test edi, edi
js 0x405300
mov dword [ebp - 0x44], 0x416060
mov ebx, dword [0x410010]
test ebx, ebx
je 0x405270
jmp 0x40521e
xor esi, esi
mov dword [0x410010], esi
jmp 0x4052d8
mov dword [esp], 0x410018
mov dword [ebp - 0x3c], 1
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
test eax, eax
je 0x405391
mov eax, dword [0x410014]
test eax, eax
jne 0x4052c8
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x3c], 1
call eax
sub esp, 4
mov eax, dword [0x410014]
test eax, eax
je 0x40532d
jmp 0x4052c8
mov dword [esp], 8
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x48], eax
test eax, eax
je 0x405385
mov dword [esp + 4], eax
mov eax, dword [0x416050]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
xor edx, edx
test eax, eax
je 0x4053ba
test edx, edx
je 0x4053a5
mov dword [ebp - 0x3c], 1
call fcn.00404c30
call fcn.004050b0
mov eax, 1
mov dword [0x410014], eax
jmp 0x4052c8
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x405266
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x405381

Function at 0x407ec0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x416170]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x407f00
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call fcn.00407b70
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
Function at 0x4082b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x416170]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40838c
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x4083a1
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x408360
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x4082f8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x408308
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x408353
test edx, edx
jne 0x408346
test ecx, ecx
je 0x4082f0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call ecx
cmp eax, 6
je 0x4083b0
cmp eax, 8
je 0x4082f0
mov eax, 3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 5
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x4082e2
call fcn.00407c80
mov eax, dword [0x416170]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jns 0x4082d4
call fcn.00407f20
mov eax, dword [0x416170]
jmp 0x4082d4
mov dword [edi + 0xc], 0
mov eax, dword [ebp - 0x14]
mov edx, ebx
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.00408220
cmp eax, 7
jne 0x40834b
mov eax, dword [0x416170]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x408403
mov edi, dword [eax + 0x30]
test edi, edi
js 0x40842e
mov esi, dword [eax + 0x30]
test esi, esi
jne 0x40840f
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.00407c80
mov eax, dword [0x416170]
jmp 0x4083e1
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x4083f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4083f2
call fcn.00407f20
mov eax, dword [0x416170]
jmp 0x4083e8
Function at 0x408690
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x416170]
mov edi, dword [ebp + 8]
test eax, eax
je 0x408724
mov esi, dword [eax + 0x30]
test esi, esi
js 0x408740
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x408760
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x408718
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.00408220
cmp eax, 7
jne 0x4087df
mov eax, dword [0x416170]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x4087b6
mov edx, dword [eax + 0x30]
test edx, edx
js 0x4087d0
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x408790
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.00408440
jmp 0x4086d5
call fcn.00407c80
mov eax, dword [0x416170]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x4086b0
lea esi, [esi]
call fcn.00407f20
mov eax, dword [0x416170]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x4086bb
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x4086be
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x408707
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x408707
call fcn.00407c80
mov eax, dword [0x416170]
mov edx, dword [eax + 0x30]
test edx, edx
jns 0x4086f9
nop
lea esi, [esi]
call fcn.00407f20
mov eax, dword [0x416170]
jmp 0x4086f9
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
Function at 0x4087f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x408882
mov eax, dword [0x416170]
test eax, eax
je 0x408876
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x4088f1
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x408897
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.00408440
cmp eax, 7
jne 0x40890f
mov eax, dword [0x416170]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x4088e2
mov edx, dword [eax + 0x30]
test edx, edx
js 0x408900
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x4088c3
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.00407c80
mov eax, dword [0x416170]
jmp 0x408812
mov dword [esp], edi
call fcn.004082b0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x408827
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x408865
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x408865
call fcn.00407c80
mov eax, dword [0x416170]
jmp 0x408850
call fcn.00407f20
mov eax, dword [0x416170]
jmp 0x40881d
call fcn.00407f20
mov eax, dword [0x416170]
jmp 0x40885b
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]

Function at 0x408af0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov edx, eax
je 0x408b20
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00407b70
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret
Function at 0x409110
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov eax, dword [0x410070]
test eax, eax
je 0x40921a
movzx eax, byte [0x410088]
test al, al
jne 0x40920b
mov eax, dword [0x410078]
mov esi, dword [0x410074]
cmp esi, eax
jbe 0x409161
mov ecx, dword [0x41008c]
lea esi, [esi]
add eax, eax
lea edx, [ecx + 1]
cmp esi, eax
mov ecx, edx
ja 0x409150
mov dword [0x41008c], edx
lea eax, [esi + esi + 2]
xor edi, edi
mov dword [esp], eax
call fcn.004055b0
movzx ebx, word [0x410078]
mov dword [0x4100b0], eax
mov edx, eax
mov esi, dword [0x410074]
xor ecx, ecx
lea esi, [esi]
lea edi, [edi]
cmp cx, bx
jbe 0x4091a1
lea eax, [ebx + ebx]
movzx ebx, ax
lea eax, [edi + 1]
movzx edi, ax
mov word [edx], di
lea eax, [ecx + 1]
movzx ecx, ax
add edx, 2
cmp ecx, esi
jbe 0x409190
mov eax, dword [0x41008c]
shl eax, 4
mov dword [esp], eax
call fcn.004055b0
mov dword [0x4100a0], eax
mov ecx, dword [0x416120]
test ecx, ecx
jne 0x409274
xor esi, esi
cmp esi, dword [0x41008c]
jae 0x40920b
mov esi, esi
mov dword [esp], 4
mov eax, dword [0x4100a0]
mov ebx, esi
shl ebx, 4
inc esi
add ebx, eax
call fcn.004055b0
mov dword [ebx], eax
mov eax, dword [ebx]
mov dword [eax], 0
cmp esi, dword [0x41008c]
jb 0x4091e0
mov byte [0x4100a4], 1
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.GLIBCXX_FORCE_NEW
mov eax, 8
mov edi, 0xff0
mov dword [0x410070], eax
mov eax, pe_nt_image_headers32
mov esi, 0x1000
mov dword [0x410074], eax
mov ebx, 0xa
mov eax, 8
mov dword [0x410078], eax
mov dword [0x41007c], edi
mov dword [0x410080], esi
mov dword [0x410084], ebx
call sub.msvcrt.dll_getenv
test eax, eax
setne al
mov byte [0x410088], al
jmp 0x40912d
mov eax, dword [0x410080]
mov ebx, 1
shl eax, 3
mov dword [esp], eax
call fcn.004055b0
cmp dword [0x410080], 1
mov dword [0x410094], eax
jmp 0x4092bc
mov edx, dword [0x410094]
lea eax, [ebx*8]
mov ecx, dword [0x410094]
lea edx, [eax + edx]
add eax, ecx
mov dword [edx - 4], ebx
inc ebx
cmp dword [0x410080], ebx
mov dword [edx - 8], eax
ja 0x409297
mov eax, dword [0x410094]
xor edx, edx
mov dword [eax + ebx*8 - 8], edx
mov eax, dword [0x410094]
mov dword [eax + ebx*8 - 4], ebx
mov dword [esp], 0x410098
call fcn.00408be0
mov dword [esp], 0x410090
mov eax, 0x4094f0
mov dword [esp + 4], eax
call fcn.00408af0
mov dword [ebp - 0x10], 0
mov esi, dword [0x410080]
xor eax, eax
inc esi
cmp eax, dword [0x41008c]
jae 0x40920b
lea edi, [esi*4]
lea esi, [esi]
lea edi, [edi]
mov dword [esp], edi
mov edx, dword [ebp - 0x10]
mov eax, dword [0x4100a0]
shl edx, 4
lea ebx, [edx + eax]
call fcn.004055b0
mov dword [ebx], eax
mov dword [esp], edi
call fcn.004055b0
mov dword [ebx + 4], eax
mov dword [esp], edi
call fcn.004055b0
mov dword [ebx + 8], eax
mov dword [esp], 8
call fcn.004055b0
mov dword [ebx + 0xc], eax
mov dword [esp], eax
call fcn.00408be0
xor edx, edx
jmp 0x40938e
mov eax, dword [ebx]
mov dword [eax + edx*4], 0
mov eax, dword [ebx + 4]
mov dword [eax + edx*4], 0
mov eax, dword [ebx + 8]
mov dword [eax + edx*4], 0
inc edx
cmp edx, esi
jb 0x409370
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x41008c]
jb 0x409320
jmp 0x40920b
Function at 0x409a90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov eax, dword [0x4100b4]
test eax, eax
je 0x409b9a
movzx eax, byte [0x4100cc]
test al, al
jne 0x409b8b
mov eax, dword [0x4100bc]
mov esi, dword [0x4100b8]
cmp esi, eax
jbe 0x409ae1
mov ecx, dword [0x4100d0]
lea esi, [esi]
add eax, eax
lea edx, [ecx + 1]
cmp esi, eax
mov ecx, edx
ja 0x409ad0
mov dword [0x4100d0], edx
lea eax, [esi + esi + 2]
xor edi, edi
mov dword [esp], eax
call fcn.004055b0
movzx ebx, word [0x4100bc]
mov dword [0x4100f4], eax
mov edx, eax
mov esi, dword [0x4100b8]
xor ecx, ecx
lea esi, [esi]
lea edi, [edi]
cmp cx, bx
jbe 0x409b21
lea eax, [ebx + ebx]
movzx ebx, ax
lea eax, [edi + 1]
movzx edi, ax
mov word [edx], di
lea eax, [ecx + 1]
movzx ecx, ax
add edx, 2
cmp ecx, esi
jbe 0x409b10
mov eax, dword [0x4100d0]
shl eax, 4
mov dword [esp], eax
call fcn.004055b0
mov dword [0x4100e4], eax
mov ebx, dword [0x416120]
test ebx, ebx
jne 0x409bf3
xor esi, esi
cmp esi, dword [0x4100d0]
jae 0x409b8b
mov esi, esi
mov dword [esp], 4
mov eax, dword [0x4100e4]
mov ebx, esi
shl ebx, 4
inc esi
add ebx, eax
call fcn.004055b0
mov dword [ebx], eax
mov eax, dword [ebx]
mov dword [eax], 0
cmp esi, dword [0x4100d0]
jb 0x409b60
mov byte [0x4100e8], 1
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.GLIBCXX_FORCE_NEW
mov eax, 8
mov edi, 0x1000
mov dword [0x4100b4], eax
mov eax, pe_nt_image_headers32
mov esi, 0xa
mov dword [0x4100b8], eax
mov eax, 8
mov dword [0x4100bc], eax
mov eax, 0xff0
mov dword [0x4100c0], eax
mov dword [0x4100c4], edi
mov dword [0x4100c8], esi
call sub.msvcrt.dll_getenv
test eax, eax
setne al
mov byte [0x4100cc], al
jmp 0x409aad
mov eax, dword [0x4100c4]
mov ebx, 1
shl eax, 3
mov dword [esp], eax
call fcn.004055b0
cmp dword [0x4100c4], 1
mov dword [0x4100d8], eax
jmp 0x409c3b
mov edx, dword [0x4100d8]
lea eax, [ebx*8]
mov ecx, dword [0x4100d8]
lea edx, [eax + edx]
add eax, ecx
mov dword [edx - 4], ebx
inc ebx
cmp dword [0x4100c4], ebx
mov dword [edx - 8], eax
ja 0x409c16
mov eax, dword [0x4100d8]
xor ecx, ecx
mov dword [eax + ebx*8 - 8], ecx
mov eax, dword [0x4100d8]
mov dword [eax + ebx*8 - 4], ebx
mov dword [esp], 0x4100dc
call fcn.00408be0
mov dword [esp], 0x4100d4
mov edx, 0x409e70
mov dword [esp + 4], edx
call fcn.00408af0
mov dword [ebp - 0x10], 0
mov esi, dword [0x4100c4]
xor eax, eax
inc esi
cmp eax, dword [0x4100d0]
jae 0x409b8b
lea edi, [esi*4]
lea esi, [esi]
lea edi, [edi]
mov dword [esp], edi
mov edx, dword [ebp - 0x10]
mov eax, dword [0x4100e4]
shl edx, 4
lea ebx, [edx + eax]
call fcn.004055b0
mov dword [ebx], eax
mov dword [esp], edi
call fcn.004055b0
mov dword [ebx + 4], eax
mov dword [esp], edi
call fcn.004055b0
mov dword [ebx + 8], eax
mov dword [esp], 8
call fcn.004055b0
mov dword [ebx + 0xc], eax
mov dword [esp], eax
call fcn.00408be0
xor edx, edx
jmp 0x409d0e
mov eax, dword [ebx]
mov dword [eax + edx*4], 0
mov eax, dword [ebx + 4]
mov dword [eax + edx*4], 0
mov eax, dword [ebx + 8]
mov dword [eax + edx*4], 0
inc edx
cmp edx, esi
jb 0x409cf0
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x4100d0]
jb 0x409ca0
jmp 0x409b8b
Function at 0x216b910
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x216bafd
pushal
mov esi, section.UPX1
lea edi, [esi - 0x25000]
push edi
or ebp, 0xffffffff
jmp 0x216b93a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x216b941
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x216b930
mov eax, 1
add ebx, ebx
jne 0x216b953
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x216b964
jne 0x216b983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x216b983
dec eax
add ebx, ebx
jne 0x216b970
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x216b948
add ebx, ebx
jne 0x216b97f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x216b9d5
xor ecx, ecx
sub eax, 3
jb 0x216b99b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x216ba0a
sar eax, 1
mov ebp, eax
jmp 0x216b9a6
add ebx, ebx
jne 0x216b9a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x216b974
inc ecx
add ebx, ebx
jne 0x216b9b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x216b974
add ebx, ebx
jne 0x216b9c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x216b9b6
jne 0x216b9d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x216b9b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x216b9f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x216b9e6
jmp 0x216b936
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x216b9f4
add edi, ecx
jmp 0x216b936
pop esi
mov edi, esi
mov ecx, 0x46c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x216ba12
cmp byte [edi], 0x16
jne 0x216ba12
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 0x216ba17
lea edi, [esi + 0x58000]
mov eax, dword [edi]
or eax, eax
je 0x216ba8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5b000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5b130]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x216ba44
mov ecx, edi
jns 0x216ba73
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 + 0x5b134]
or eax, eax
je 0x216ba89
mov dword [ebx], eax
add ebx, 4
jmp 0x216ba61
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x216bac0
cmp al, 0xef
ja 0x216bab3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x216ba95
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x216baa2
mov ebp, dword [esi + 0x5b138]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x216baf4
sub esp, 0xffffff80
jmp 0x212fa00