joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4087a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00408430
push eax
push esi
push dword [ebp + 8]
call fcn.004083e5
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe

Function at 0x408866
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x4088bb
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77

Function at 0x408afa
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x408af7
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x408b15
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x408b73
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
or byte [eax], al
add byte [eax], al
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x408b5a
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x408b63
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x408b6d
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x408b4f
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x408ad9
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x408bc0
dec eax
je 0x408bb7
sub eax, 3
je 0x408bae
mov dword [ebp - 4], 0x40
jmp 0x408bdd
mov dword [ebp - 4], 4
jmp 0x408bc3
mov dword [ebp - 4], 0x20
jmp 0x408bc3
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x408c0f
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x408b8f
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00408420
out 0x57, al
xchg ecx, eax
pushal
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x408c1b
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408b3a
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x408af7
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x408b15
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x408b73
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
or byte [eax], al
add byte [eax], al
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x408b5a
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x408b63
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x408b6d
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x408b4f
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x408ad9
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x408bc0
dec eax
je 0x408bb7
sub eax, 3
je 0x408bae
mov dword [ebp - 4], 0x40
jmp 0x408bdd
mov dword [ebp - 4], 4
jmp 0x408bc3
mov dword [ebp - 4], 0x20
jmp 0x408bc3
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x408c0f
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x408b8f
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00408420
out 0x57, al
xchg ecx, eax
pushal
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x408c1b
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408c8f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ecx + 0x56fffffc], edi
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
jmp dword [0xfcac858d]
invalid
call dword [eax - 0x18]
insb byte es:[edi], dx
idiv edi
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004083e5
add esp, 0xc
Function at 0x408cd4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00408430
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004083e5
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00408430
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004083e5
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00408420
invalid
Function at 0x40d5a0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3b69489d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x126060d1
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40f7b0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x24883b18
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xbdb4084
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1001a7f
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1001f18
call fcn.01001c44
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1003378
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1001836
cmp eax, esi
jne 0x1001829
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1001839
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001810
xor esi, esi
inc esi
mov eax, dword [0x1003374]
cmp eax, esi
jne 0x100184c
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100187b
mov eax, dword [0x1003374]
test eax, eax
jne 0x1001875
mov dword [0x1003374], esi
push 0x1001118
push 0x100110c
call fcn.01001775
pop ecx
pop ecx
test eax, eax
je 0x100187b
jmp 0x10019a3
mov dword [0x100303c], esi
mov eax, dword [0x1003374]
cmp eax, esi
jne 0x100189f
push 0x1001108
push 0x1001100
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1003374], 2
test ebx, ebx
jne 0x10018ab
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100337c], 0
je 0x10018cf
push 0x100337c
call fcn.01001bb9
pop ecx
test eax, eax
je 0x10018cf
push 0
push 2
push 0
call dword [0x100337c]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x100192b
test al, al
je 0x10018e9
cmp dword [ebp - 0x1c], 0
jne 0x100192b
mov al, byte [esi]
test al, al
je 0x10018f9
cmp al, 0x20
ja 0x10018f9
inc esi
mov dword [ebp - 0x20], esi
jmp 0x10018e9
test byte [ebp - 0x3c], 1
je 0x1001905
movzx eax, word [ebp - 0x38]
jmp 0x1001908
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1003038], eax
cmp dword [0x100302c], 0
jne 0x100197f
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x100193a
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x100194d
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x10018d6
cmp dword [0x100303c], 0
jne 0x100198e
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1003038]
jmp 0x10019af
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01001c89
ret
call fcn.01001d91
jmp 0x10017d6

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x423004]
jne 0x401010
repz ret
jmp fcn.00401788

Function at 0x405655
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.004030b9
and dword [ebp - 4], 0
cmp dword [0x424db0], 0
mov ebx, eax
jne 0x405706
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4057b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4057b7
push eax
call fcn.00403047
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424db0], eax
call esi
push eax
call fcn.00403047
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x424db4], eax
call esi
push eax
call fcn.00403047
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x424db8], eax
call esi
push eax
call fcn.00403047
pop ecx
mov dword [0x424dc0], eax
test eax, eax
je 0x405706
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403047
pop ecx
mov dword [0x424dbc], eax
mov eax, dword [0x424dbc]
cmp eax, ebx
je 0x40575e
cmp dword [0x424dc0], ebx
je 0x40575e
push eax
call fcn.004030c2
push dword [0x424dc0]
mov esi, eax
call fcn.004030c2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40575e
test edi, edi
je 0x40575e
call esi
test eax, eax
je 0x405755
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405755
test byte [ebp - 0xc], 1
jne 0x40575e
or dword [ebp + 0x10], 0x200000
jmp 0x405797
mov eax, dword [0x424db4]
cmp eax, ebx
je 0x405797
push eax
call fcn.004030c2
pop ecx
test eax, eax
je 0x405797
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405797
mov eax, dword [0x424db8]
cmp eax, ebx
je 0x405797
push eax
call fcn.004030c2
pop ecx
test eax, eax
je 0x405797
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424db0]
call fcn.004030c2
pop ecx
test eax, eax
je 0x4057b7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4057b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4209c6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [0x432d24]
push dword [0x432a40]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
leave
ret

Function at 0x420a55
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp ebx, 0x19f
jne 0x420a6a
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push edi
xor edi, edi
test ebx, ebx
jle 0x420aa6
push esi
and dword [ebp - 8], 0
lea esi, [ebp - 8]
mov dword [ebp - 4], 5
call fcn.00420a4a
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, edi
xor byte [eax], cl
inc edi
cmp edi, ebx
jl 0x420a72
pop esi
pop edi
cmp ebx, 0x2d
jne 0x420abd
or dword [0x432d34], 0xffffffff
mov dword [0x432d30], 0xa62e7790
leave
ret
Function at 0x40a110
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x54], 0x88
mov dword [ebp - 0x34], 0xd2
mov dword [ebp - 0x4c], 0x6c
mov dword [ebp - 0x24], 0x2fb
mov dword [ebp - 0x58], 0x1f
mov dword [ebp - 0x5c], 0x2e7
mov dword [ebp - 0x30], 0x382
mov dword [ebp - 0x60], 0x114
mov dword [ebp - 0x38], 0x2a9
mov dword [ebp - 0x64], 0xda
mov dword [ebp - 0x28], 0x310
mov dword [ebp - 0x40], 0x11e
mov dword [ebp - 0x68], 0x35c
mov dword [ebp - 0x6c], 0xf3
mov dword [ebp - 0x14], 0x2ca
mov dword [ebp - 0x50], 0x3c4
mov dword [ebp - 0x3c], 0x13c
mov dword [ebp - 0x70], 0x30
mov dword [ebp - 0x74], 0x21e
mov dword [ebp - 0x10], 0x1a0
mov dword [ebp - 0x78], 0x2b
mov dword [ebp - 0x20], 0x20a
mov dword [ebp - 0x2c], 0x2a8
mov dword [ebp - 4], 0x1a4
mov dword [ebp - 8], 0x36a
mov eax, dword [ebp - 4]
add eax, 0x11a
push eax
mov ecx, dword [ebp + 0x10]
sub ecx, 0x23e
push ecx
mov edx, dword [ebp - 0x24]
add edx, 0x21
push edx
mov eax, dword [ebp - 0x14]
sub eax, 0x19
push eax
mov ecx, dword [ebp - 8]
sub ecx, 0x33f
push ecx
call fcn.004141b0
add esp, 0x14
mov dword [ebp - 0xc], 0
jmp 0x40a20a
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
sub eax, 0x18a0d
cmp dword [ebp - 0xc], eax
jge 0x40a249
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x28]
or edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
or eax, dword [ebp + 0x10]
and eax, edx
mov ecx, dword [ebp + 8]
and ecx, dword [ebp - 0x2c]
or ecx, eax
je 0x40a241
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x40a201
mov eax, dword [ebp - 0x14]
sub eax, 0x9b
push eax
mov ecx, dword [ebp + 0x14]
sub ecx, 0x190
push ecx
mov edx, dword [ebp + 0x10]
add edx, 0x57
push edx
mov eax, dword [ebp - 0x30]
sub eax, 0x27b
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x5f
push ecx
mov edx, dword [ebp + 0xc]
sub edx, 0x204
push edx
mov eax, dword [ebp - 0x38]
sub eax, 0x4a
push eax
mov ecx, dword [ebp - 0x3c]
sub ecx, 0x3e
push ecx
call fcn.004197f0
add esp, 0x20
mov edx, dword [ebp - 0x40]
add edx, 0xe
push edx
call fcn.0041bfe0
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
jge 0x40a2c8
mov dword [ebp - 0x18], 1
jmp 0x40a2cf
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0x1c]
jge 0x40a2e3
mov dword [ebp - 0x1c], 1
jmp 0x40a2ea
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x4c]
imul edx, dword [ebp - 0x50]
and edx, dword [ebp - 0x18]
or edx, dword [ebp - 0x1c]
je 0x40a302
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
mov esp, ebp
pop ebp
ret
Function at 0x40bf10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x14], 0x141
mov dword [ebp - 0x28], 0x2b5
mov dword [ebp - 0xc], 0x1a4
mov dword [ebp - 0x2c], 0x16c
mov dword [ebp - 0x20], 0x35b
mov dword [ebp - 0x1c], 0x2ce
mov dword [ebp - 0x30], 0x2c4
mov dword [ebp - 0x34], 0x3bd
mov dword [ebp - 0x38], 0xd1
mov dword [ebp - 0x3c], 0x21a
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x44], 0x204
mov dword [ebp - 0x10], 0x2be
mov dword [ebp - 0x48], 0x305
mov dword [ebp - 0x4c], 0x2e3
mov dword [ebp - 0x50], 0x5a
mov dword [ebp - 0x54], 0x39d
mov dword [ebp - 0x24], 0x36d
mov dword [ebp - 8], 0x4f
mov dword [ebp - 0x18], 0x35e
mov dword [ebp - 0x58], 0x316
mov dword [ebp - 0x5c], 0x2cf
mov dword [ebp - 0x60], 0x1f9
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jge 0x40bfc8
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x40bfda
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x18]
sub eax, 0x189fe
cmp dword [ebp - 4], eax
jge 0x40bff8
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x40bfd1
mov edx, dword [ebp + 0x18]
sub edx, 0x2b3
push edx
mov eax, dword [ebp + 0x10]
sub eax, 0x27d
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xa2
push ecx
mov edx, dword [ebp - 0x20]
sub edx, 0xf0
push edx
mov eax, dword [ebp - 0x24]
add eax, 0x16
push eax
mov ecx, dword [ebp + 0x1c]
add ecx, 0x20b
push ecx
mov edx, dword [ebp + 0x20]
add edx, 0x73
push edx
call fcn.0040a110
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x40d720
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x28], 0xf8
mov dword [ebp - 0x5c], 0x46
mov dword [ebp - 0x60], 0x28
mov dword [ebp - 0x64], 0x60
mov dword [ebp - 0x68], 0x2e9
mov dword [ebp - 0x58], 0xbb
mov dword [ebp - 0x2c], 0x13c
mov dword [ebp - 0x6c], 0x193
mov dword [ebp - 0x44], 0x3ca
mov dword [ebp - 0x70], 0x2b2
mov dword [ebp - 0x74], 0x189
mov dword [ebp - 0x48], 0x14b
mov dword [ebp - 0x40], 0x238
mov dword [ebp - 8], 0x1e0
mov dword [ebp - 0x1c], 0x16b
mov dword [ebp - 0x20], 0x1ee
mov dword [ebp - 0xc], 0x1c
mov dword [ebp - 0x78], 0x22
mov dword [ebp - 0x4c], 0x75
mov dword [ebp - 0x54], 0x351
mov dword [ebp - 0x3c], 0x67
mov dword [ebp - 0x50], 0x361
mov dword [ebp - 0x38], 0x144
mov dword [ebp - 4], 0
jmp 0x40d7d9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x28]
sub ecx, 0x18798
cmp dword [ebp - 4], ecx
jge 0x40d84e
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x40]
jge 0x40d7fe
mov dword [ebp - 0x10], 1
jmp 0x40d805
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jge 0x40d816
mov dword [ebp - 0x14], 1
jmp 0x40d81d
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x44]
jge 0x40d82e
mov dword [ebp - 0x18], 1
jmp 0x40d835
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x48]
and edx, dword [ebp - 0x14]
and edx, dword [ebp - 0x18]
je 0x40d84c
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x40d7d0
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x20]
jge 0x40d862
mov dword [ebp - 0x24], 1
jmp 0x40d869
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x24]
or edx, dword [ebp - 0x38]
or edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x58]
or edx, eax
je 0x40d8c6
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x28]
jge 0x40d88e
mov dword [ebp - 0x30], 1
jmp 0x40d895
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0x2c]
jge 0x40d8a6
mov dword [ebp - 0x34], 1
jmp 0x40d8ad
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x34]
je 0x40d8c6
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp + 8]
jge 0x40d8c6
mov edx, dword [ebp - 0x3c]
sub edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov esp, ebp
pop ebp
ret