joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a238
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestSHA1.exe_gMozillaPoisonSize], eax
call fcn.00407660
pop ecx
mov ecx, dword [sym.TestSHA1.exe_gMozillaPoisonSize]
mov dword [sym.TestSHA1.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40a270
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestSHA1.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

Function at 0x417580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x4175a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4175a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417598
mov eax, 1
add ebx, ebx
jne 0x4175bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4175b0
jne 0x4175cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4175b0
xor ecx, ecx
sub eax, 3
jb 0x4175e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417652
mov ebp, eax
add ebx, ebx
jne 0x4175eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4175f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41761c
inc ecx
add ebx, ebx
jne 0x417608
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4175fd
jne 0x417619
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4175fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41763c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41762d
jmp 0x41759e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41763c
add edi, ecx
jmp 0x41759e
pop esi
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x41769b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b9ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ba20]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417659
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1ba28]
or eax, eax
je 0x417695
mov dword [ebx], eax
add ebx, 4
jmp 0x417676
call dword [esi + 0x1ba24]
mov ebp, dword [esi + 0x1ba2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4176cf
sub esp, 0xffffff80
jmp 0x403008
Function at 0x4025bb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x4025c3
mov dword [ecx*4 + 0x49eea0], eax
inc ecx
cmp ecx, 0x100
jb 0x4025be
mov edx, 0x800
jmp 0x402610
mov eax, dword [ecx*4 + 0x49eaa0]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x49eea0]
inc ecx
mov dword [ecx*4 + 0x49ee9c], eax
cmp ecx, edx
jb 0x4025ef
mov dword [0x49d3b8], 0x402633
call fcn.004149b9
test eax, eax
jne 0x402631
mov dword [0x49d3b8], 0x4026cf
pop esi
ret

Function at 0x4146d5
Capabilities:
Encode data using xor

Disassembly:
inc eax
mov eax, dword [0x1b56f63e]
dec edx
nop
and edx, dword [ebx + 0x3c1a9d9a]
stosb byte es:[edi], al
xor byte [ebx - 1], bl
push ebp
mov dh, 0xe4
mov cl, 0x51
call dword [ebp - 0x4a]
in al, 0x2e
mov cl, 0x51
aas
test eax, 0x3e3f1458
stc
push esi
les ebx, [ecx + 0x51ca0312]
clc
push 0x6c
nop
lahf
loope 0x4146dc
aaa
jb 0x414772
xchg edx, eax
mov ch, bh
fimul dword [ebp + 0x14]
inc eax
je 0x4146e6
stosd dword es:[edi], eax
jg 0x414725
or ah, byte [eax + 0x74814eb7]
pop es
mov dl, 0x64
wait
imul dword [esi + 0x71bf159c]
lahf
mov dh, 0x91
enter 0x23f0, 0x6f
jp 0x41475a
loope 0x414757
salc
and eax, 0x8441608d
sub eax, 0x230eceb2
movsb byte es:[edi], byte [esi]
push ecx
nop
fstp qword [ebp + 0x6e0f65c]
invalid
and al, byte [0x67bd82ca]
lodsb al, byte [esi]
fild dword [eax]
ret
cmp byte [ebp + 0xdbac67], 0xc3
xor esp, dword [edx - 0x63]
fiadd dword [esi - 0x50d7620b]
pop esi
inc esp
lea eax, [ebx + 0x5252b9f4]
push edx
push edx
mov byte [edx - 0x284e5466], ch
inc edx
dec ebx
and cl, byte [edi]
rcl dword [ebp - 0x44cebf68]
hlt

Function at 0x42b13f
Capabilities:
Encode data using xor

Disassembly:
push esp
or esi, esi
sub bl, byte [eax + 0x5786e224]
sbb ebp, dword [ecx]
push es
cli
push eax
salc
adc esp, ebx
dec esi
jle 0x42b05a
enter 0xffffffffffffc13f, 8
dec edi
mov dh, 0xd6
add eax, 0x70295210
out dx, al
les ebp, [eax]
mov dword [0x6e346ddd], eax
sub byte [ebx + 0x6e346ddd], ah
pop ebp
pop ebp
lodsb al, byte [esi]
out 0x61, al
insd dword es:[edi], dx
mov al, byte [ecx + 0xb348e96]
sbb byte [ecx - 0x28a240cc], ch
adc byte [edx], bl
invalid
push esi
jns 0x42b0b0
jno 0x42b0d2
pop ecx
fsubr dword [edx]
loop 0x42b15a
fcmove st(0), st(3)
xchg ecx, eax
sub al, 0x46
mov ds, word [edx - 0x28]
aaa
or edx, dword [ecx + 0x1c]
sbb ebx, dword [ecx]
xor byte [ebx], ch
cmpsb byte [esi], byte es:[edi]
add dword [edx - 0x37], ecx
mov al, byte [0x3e199e58]
aad 0x79
mov dl, 0x7c
jl 0x42b152
xor edi, ebx
jl 0x42b152
xor edi, ebx
loop 0x42b141
cmp dword [ebp + 0x2ceaf5db], esp
mov dh, 0x1b
and ah, byte [0x4caf903c]
dec esp
cld
insd dword es:[edi], dx
inc eax
insb byte es:[edi], dx
add ebx, edi
pop ecx
jmp 0x42b117
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1001969c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
ret

Function at 0x1001969c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x100196ab
pop dword [ebp - 4]
mov eax, 0x100196ab
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x41c31
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x4aef
xor edi, edi
add edi, eax
mov edx, 0xb7a201e
add edx, 0x48a8be2
add edx, dword [ebp - 4]
mov esi, 0xeb7221d3
mov ebx, dword [edx]
xor ebx, esi
mov dword [edi], ebx
add edi, 4
add edx, 4
loop 0x100196f6
add eax, 0x11e8f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x402480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40249b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4024d4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4024d0
jmp 0x4024c0
cmp esi, eax
jae 0x4024d4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4024c0
cmp esi, eax
jb 0x4024db
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40428c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4042d4
call fcn.0040f30d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4042d4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x404317
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x404300
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x404300
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x404314
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40575f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x405783
cmp dword [edi + 0x54], 0
jne 0x405783
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040f30d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00405720
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x40af3a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40af81
call fcn.0040f30d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40af81
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40af9d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040aab2
mov esi, eax
test edi, edi
je 0x40af9b
test ebx, ebx
je 0x40af9b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40e216
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x431a75
call fcn.0041f95b
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40e23b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40e281
lea ecx, [ebp - 0x10]
call fcn.00402d50
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040db17
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402d30
mov eax, esi
call fcn.0041fa33
ret 8
Function at 0x41f0b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4427b0]
jne 0x41f0ba
repz ret
jmp fcn.004240c3

Function at 0x42ada2
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.00423ad2
and dword [ebp - 4], 0
cmp dword [0x446518], 0
mov ebx, eax
jne 0x42ae53
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42af04
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42af04
push eax
call fcn.00423a60
mov dword [esp], 0x4372d4
push edi
mov dword [0x446518], eax
call esi
push eax
call fcn.00423a60
mov dword [esp], 0x4372c0
push edi
mov dword [0x44651c], eax
call esi
push eax
call fcn.00423a60
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x446520], eax
call esi
push eax
call fcn.00423a60
pop ecx
mov dword [0x446528], eax
test eax, eax
je 0x42ae53
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00423a60
pop ecx
mov dword [0x446524], eax
mov eax, dword [0x446524]
cmp eax, ebx
je 0x42aeab
cmp dword [0x446528], ebx
je 0x42aeab
push eax
call fcn.00423adb
push dword [0x446528]
mov esi, eax
call fcn.00423adb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42aeab
test edi, edi
je 0x42aeab
call esi
test eax, eax
je 0x42aea2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42aea2
test byte [ebp - 0xc], 1
jne 0x42aeab
or dword [ebp + 0x10], 0x200000
jmp 0x42aee4
mov eax, dword [0x44651c]
cmp eax, ebx
je 0x42aee4
push eax
call fcn.00423adb
pop ecx
test eax, eax
je 0x42aee4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42aee4
mov eax, dword [0x446520]
cmp eax, ebx
je 0x42aee4
push eax
call fcn.00423adb
pop ecx
test eax, eax
je 0x42aee4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x446518]
call fcn.00423adb
pop ecx
test eax, eax
je 0x42af04
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42af06
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4476e0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov edi, edi
push esi
mov esi, dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0x54272c
mov dword [ebx], 0
call esi
cmp eax, 0xfffffffe
jne 0x44776d
push edi
push 0
push 1
push 0x543d60
call esi
cmp eax, 1
jne 0x44772a
mov edi, dword [sym.imp.kernel32.dll_Sleep]
push 1
call edi
push 0
push 1
push 0x543d60
call esi
cmp eax, 1
je 0x447716
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0x54272c
call esi
mov edi, dword [sym.imp.kernel32.dll_InterlockedExchange]
mov esi, eax
cmp esi, 0xfffffffe
jne 0x447757
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov esi, eax
cmp esi, 0xffffffff
je 0x447757
push esi
push 0x54272c
call edi
push 0
push 0x543d60
call edi
cmp esi, 0xffffffff
pop edi
jne 0x44776d
mov eax, 0x8007000e
pop esi
ret
mov eax, dword [0x54272c]
test eax, eax
jl 0x447792
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x447792
add dword [eax + 0x124], 1
mov dword [ebx], 1
xor eax, eax
pop esi
ret
push 0x128
call sub.msvcrt.dll_malloc
mov esi, eax
add esp, 4
test esi, esi
je 0x447766
push 0x128
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esi + 0x124], 1
mov dword [ebx], 1
mov eax, dword [0x54272c]
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
xor eax, eax
pop esi
ret

Function at 0x44c8c0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x54272c]
test eax, eax
jge 0x44c8cd
xor eax, eax
jmp 0x44c8d4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
xor ecx, ecx
lea edx, [eax + 0x1c]
lea esp, [esp]
cmp dword [ecx*4 + 0x4305e8], edi
jne 0x44c8ee
cmp dword [edx], 0
jne 0x44c905
add ecx, 1
add edx, 8
cmp ecx, 0x1a
jb 0x44c8e0
mov ecx, dword [eax + 0x18]
push 0x10
push edi
call fcn.004d42d0
ret
mov edx, dword [eax + ecx*8 + 0x1c]
test edx, edx
je 0x44c927
push esi
mov esi, dword [edx]
mov dword [eax + ecx*8 + 0x1c], esi
test esi, esi
pop esi
jne 0x44c921
mov dword [eax + ecx*8 + 0x20], 0
mov dword [edx], 0xfefefefe
cmp ecx, 0x1a
jb 0x44c938
mov ecx, dword [eax + 0x18]
push 0x10
push edi
call fcn.004d42d0
ret
mov eax, edx
ret

Function at 0x45ee00
Capabilities:
Get thread local storage value

Disassembly:
test esi, esi
je 0x45ee54
mov eax, dword [0x54272c]
test eax, eax
push ebx
push edi
jge 0x45ee13
xor ebx, ebx
jmp 0x45ee1c
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov edi, dword [esi + 4]
mov eax, dword [edi*4 + 0x4305e8]
push eax
push 0xfe
push esi
call sub.msvcrt.dll_memset
lea ecx, [ebx + edi*8 + 0x20]
mov dword [esi], 0
mov eax, dword [ecx]
add esp, 0xc
test eax, eax
je 0x45ee4c
pop edi
mov dword [eax], esi
mov dword [ecx], esi
pop ebx
ret
mov dword [ebx + edi*8 + 0x1c], esi
pop edi
mov dword [ecx], esi
pop ebx
ret
Function at 0x4ac300
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x54272c]
test eax, eax
jge 0x4ac30d
xor eax, eax
jmp 0x4ac314
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp dword [eax + 0x10], 0
je 0x4ac339
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4ac324
xor eax, eax
ret
mov edx, dword [ecx]
test edx, edx
mov dword [eax + 0x10], edx
jne 0x4ac330
mov dword [eax + 0x14], edx
mov dword [ecx], 0xfefefefe
mov eax, ecx
ret
mov ecx, dword [eax + 0xc]
push 0x10
push 0x40
call fcn.004d42d0
ret

Function at 0x4ac350
Capabilities:
Get thread local storage value

Disassembly:
test esi, esi
je 0x4ac396
mov eax, dword [0x54272c]
test eax, eax
jl 0x4ac396
push edi
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x4ac395
push 0x40
push 0xfe
push esi
call sub.msvcrt.dll_memset
mov dword [esi], 0
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x4ac38f
mov dword [eax], esi
mov dword [edi + 0x14], esi
pop edi
ret
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
pop edi
ret

Function at 0x4af520
Capabilities:
Get thread local storage value

Disassembly:
test esi, esi
je 0x4af569
mov eax, dword [0x54272c]
test eax, eax
push edi
jge 0x4af532
xor edi, edi
jmp 0x4af53b
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
push 0xf0
push 0xfe
push esi
call sub.msvcrt.dll_memset
mov dword [esi], 0
mov eax, dword [edi + 8]
add esp, 0xc
test eax, eax
je 0x4af562
mov dword [eax], esi
mov dword [edi + 8], esi
pop edi
ret
mov dword [edi + 4], esi
mov dword [edi + 8], esi
pop edi
ret

Function at 0x4bb4b0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x2994]
push esi
push edi
push eax
mov dword [ebx], 0x439270
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebx + 0x29a0]
add esp, 4
test ecx, ecx
je 0x4bb4de
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov esi, dword [ebx + 0x299c]
test esi, esi
je 0x4bb4f6
call fcn.00511290
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebx + 0x299c], 0
lea esi, [ebx + 0x2a58]
mov edi, 0x1000
jmp 0x4bb510
mov ecx, dword [esi]
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov dword [esi], 0
add esp, 4
add esi, 4
sub edi, 1
jne 0x4bb510
lea esi, [ebx + 0x2a58]
mov edi, 0xe
mov eax, dword [esi - 0xc]
sub esi, 0xc
test eax, eax
je 0x4bb553
mov edi, edi
mov edx, dword [eax]
push eax
mov dword [esi], edx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [esi]
add esp, 4
test eax, eax
jne 0x4bb540
mov eax, dword [esi + 4]
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
sub edi, 1
mov dword [esi + 4], 0
jns 0x4bb534
pop edi
pop esi
mov ecx, ebx
pop ebx
jmp fcn.004af5a0
Function at 0x4d42d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x4d42df
pop dword [ebp - 0xc]
mov eax, 0xec80e3d4
sub eax, 0xec33a0f5
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x5c863
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x12bf3ce3
sub ecx, 0x12beee51
mov edx, eax
mov ebx, 0x54cc00
add ebx, dword [ebp - 0xc]
mov edi, 0xe695814c
sub edi, 0x508b5959
add dword [ebp - 8], eax
mov esi, dword [ebx]
add dword [ebp - 4], 0x51dd6d0a
sub esi, edi
sub dword [ebp - 8], ecx
mov dword [edx], esi
xor dword [ebp - 4], esi
add edx, 0x63772f86
sub edx, 0x63772f82
add ebx, 4
loop 0x4d4333
add eax, 0xf771c966
sub eax, 0xf7709c4b
xor ebx, ebx
add ebx, eax
add eax, 0x82af883b
sub eax, 0x82af8836
mov ecx, 0xf6347dcb
add ecx, 0xa0b8235
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x4f9d20
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 0xaa84]
push eax
mov dword [esi], 0x43fa98
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esi + 0xaa9c]
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [esi + 0xab10]
add esp, 8
test eax, eax
je 0x4f9d62
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0xab10], 0
mov ecx, esi
pop esi
jmp fcn.004bb4b0
Function at 0x51a3a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbb000]
push edi
jmp 0x51a3ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x51a3c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51a3b0
mov eax, 1
add ebx, ebx
jne 0x51a3d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51a3e4
jne 0x51a403
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51a403
dec eax
add ebx, ebx
jne 0x51a3f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x51a3c8
add ebx, ebx
jne 0x51a3ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x51a455
xor ecx, ecx
sub eax, 3
jb 0x51a41b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51a48a
sar eax, 1
mov ebp, eax
jmp 0x51a426
add ebx, ebx
jne 0x51a426
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51a3f4
inc ecx
add ebx, ebx
jne 0x51a434
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51a3f4
add ebx, ebx
jne 0x51a441
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x51a436
jne 0x51a452
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x51a436
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x51a474
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x51a466
jmp 0x51a3b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x51a474
add edi, ecx
jmp 0x51a3b6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x51a492
cmp byte [edi], 0x11
jne 0x51a492
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 0x51a497
lea edi, [esi + 0x113000]
mov eax, dword [edi]
or eax, eax
je 0x51a50f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x136c54]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x136dd0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x51a4c4
mov ecx, edi
jns 0x51a4f3
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 + 0x136dd4]
or eax, eax
je 0x51a509
mov dword [ebx], eax
add ebx, 4
jmp 0x51a4e1
call dword [esi + 0x136de4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x51a540
cmp al, 0xef
ja 0x51a533
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x51a515
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x51a522
mov ebp, dword [esi + 0x136dd8]
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 0x51a574
sub esp, 0xffffff80
jmp 0x42800a