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

Disassembly:
sub esp, 0x18
mov al, byte [0x49d350]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], al
mov dword [esp + 0xe], 0x3e3c0928
mov dword [esp + 0x12], 0x2d2b3d3a
mov dword [esp + 0x16], 0x7e212f2a
mov dword [esp + 0x1a], 0x5b5e7c26
mov word [esp + 0x1e], 0x3f2e
mov byte [esp + 0x20], 0
mov edi, ebp
test ebp, ebp
je 0x41a6ab
mov dl, byte [ebp]
test dl, dl
je 0x41a6ab
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x41a6fe
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41a697
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x41a691
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a6b0
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x41a6d0
mov al, byte [edi]
cmp al, 0x20
je 0x41a6cb
cmp al, 9
jne 0x41a6d0
dec edi
cmp edi, ebp
ja 0x41a6c1
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x41a705
cmp byte [esp + 0x30], 0
je 0x41a6f3
mov ecx, dword [esp + 0x28]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.00429900
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x41a6d0
dec edi
jmp 0x41a6bd
push esi
push ebp
push ebx
call fcn.0047a8e0
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc

Function at 0x4217a0
Capabilities:
Check os version
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x48c03b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x528
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0x94], ecx
test eax, eax
jne 0x4217d6
lea eax, [esp + 0x78]
mov ebx, dword [0x49d3c8]
mov edx, eax
mov esi, ecx
mov dword [esp + 0x54], eax
mov dword [edx], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x30], esi
test ecx, ecx
je 0x421ad3
mov edi, dword [esp + 0x78]
mov edi, edi
Function at 0x44e0dd
Capabilities:
Encode data using xor

Disassembly:
enter 0x49d3, 0
add byte [eax + 0xc8], bh
add byte [edi + 0x75], dl
push cs
mov ecx, dword [ebp - 0x1c]
push ecx
call 0x1476c36
add esp, 8
jmp 0x44e103
test eax, eax
jne 0x44e118
mov eax, 1
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0xf044dd0a
xor eax, ecx
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
call case.0x44dbab.40
mov eax, dword [ebp - 0x1c]
push edi
push eax
call fcn.00476d4c
add esp, 8
test eax, eax
jne 0x44e118
mov eax, 0x100001
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.0x44dbab.40

Function at 0x455500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov al, byte [esi + 4]
push edi
mov edi, ecx
cmp al, 0xa
je 0x455528
cmp al, 2
je 0x455528
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 0x10]
mov dword [esp + 0x1c], eax
jmp 0x455532
mov ebx, dword [ebp + 0xc]
lea ecx, [ebx + 0x5c]
mov dword [esp + 0x1c], ecx
cmp byte [edi], 0
mov dword [esp + 0x14], edi
je 0x456f97
nop
Function at 0x470da0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x124
push ebx
push ebp
mov ebp, dword [esp + 0x144]
mov eax, dword [ebp]
push esi
push edi
cmp eax, dword [ebp + 4]
jae 0x4735e0
mov edi, dword [esp + 0x138]

Function at 0x474b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov ecx, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, eax
or eax, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
test dword [ebp + 0x18], 0xe20f5a6f
lea esi, [eax + ecx]
lea edx, [esi - 1]
mov ecx, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ecx
je 0x474b93
lea eax, [ebx - 3]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, ebx
je 0x475566
cmp eax, ebx
je 0x475566
cmp dword [ebp + 0x1c], ebx
jne 0x474bb1
cmp dword [ebp + 0x20], ebx
jg 0x475566
cmp dword [ebp + 0x20], ebx
jge 0x474bc2
mov eax, 0xfffffff1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [edi + 0x18]
movzx edx, word [edi + 0x1c]
add eax, edi
mov dword [esp + 0x80], eax
movzx eax, word [edi + 0x1a]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x78], edx
mov edx, dword [edi + 0x20]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x5c], 0x989680
mov dword [esp + 0x60], 0x1770
mov dword [esp + 0xe8], ebx
mov dword [esp + 0x10], edx
cmp eax, ebx
je 0x474c51
mov edx, dword [eax]
test dl, 1
je 0x474c18
mov ebx, dword [eax + 4]
mov dword [esp + 0x1c], ebx
xor ebx, ebx
test dl, 2
je 0x474c26
mov ebx, dword [eax + 8]
mov dword [esp + 0x5c], ebx
xor ebx, ebx
test dl, 0x10
je 0x474c34
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x60], ebx
xor ebx, ebx
test dl, 4
je 0x474c45
mov ebx, dword [eax + 0xc]
mov dword [esp + 0xe8], ebx
xor ebx, ebx
test dl, 8
je 0x474c51
mov eax, dword [eax + 0x10]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], ebx
jne 0x474c5f
mov dword [esp + 0x10], 0x496928
cmp dword [edi], 0x50435245
je 0x474cae
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0xf4]
push ecx
lea eax, [esp + 0x124]
mov edx, edi
call fcn.004756d0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x474c98
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
je 0x474cae
lea edx, [esp + 0xf4]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 8]
mov ebx, dword [ebp + 0x18]
mov edx, eax
mov eax, 0xfffffffe
Function at 0x4759ff
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x540
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x540]
call fcn.0047608e
lea eax, [ebp - 0x13c]
push 0x104
push eax
push 0
call dword [0x48d290]
lea eax, [ebp - 0x13c]
push 0x49c010
push eax
call fcn.0047a3c6
pop ecx
mov dword [esi], eax
test eax, eax
pop ecx
jne 0x475a4d
push 1
pop eax
jmp 0x475bdd
xor eax, eax
mov cl, byte [eax + 0x49c008]
mov byte [ebp + eax - 0x24], cl
mov cl, byte [eax + section..data]
mov byte [ebp + eax - 0x1c], cl
inc eax
cmp eax, 8
jl 0x475a4f
mov edi, dword [ebp + 0xc]
push edi
call fcn.0047b350
and dword [esi + 0x110], 0
pop ecx
lea ecx, [esi + 0x110]
xor edx, edx
test eax, eax
jle 0x475a91
movsx ebx, byte [edx + edi]
add dword [ecx], ebx
inc edx
cmp edx, eax
jl 0x475a86
push 2
push 0xfffffffffffffff8
push dword [esi]
call fcn.0047b2c8
push dword [esi]
lea edi, [esi + 4]
push 1
pop ebx
push ebx
push 4
push edi
call fcn.0047b221
push dword [esi]
call fcn.0047af72
push dword [esi]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push ebx
push 4
push eax
call fcn.0047b221
push 0
push 0
push dword [esi]
call fcn.0047b2c8
and dword [ebp + 0xc], 0
add esp, 0x3c
cmp dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
jle 0x475b10
mov ecx, dword [esi]
test byte [ecx + 0xc], 0x10
jne 0x475b10
push ecx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0047b221
add esp, 0x10
lea ecx, [ebp - 0x540]
push dword [ebp - 0x14]
call fcn.004760cd
inc dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 8]
jl 0x475ae0
xor eax, 0xaaaaaaaa
cmp dword [ebp - 0x10], eax
jne 0x475b51
push 0
push dword [edi]
push dword [esi]
call fcn.0047b2c8
push dword [esi]
lea eax, [ebp - 0x34]
push ebx
push 0x10
push eax
call fcn.0047b221
add esp, 0x1c
test eax, eax
je 0x475b51
xor eax, eax
mov cl, byte [ebp + eax - 0x34]
cmp cl, byte [ebp + eax - 0x24]
jne 0x475b4c
inc eax
cmp eax, 0x10
jl 0x475b3c
cmp eax, 0x10
je 0x475b55
push 3
jmp 0x475b6d
push dword [esi]
lea eax, [ebp - 1]
push ebx
push ebx
push eax
call fcn.0047b221
add esp, 0x10
cmp byte [ebp - 1], 3
je 0x475b7a
push 4
pop edi
push dword [esi]
call fcn.0047a61b
pop ecx
mov eax, edi
jmp 0x475bdd
push dword [esi]
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
call fcn.0047b221
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0xfac1
lea ebx, [esi + 0xc]
push edi
push 1
push ebx
call fcn.0047b221
add esp, 0x20
lea eax, [edi + 0xc3d2]
mov ecx, esi
push eax
push edi
push ebx
call fcn.00475bf2
and byte [edi + esi + 0xc], 0
lea eax, [esi + 0x110]
xor ecx, ecx
cmp edi, ecx
mov dword [eax], ecx
jle 0x475bd0
movsx edx, byte [ebx + ecx]
add dword [eax], edx
inc ecx
cmp ecx, edi
jl 0x475bc5
push dword [esi]
call fcn.0047af72
mov dword [esi + 8], eax
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x475bf2
Capabilities:
Encode data using xor

Disassembly:
push edi
push dword [esp + 0x10]
call fcn.00411710
xor edi, edi
pop ecx
cmp dword [esp + 0xc], edi
jbe 0x475c1c
push esi
mov eax, dword [esp + 0xc]
lea esi, [edi + eax]
call fcn.00411880
xor byte [esi], al
inc edi
cmp edi, dword [esp + 0x10]
jb 0x475c06
pop esi
pop edi
ret 0xc
Function at 0x475f02
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
push 1
pop ebx
mov esi, ecx
mov byte [ebp - 1], bl
push dword [esi]
lea eax, [ebp - 0x14]
push 4
push ebx
push eax
call fcn.0047b221
add esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, esi
push 0x16fa
push 4
push eax
call fcn.00475bf2
and byte [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push str.FILE
push eax
call fcn.0047b3e0
pop ecx
test eax, eax
pop ecx
jne 0x476033
push dword [esi]
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
call fcn.0047b221
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0x29bc
lea eax, [ebp - 0x11c]
push edi
push ebx
push eax
call fcn.0047b221
add esp, 0x20
lea eax, [edi + 0xa25e]
mov ecx, esi
push eax
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.00475bf2
push dword [esi]
and byte [ebp + edi - 0x11c], 0
lea eax, [ebp - 0xc]
push ebx
push 4
push eax
call fcn.0047b221
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0x29ac
push edi
push ebx
push dword [ebp + 0xc]
call fcn.0047b221
add esp, 0x20
lea eax, [edi + 0xf25e]
mov ecx, esi
push eax
push edi
push dword [ebp + 0xc]
call fcn.00475bf2
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
and byte [edi + eax], 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0047b3e0
pop ecx
test eax, eax
pop ecx
je 0x47604a
push ebx
push ebx
push dword [esi]
call fcn.0047b2c8
push dword [esi]
lea eax, [ebp - 8]
push ebx
push 4
push eax
call fcn.0047b221
xor dword [ebp - 8], 0x45aa
push ebx
push 4
push dword [esi]
call fcn.0047b2c8
push ebx
push 0x10
push dword [esi]
call fcn.0047b2c8
push ebx
push dword [ebp - 8]
push dword [esi]
call fcn.0047b2c8
add esp, 0x40
jmp 0x476037
and byte [ebp - 1], 0
cmp byte [ebp - 1], bl
je 0x475f16
push 6
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
xor eax, eax
jmp 0x476043

Function at 0x47608e
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, ecx
push esi
push edi
mov edi, eax
or dword [eax + 0x400], 0xffffffff
xor esi, esi
mov edx, esi
push 8
shl edx, 0x18
pop ecx
test edx, 0x80000000
je 0x4760b7
add edx, edx
xor edx, 0x4c11db7
jmp 0x4760b9
shl edx, 1
dec ecx
jne 0x4760a5
mov dword [edi], edx
inc esi
add edi, 4
cmp esi, 0x100
jl 0x47609d
pop edi
pop esi
ret

Function at 0x476241
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 1
jne 0x476266
mov eax, dword [esi + 0xc]
push 8
add eax, dword [esi + 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0047b470
add esp, 0xc
jmp 0x476279
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.0047b221
add esp, 0x10
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 3]
shl eax, 8
or eax, ecx
add dword [esi + 0xc], 8
movzx ecx, byte [ebp - 2]
shl eax, 8
or eax, ecx
and byte [ebp - 4], 0
movzx ecx, byte [ebp - 1]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp + 8]
push str.KB01
mov dword [ecx], eax
lea eax, [ebp - 8]
push eax
call fcn.0047b3e0
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
pop esi
leave
ret 4
Function at 0x405fc0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0xc]
test eax, eax
je 0x405fda
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 4]
mov edx, dword [0x40dbac]
push ecx
push 0xffffd8f0
push edx
call dword [sym.imp.lua51.dll_luaL_unref]
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.lua51.dll_lua_close]
add esp, 0x10
lea ecx, [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
ret

Function at 0x406014
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d018]
jne 0x40601e
repz ret
jmp fcn.004063d8
Function at 0x10004c6d
Capabilities:
Enumerate services

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
je 0x10004d5f
mov esi, eax
mov eax, esp
and dword [eax], 0
lea ebx, [esp + 4]
and dword [ebx], 0
sub esp, 0x28
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
movaps xmm0, xmmword [0x10007010]
and dword [esp + 0x24], 0
movups xmmword [esp + 4], xmm0
and dword [esp + 0x20], 0
mov dword [esp], esi
and dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
cmp eax, 0xea
jne 0x10004d31
push dword [esp]
call sub.msvcrt.dll_malloc
pop ecx
test eax, eax
je 0x10004d31
mov ebp, eax
push 0
push 0
push ebx
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push ebp
push 3
push 0x30
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
xor edi, edi
test eax, eax
je 0x10004d2a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [esp + 4]
mov ecx, ebp
sub edx, 1
jb 0x10004d2a
cmp dword [ecx + 0x24], eax
je 0x10004d20
add ecx, 0x2c
jmp 0x10004d11
push dword [ecx]
call sub.msvcrt.dll__strdup
pop ecx
mov edi, eax
push ebp
call sub.msvcrt.dll_free
pop eax
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x10004d5f
push 0x10004c41
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
mov dword [0x10008700], eax
test eax, eax
jne 0x10004d64
push edi
call sub.msvcrt.dll_free
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.1000359c
mov esi, 0x100086e4
push 0x1c
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [0x100086e4], 0x20
mov dword [0x100086e8], 4
mov dword [0x100086f8], 1
push esi
push dword [0x10008700]
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
call fcn.1000359c
Function at 0x10004ef0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x190
mov ebx, edx
mov edi, ecx
mov ebp, 0xc000b0
push ebp
call sub.msvcrt.dll_malloc
pop ecx
mov esi, eax
push ebp
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
call sub.msvcrt.dll__strdup
pop ecx
mov dword [esi], eax
and dword [esi + 4], 0
push ebx
call sub.msvcrt.dll__strdup
pop ecx
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1a4]
mov dword [esi + 0x10], eax
mov word [esi + 0x14], 0x35
mov ecx, edi
call fcn.10005052
mov dword [esi + 0xc], eax
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
and dword [esi + 0xc0009c], 0
and dword [esi + 0xc00098], 0
mov word [esi + 0xc000a0], 0x100
mov byte [esi + 0xc000a2], 0
mov dword [esi + 0xc00090], 8
mov dword [esi + 0xc000a4], 0x3e8
lea eax, [esi + 0x28]
mov edi, 0x400000
push edi
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esi + 0x400028]
push edi
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, esi
add eax, 0x800028
push edi
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
cmp eax, 8
je 0x10004fd4
and dword [esi + eax*8 + 0xc0004c], 0
mov dword [esi + eax*8 + 0xc00048], eax
inc eax
jmp 0x10004fbd
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 8
je 0x10005012
push 8
call sub.msvcrt.dll_malloc
pop ecx
mov dword [eax], esi
mov dword [eax + 4], edi
push 0
push 0
push eax
push 0x100050a3
push 0
push 0
call ebx
mov dword [esi + edi*4 + 0xc00028], eax
push 0xa
call ebp
inc edi
jmp 0x10004fe2
mov eax, esp
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x1000504b
mov dword [esi + 0xc000a8], 1
mov dword [esi + 0xc000ac], eax
mov eax, esi
add esp, 0x190
pop esi
pop edi
pop ebx
pop ebp
ret
push 1
call sub.msvcrt.dll_exit

Function at 0x1000580c
Capabilities:
Terminate thread

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, ecx
mov edi, 0x30000a
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x300012
je 0x10005843
push 0
push dword [esi + edi*4]
call ebx
mov byte [esi + 0xc000a0], 1
push 0x3e8
call ebp
inc edi
jmp 0x10005823
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov edi, 0x10000a
cmp edi, 0x20000a
je 0x10005885
mov eax, dword [esi + edi*4 - 0x400000]
test eax, eax
je 0x10005870
push eax
call sub.msvcrt.dll_free
pop eax
and dword [esi + edi*4 - 0x400000], 0
mov eax, dword [esi + edi*4]
test eax, eax
je 0x10005882
push eax
call sub.msvcrt.dll_free
pop eax
and dword [esi + edi*4], 0
inc edi
jmp 0x1000584e
mov eax, dword [esi + 4]
test eax, eax
je 0x10005897
push eax
call sub.msvcrt.dll_free
pop eax
and dword [esi + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x100058a7
push eax
call sub.msvcrt.dll_free
pop eax
and dword [esi], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x100058b9
push eax
call sub.msvcrt.dll_free
pop eax
and dword [esi + 8], 0
push esi
call sub.msvcrt.dll_free
pop eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100058c5
Capabilities:
Resolve dns

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov dword [esp + 8], edx
mov edi, ecx
lea ebp, [ecx + 0xc000a8]
mov dword [esp + 4], 0
mov dword [esp], 0xfa
push 0xa
pop esi
xor ebx, ebx
test ebx, ebx
jne 0x10005976
xor ebx, ebx
test esi, esi
jle 0x10005976
cmp byte [edi + 0xc000a0], 0
jne 0x10005976
dec esi
push 0
lea ebx, [esp + 0x10]
push ebx
push ebp
push 0x18c8
push 5
push dword [esp + 0x1c]
call sub.DNSAPI.dll_DnsQuery_A
test eax, eax
je 0x1000592d
xor ebx, ebx
cmp byte [edi + 0xc000a0], 0
jne 0x100058ec
jmp 0x1000595c
mov eax, ebx
mov eax, dword [eax]
test eax, eax
je 0x10005949
cmp word [eax + 8], 5
jne 0x1000592f
push dword [eax + 0x18]
call sub.msvcrt.dll__strdup
pop ecx
mov ebx, eax
jmp 0x1000594b
xor ebx, ebx
push 1
push dword [esp + 0x10]
call sub.DNSAPI.dll_DnsFree
test ebx, ebx
jne 0x100058ec
jmp 0x10005920
mov ebx, dword [esp]
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
shld dword [esp + 4], ebx, 1
add ebx, ebx
mov dword [esp], ebx
jmp 0x100058ea
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10009a20
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10009bb1
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x10009a4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10009a51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10009a40
mov eax, 1
add ebx, ebx
jne 0x10009a63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10009a58
jne 0x10009a74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10009a58
xor ecx, ecx
sub eax, 3
jb 0x10009a88
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10009afa
mov ebp, eax
add ebx, ebx
jne 0x10009a93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10009aa0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10009ac4
inc ecx
add ebx, ebx
jne 0x10009ab0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10009aa5
jne 0x10009ac1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10009aa5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10009ae4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10009ad5
jmp 0x10009a46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10009ae4
add edi, ecx
jmp 0x10009a46
pop esi
mov edi, esi
mov ecx, 0x39
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10009b02
cmp byte [edi], 1
jne 0x10009b02
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 0x10009b07
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x10009b7f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x93b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9440]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10009b34
mov ecx, edi
jns 0x10009b63
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 + 0x9444]
or eax, eax
je 0x10009b79
mov dword [ebx], eax
add ebx, 4
jmp 0x10009b51
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 0x10009bb0
cmp al, 0xef
ja 0x10009ba3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10009b85
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10009b92
popal
jmp 0x1000306b
Function at 0x403450
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [str.rP_]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
cmp dword [ecx + 0x50], 0x10
lea ebx, [ecx + 0x3c]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x24], eax
mov dword [ebx + 0x10], eax
jb 0x40347a
mov eax, dword [ebx]
jmp 0x40347c
mov eax, ebx
mov byte [eax], 0
call fcn.0044daf0
mov esi, eax
test esi, esi
jne 0x4034a0
mov eax, 0x13ab
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004822c9
mov esp, ebp
pop ebp
ret
mov ecx, edi
lea edi, [ebp - 0x20]
call fcn.00402fb0
push 1
push 0x34
push esi
call fcn.0044db30
add esp, 0xc
push 5
push 0x4e
push esi
call fcn.0044db30
add esp, 0xc
push 1
push 0x13
push esi
call fcn.0044db30
add esp, 0xc
push 0x12c
push 0x14
push esi
call fcn.0044db30
mov eax, dword [ebp - 0x20]
mov edi, 0x10
add esp, 0xc
cmp dword [ebp - 0xc], edi
jae 0x4034f1
lea eax, [ebp - 0x20]
push eax
push 0x2712
push esi
call fcn.0044db30
add esp, 0xc
push 0x4035b0
push 0x4e2b
push esi
call fcn.0044db30
add esp, 0xc
push ebx
push 0x2711
push esi
call fcn.0044db30
add esp, 0xc
push 1
push 0x63
push esi
call fcn.0044db30
add esp, 0xc
push esi
call fcn.0044db60
add esp, 4
test eax, eax
je 0x403545
mov dword [ebp - 0x24], 0x13ab
jmp 0x403579
lea eax, [ebp - 0x28]
push eax
push 0x200002
push esi
call fcn.0044dcc0
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x28]
jne 0x403565
cmp eax, 0xc8
je 0x403579
sub eax, 0x194
neg eax
sbb eax, eax
and eax, 0xfffffff2
add eax, 0x13b9
mov dword [ebp - 0x24], eax
push esi
call fcn.0044dc60
add esp, 4
cmp dword [ebp - 0xc], edi
jb 0x403593
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00482674
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004822c9
mov esp, ebp
pop ebp
ret
Function at 0x412f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaac8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [str.rP_]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebx + 8]
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKITEM.0
call fcn.004be630
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret