joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c979
Capabilities:
Check os version

Disassembly:
mov eax, 0x420ddc
call fcn.0041fac0
sub esp, 0x178
and dword [ebp - 0x70], 0
push ebx
push esi
push edi
mov esi, ecx
push 0x16
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
mov dword [ebp - 0x184], 0x114
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x174], 2
jne 0x41ca9c
cmp dword [ebp - 0x180], 6
jne 0x41ca9c
lea eax, [ebp - 0x54]
push str.Microsoft_Yahei
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
mov dword [ebp - 0x70], 0xfffffff4
pop ecx
push str.menu
lea ecx, [ebp - 0x10]
call fcn.004068ba
and dword [ebp - 4], 0
lea eax, [ebp - 0x70]
lea edi, [esi + 0x14]
mov esi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0041d011
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [eax], ebx
call fcn.0040705c
push str.edit
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x70], 0xfffffff2
call fcn.004068ba
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 1
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0041d011
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [eax], ebx
call fcn.0040705c
push str.link
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x70], 0xfffffff4
mov byte [ebp - 0x5b], 1
call fcn.004068ba
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 2
push eax
call esi
mov esi, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0041d011
or dword [ebp - 4], 0xffffffff
mov dword [eax], esi
lea ecx, [ebp - 0x10]
jmp 0x41cb69
lea eax, [ebp - 0x54]
push str.Tahoma
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
mov dword [ebp - 0x70], 0xe
pop ecx
push str.menu
lea ecx, [ebp - 0x10]
call fcn.004068ba
lea eax, [ebp - 0x70]
lea edi, [esi + 0x14]
mov esi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov dword [ebp - 4], 3
call esi
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0041d011
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [eax], ebx
call fcn.0040705c
push str.edit
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x70], 0x12
call fcn.004068ba
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 4
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0041d011
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [eax], ebx
call fcn.0040705c
push str.link
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x70], 0xe
mov byte [ebp - 0x5b], 1
call fcn.004068ba
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 5
push eax
call esi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0041d011
or dword [ebp - 4], 0xffffffff
mov dword [eax], esi
lea ecx, [ebp - 0x14]
call fcn.0040705c
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x403970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b070a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x62d330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.00596196
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x403a16
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.00574714
push 0x627a84
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.00578bb5
push edi
push esi
call fcn.0059642c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00574661
mov esp, ebp
pop ebp
ret 4

Function at 0x403fb0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b0798
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x62d330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.004047b0
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00403ee0
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x404021
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.00574714
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x40404a
push dword [esp + 0xc]
call fcn.0044ecd1
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x58c898
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62d330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0057ee3c
mov dword [ebp - 0x14], eax
cmp dword [0x63ab6c], esi
jne 0x58c98b
push 0x800
push esi
push 0x5f6bf0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x58c918
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x58ca6b
push esi
push esi
push 0x5f6bf0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x58ca6b
push 0x5f6c08
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x58ca6b
push eax
call ebx
push 0x5f6c14
push edi
mov dword [0x63ab6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f6c24
push edi
mov dword [0x63ab70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x63ab74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x63ab7c], eax
test eax, eax
je 0x58c988
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x63ab78], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x58c9b0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x58c9a3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x58c9c5
push 4
pop eax
jmp 0x58ca6d
cmp dword [ebp - 0x14], esi
je 0x58c9c5
push dword [0x63ab6c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x58c9aa
mov eax, dword [0x63ab78]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x58ca23
cmp dword [0x63ab7c], edi
je 0x58ca23
push eax
call ebx
push dword [0x63ab7c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x58ca23
test eax, eax
je 0x58ca23
call ecx
test eax, eax
je 0x58ca18
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x58ca18
test byte [ebp - 8], 1
jne 0x58ca23
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x58ca53
mov eax, dword [0x63ab70]
cmp eax, edi
je 0x58ca50
push eax
call ebx
test eax, eax
je 0x58ca50
call eax
mov esi, eax
test esi, esi
je 0x58ca50
mov eax, dword [0x63ab74]
cmp eax, edi
je 0x58ca50
push eax
call ebx
test eax, eax
je 0x58ca50
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x63ab6c]
call ebx
test eax, eax
je 0x58ca6b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x58ca6d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00574661
mov esp, ebp
pop ebp
ret
Function at 0x59c70b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0xb10a80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x528000]
push edi
jmp 0xb10a9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb10aa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb10a90
mov eax, 1
add ebx, ebx
jne 0xb10ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb10ac4
jne 0xb10ae3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb10ae3
dec eax
add ebx, ebx
jne 0xb10ad0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb10aa8
add ebx, ebx
jne 0xb10adf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb10b35
xor ecx, ecx
sub eax, 3
jb 0xb10afb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb10b6a
sar eax, 1
mov ebp, eax
jmp 0xb10b06
add ebx, ebx
jne 0xb10b06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb10ad4
inc ecx
add ebx, ebx
jne 0xb10b14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb10ad4
add ebx, ebx
jne 0xb10b21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb10b16
jne 0xb10b32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb10b16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb10b54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb10b46
jmp 0xb10a96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb10b54
add edi, ecx
jmp 0xb10a96
pop esi
mov edi, esi
mov ecx, 0x14d8d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb10b72
cmp byte [edi], 0x9a
jne 0xb10b72
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 0xb10b77
lea edi, [esi + 0x70d000]
mov eax, dword [edi]
or eax, eax
je 0xb10bef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x77ad1c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x77ae88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb10ba4
mov ecx, edi
jns 0xb10bd3
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 + 0x77ae90]
or eax, eax
je 0xb10be9
mov dword [ebx], eax
add ebx, 4
jmp 0xb10bc1
call dword [esi + 0x77ae8c]
mov ebp, dword [esi + 0x77ae94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0xb10c23
sub esp, 0xffffff80
jmp 0x401600
Function at 0x421529
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00421480
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x421558
mov eax, 0xea61
jmp 0x4215d6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c], 0
jne 0x421568
mov eax, 0xea62
jmp 0x4215d6
push 0xf8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00421480
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x421595
mov eax, 0xea62
jmp 0x4215d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x14c
je 0x4215ad
mov eax, 0xea65
jmp 0x4215d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x16]
test ch, 0x10
je 0x4215c2
mov eax, 0xea66
jmp 0x4215d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x74], 0x10
jbe 0x4215d2
mov eax, 0xea67
jmp 0x4215d6
xor eax, eax
jmp 0x4215d6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10004145
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10004154
pop dword [ebp - 0x48]
mov eax, 0xf444b05b
add eax, 0x1bbb90f9
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x88273e93
add dword [ebp - 0x58], 0xc62b06b8
mov dword [ebp - 0x54], 0xc64f9635
sub dword [ebp - 0x54], 0x941c49f0
mov dword [ebp - 0x50], 0x3dda55f
sub dword [ebp - 0x50], 0xb7916131
mov dword [ebp - 0x4c], 0x3271010d
add dword [ebp - 0x4c], 0xcd8efef3
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x85ae8966
add dword [ebp - 0x58], 0xeec3dff0
mov dword [ebp - 0x54], 0x5cd24324
sub dword [ebp - 0x54], 0x1b65e1af
mov dword [ebp - 0x50], 0xd858daca
add dword [ebp - 0x50], 0x8b1691a2
mov dword [ebp - 0x4c], 0x5a6a78de
add dword [ebp - 0x4c], 0xa5958722
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3647c
push 0
call eax
mov ecx, 0x18dd75c5
sub ecx, 0x18dd3007
mov ebx, eax
mov esi, 0x10009800
add esi, dword [ebp - 0x48]
mov edi, 0x26434e35
sub edi, 0x49908a72
add dword [ebp - 0x40], edi
mov edx, dword [esi]
xor dword [ebp - 0x2c], edx
xor edx, edi
add dword [ebp - 0x20], edx
mov dword [ebx], edx
sub dword [ebp - 0x3c], edx
add ebx, 0xe0c6db15
add ebx, 0x1f3924ef
add esi, 0xb2aaffb9
add esi, 0x4d55004b
loop 0x10004266
add eax, 0xf7033b72
sub eax, 0xf70231a7
mov ebx, eax
add eax, 5
mov ecx, 0xd5f3d3f1
sub ecx, 0xc5f3d3f1
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x6d53a551
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x6d53a560
pop dword [ebp - 0x4c]
mov eax, 0x6d53a560
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x78bcc5ed
sub dword [ebp - 0x5c], 0x2a6a80a2
mov dword [ebp - 0x58], 0x90840bb1
add dword [ebp - 0x58], 0xa1af4094
mov dword [ebp - 0x54], 0x14c86cd2
sub dword [ebp - 0x54], 0xc87c28a4
mov dword [ebp - 0x50], 0x508ca016
sub dword [ebp - 0x50], 0x508ca016
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x56bec72f
sub eax, 0xe96b16d3
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xa231e9e7
sub dword [ebp - 0x5c], 0x2dbf8091
mov dword [ebp - 0x58], 0xe424b630
sub dword [ebp - 0x58], 0xa2b854bb
mov dword [ebp - 0x54], 0xe83f8876
sub dword [ebp - 0x54], 0x84d01c0a
mov dword [ebp - 0x50], 0x77d54630
sub dword [ebp - 0x50], 0x77d54630
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x95c93cea
sub eax, 0x28758cae
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3734c
push 0
call eax
mov ecx, 0x4801
mov esi, eax
mov edi, 0xb45fae5f
sub edi, 0x470a485f
add edi, dword [ebp - 0x4c]
mov ebx, 0xca5ed8b3
sub ebx, 0xfd5ae796
add dword [ebp - 0x3c], 0x83dede1d
mov edx, dword [edi]
sub dword [ebp - 0x34], ebx
xor edx, ebx
xor dword [ebp - 0xc], esi
mov dword [esi], edx
add dword [ebp - 4], 0x14a406cc
add esi, 4
add edi, 4
loop 0x6d53a677
add eax, 0xe4ee6b50
add eax, 0x1b12a787
mov ebx, eax
add eax, 0x290c2061
sub eax, 0x290c205c
mov ecx, 0xab21e157
sub ecx, 0x3dcee157
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x67c91f
Capabilities:
Check http status code

Disassembly:
push eax
lea esp, [esp + 4]
je 0x676752
rcr esi, 0x12
pushal
add edi, ebx
lea esi, [ecx + 0x4197ed49]
pushfd
mov esi, dword [edx]
mov byte [esp + 0x10], ch
clc
pushfd
test ax, bp
test esi, esi
call fcn.006791fa
add byte [esi + 0x100146a3], dh
pop ebx
jp 0x67650c
and dl, dl
salc
lcall 0xfa1a, 0xb8cbb024
int1
mov bl, 0xc6
loope 0x676509
imul ecx, dword [bp + si - 0x7e], 0xc3be1bd6
into
shl edx, 1
retf 0x7acb
cmp dl, dh
test edi, edi
jmp 0x67c563
test esi, esi
pushal
lea esp, [esp + 0x24]
je 0x676683
cmp bh, cl
cmc
cmc
add esi, ebx
push 0xdb03829b
push 0xc826b558
pushal
mov byte [esp + 4], 0xb1
lea esp, [esp + 0x28]
jmp 0x67d2e7
lea esp, [esp + 0x24]
je 0x67645e
pushfd
lea esp, [esp + 4]
je 0x676752
or si, 0x17d7
add edi, ebx
neg esi
shl si, cl
btr esi, edx
mov esi, dword [edx]
clc
push ebp
jmp 0x67bce2
cmc
push dword [esp]
mov edi, dword [edx + 0x1c]
jmp 0x67cf93
add edi, eax
stc
pushfd
push dword [esp + 4]
mov dword [esp], 0xad4d79b1
mov edi, dword [edi + ecx*4]
stc
cmp bh, bh
cmc
test edi, edi
push dword [esp + 0xc]
call fcn.006786e9
add di, 0xce94
or di, 0xb76c
add edx, ebx
sar di, cl
btr di, bp
cmc
mov dword [ebp - 4], edx
not dx
rcr dx, 7
test dh, 0x35
btc edi, 0x13
mov edx, dword [ebp - 4]
sbb di, bp
shld di, si, 6
bts di, bp
mov edi, dword [edx + 0x10]
pushal
jmp 0x67ad43

Function at 0x67cf23
Capabilities:
Check http status code

Disassembly:
mov ebp, 0x9850c48f
mov cl, 0xbf
out dx, eax
cdq
sahf
push eax
leave
mov ah, 0x47
adc byte [ebp - 0x62], dh
pop ss
push edi
jbe 0x67cec3
add byte [ebp + 0x12], dh
jg 0x67cf2b
out 0x94, eax
adc al, 0x51
inc edi
jmp 0xc7c2adca
mov esi, ecx
into
into
cmp eax, 0xd5697d1
dec edi
push ds
inc ecx
mov esp, 0x1202a5aa
clc
mov eax, 0x201758f0
xchg edx, eax
mov dl, 0xb2
and esi, dword [ecx + 0x4a7c2264]
or esi, dword [esi - 0x50]
mov dword [0xbc7846b1], eax
mov bh, 0x98
stosd dword es:[edi], eax
xchg ebx, eax
jno 0x67ce96
dec esp
into
xchg edx, eax
dec eax
enter 0xffffffffffffc7d4, 0xffffffffffffffb2
add byte [eax + 0x67], dl
add byte [eax + edx*2], dl
add byte [bx + si], bl
push eax
add byte [bx + si], dl
iretd
leave
invalid
call fcn.0067864c
sbb bh, byte [eax - 0x5c009dd8]
arpl ax, ax
jne 0x67cec2
invalid
xor eax, ebx
jae 0x67cf94
cmp edi, dword [edx + 0x7a]
test dword [edi], ecx
pop es
out 0x94, al
push ecx
jle 0x67cf20
fstp st(5)
wait
sal byte [ebx - 0x2949ec18], cl
invalid
invalid
Function at 0x10001000
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
mov ecx, 0x100
xor eax, eax
push esi
push edi
lea edi, [esp + 8]
push 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
push str.Ws2_32.dll
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str.shutdown
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x40c]
push 0
push ecx
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x400
ret

Function at 0x100012a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
push esi
push edi
call fcn.10002840
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 8]
push 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
push str.kernel32.dll
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str.VirtualProtect
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x414]
lea ecx, [esp + 0x418]
push ecx
mov ecx, dword [esp + 0x414]
push edx
mov edx, dword [esp + 0x414]
push ecx
push edx
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x400
ret
Function at 0x10001570
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov eax, 0x100c
call fcn.10002d90
push ebx
push ebp
push esi
mov esi, dword [esp + 0x101c]
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x10001680
push 0
push 0
push 0
push 0
push 0x10008330
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x2c], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0x24400000
push 0
push 0
mov ebp, eax
push 0
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x100015e5
push eax
jmp 0x10001675
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
push 0x13
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ebx, eax
lea eax, [esp + 0x1c]
push 0x100050d8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10001674
mov ecx, 0x400
lea edi, [esp + 0x1c]
test ebx, ebx
rep stosd dword es:[edi], eax
je 0x10001674
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push 0x1000
push edx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10001674
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1024]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + eax + 0x24], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x100c
ret
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x100c
ret
Function at 0x10001970
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Send data
Send http request

Disassembly:
sub esp, 0xfc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10c]
push edi
push esi
push str.http:__
call fcn.10001900
add esp, 8
cmp eax, 0xffffffff
jle 0x10001998
lea esi, [eax + esi + 7]
push esi
push 0x10005138
call fcn.10001900
mov edi, eax
add esp, 8
lea ecx, [esp + 0x54]
lea eax, [edi + 1]
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [edi + esi + 1]
lea eax, [esp + 0xb0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0
push 0
push 0
push 0x10005134
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 3
push 0x10008330
push 0x10008330
lea ecx, [esp + 0x68]
mov ebp, eax
push 0x50
push ecx
push ebp
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
lea edx, [esp + 0x18]
push 0x80000000
push edx
push 0
lea ecx, [esp + 0xc0]
push str.HTTP_1.0
push ecx
push str.POST
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], str.Accept:__
mov dword [esp + 0x38], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, 0xb
mov esi, str.Content_Type:application_x_www_form_urlencoded
lea edi, [esp + 0x20]
xor edx, edx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x114]
mov word [esp + 0x4f], dx
push esi
mov ebx, eax
mov byte [esp + 0x55], dl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
lea eax, [esp + 0x28]
push 0xffffffffffffffff
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0
lea ecx, [esp + 0x20]
push 0
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret

Function at 0x10002770
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebp
xor edi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x100027a7
push ebx
push esi
mov esi, dword [esp + 0x18]
mov ebx, ebp
sub ebx, esi
mov al, byte [ebx + esi]
push ebp
add al, 3
xor al, 7
sub al, 3
inc edi
mov byte [esi], al
inc esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp edi, eax
jl 0x1000278d
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x100027b0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebp
xor edi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x100027e7
push ebx
push esi
mov esi, dword [esp + 0x18]
mov ebx, ebp
sub ebx, esi
mov al, byte [ebx + esi]
push ebp
add al, 0x49
xor al, 0x55
sub al, 0x49
inc edi
mov byte [esi], al
inc esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp edi, eax
jl 0x100027cd
pop esi
pop ebx
pop edi
pop ebp
ret