joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010cb1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
cmp dword [0x101fb14], 0xffffffff
push edi
je 0x1010d02
mov eax, 0x101fb14
mov dword [ebp + 0x10], eax
lea edi, [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [esi + eax]
test eax, eax
je 0x1010cee
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
inc eax
pop ecx
mov dword [edi], eax
lea ebx, [ebx + eax*2]
jmp 0x1010cf1
and dword [edi], 0
mov eax, dword [ebp + 0x10]
add eax, 8
add edi, 4
cmp dword [eax], 0xffffffff
mov dword [ebp + 0x10], eax
jne 0x1010cd5
mov edi, dword [ebp + 0x14]
push edi
lea eax, [ebx + 0x34]
push eax
call sub.NETAPI32.dll_NetapipBufferAllocate
test eax, eax
jne 0x1010db5
mov eax, dword [edi]
lea ecx, [eax + ebx + 0x34]
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x101fb14
push eax
push esi
lea eax, [ebp - 4]
push eax
call fcn.010153f2
mov ebx, dword [ebp + 0x18]
push ebx
push 0x1f6
push dword [ebp + 8]
call sub.NETAPI32.dll_NetServerGetInfo
test eax, eax
jne 0x1010db5
mov eax, dword [edi]
mov ecx, dword [esi + 4]
mov dword [eax + 8], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 8]
mov dword [eax + 0xc], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x18], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x1c], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x3c]
mov dword [eax + 0x20], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x24], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x44]
mov dword [eax + 0x28], ecx
mov eax, dword [edi]
mov ecx, dword [esi + 0x4c]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x6c]
mov dword [eax], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x70]
mov dword [eax + 4], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x78]
mov dword [eax + 8], ecx
mov eax, dword [ebx]
mov ecx, dword [esi + 0x84]
mov dword [eax + 0xc], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x1011052
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_ftell]
test eax, eax
mov esi, dword [sym.imp.msvcrt.dll_fread]
pop ecx
jne 0x10110b5
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push 1
push 2
push eax
call esi
add esp, 0x10
cmp dword [ebp - 4], 0xfeff
je 0x10110b5
push 0x1002300
mov ebx, 0x1027460
push ebx
call dword [sym.imp.msvcrt.dll_swprintf]
pop ecx
pop ecx
push 0
push ebx
push dword [0x1022594]
call fcn.01013456
push dword [ebp + 0x10]
push 1
push 2
pop ebx
jmp 0x10110e7
mov eax, dword [ebp - 4]
cmp eax, 0xd
je 0x10110e2
cmp eax, 0xa
je 0x10110fb
cmp eax, 9
je 0x10110d9
mov word [edi], ax
add edi, ebx
inc dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
dec ecx
cmp dword [ebp - 8], ecx
jge 0x1011102
push dword [ebp + 0x10]
push 1
lea eax, [ebp - 4]
push ebx
push eax
call esi
add esp, 0x10
cmp eax, 1
jae 0x10110bf
or eax, 0xffffffff
jmp 0x1011102
mov word [edi], 0xa
add edi, ebx
and word [edi], 0
cmp eax, 0xffffffff
jne 0x1011114
cmp edi, dword [ebp + 8]
jne 0x1011114
xor eax, eax
jmp 0x1011117
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10121a6
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x101d774]
push ebx
mov bl, byte [ebp + 0x18]
test bl, 4
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x410], esi
je 0x10121e0
test bl, 0xa
je 0x10121e0
push 0x57
pop eax
jmp 0x10122a0
xor ecx, ecx
mov cl, bl
and ecx, 8
mov dword [ebp - 0x418], ecx
xor ecx, ecx
mov cl, bl
and ecx, 2
mov dword [ebp - 0x414], ecx
lea ecx, [ebp - 0x40c]
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x404]
push 0x200
push ecx
push dword [ebp + 0xc]
push eax
call fcn.010141cf
test eax, eax
mov dword [ebp - 0x408], eax
je 0x1012228
test bl, 4
jne 0x1012262
push dword [ebp - 0x40c]
lea eax, [ebp - 0x404]
push eax
mov esi, 0x1027460
push esi
call dword [sym.imp.msvcrt.dll_wcsncpy]
mov eax, dword [ebp - 0x40c]
and word [eax*2 + 0x1027460], 0
add esp, 0xc
push 0
push esi
push edi
call fcn.01013456
mov esi, dword [ebp - 0x410]
xor eax, eax
cmp esi, eax
je 0x1012270
mov ecx, dword [ebp - 0x40c]
mov dword [esi], ecx
cmp word [ebp - 0x418], ax
je 0x1012289
cmp dword [ebp - 0x408], eax
je 0x1012289
push dword [ebp - 0x408]
jmp 0x1012294
cmp word [ebp - 0x414], ax
je 0x101229a
push 0xffffffffffffffff
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x408]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100f4dc
leave
ret 0x18
Function at 0x10133d7
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.010133b4
test eax, eax
je 0x10133ff
push 0
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x101344d
mov eax, dword [ebp + 0x10]
push esi
push edi
add eax, eax
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, esi
je 0x101344b
mov eax, dword [ebp + 0x10]
push esi
push esi
lea ecx, [eax + eax]
push ecx
push edi
push eax
push dword [ebp + 0xc]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, esi
mov dword [ebp + 0x10], eax
je 0x1013444
push esi
lea ecx, [ebp + 0x10]
push ecx
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x401000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41515f
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x41c024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x84], ebx
mov dword [0x41df40], ebx
xor esi, esi
mov dword [ebp - 4], esi
lea edi, [ebx + 0x38]
lea eax, [edi + 4]
mov dword [ebx], str.fmol
mov dword [ebx + 4], 0x418308
mov dword [ebx + 8], str.YySRV.exe
mov dword [ebx + 0xc], 0x418320
mov dword [ebx + 0x10], str.PlayerUpdate.exe
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x30], 0xa
mov word [ebx + 0x34], si
mov byte [ebx + 0x36], 0
mov dword [edi], eax
mov byte [eax], 0
lea ecx, [ebx + 0x80]
lea eax, [ecx + 4]
mov dword [ebx + 0x7c], esi
mov dword [ebp - 0x6c], ecx
mov dword [ecx], eax
mov byte [eax], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
mov dword [ebx + 0xc4], 0x1010101
mov dword [ebx + 0xc8], esi
mov dword [ebx + 0xcc], esi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x16]
movzx edx, word [ebp - 0x18]
movzx eax, word [ebp - 0x1a]
push ecx
movzx ecx, word [ebp - 0x1e]
push edx
movzx edx, word [ebp - 0x20]
push eax
push ecx
push edx
push str.__d_02d_02d_02d_02d
call fcn.00403350
add esp, 0x18
push ebx
call fcn.00401170
push 0xa0
call fcn.00408e0c
add esp, 4
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 3
cmp eax, esi
je 0x401102
push eax
call fcn.004036a0
jmp 0x401104
xor eax, eax
lea esi, [ebp - 0x68]
mov dword [ebx + 0x7c], eax
call fcn.00401600
mov esi, dword [ebp - 0x6c]
call fcn.00402f20
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x64]
cmp eax, ecx
je 0x40112a
push eax
call fcn.004093a1
add esp, 4
xor eax, eax
push eax
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
push edx
lea eax, [ebx + 0x18]
push eax
mov dword [ebp - 0x7c], 1
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408b8e
mov esp, ebp
pop ebp
ret
Function at 0x408b8e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41c024]
jne 0x408b98
repz ret
jmp fcn.0040a0ce

Function at 0x40e3f5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41c024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040a4cb
and dword [ebp - 0x14], 0
cmp dword [0x41de78], 0
mov dword [ebp - 0x18], eax
jne 0x40e4a8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40e550
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40e550
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41de78], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41de7c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41de80], eax
call edi
push eax
call esi
mov dword [0x41de88], eax
test eax, eax
je 0x40e4a8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41de84], eax
mov eax, dword [0x41de84]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40e501
cmp dword [0x41de88], ecx
je 0x40e501
push eax
call esi
push dword [0x41de88]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40e501
test ebx, ebx
je 0x40e501
call edi
test eax, eax
je 0x40e4f8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40e4f8
test byte [ebp - 8], 1
jne 0x40e501
or dword [ebp + 0x10], 0x200000
jmp 0x40e534
mov eax, dword [0x41de7c]
cmp eax, dword [ebp - 0x18]
je 0x40e534
push eax
call esi
test eax, eax
je 0x40e534
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40e534
mov eax, dword [0x41de80]
cmp eax, dword [ebp - 0x18]
je 0x40e534
push eax
call esi
test eax, eax
je 0x40e534
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41de78]
call esi
test eax, eax
je 0x40e550
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40e552
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408b8e
leave
ret

Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi
Function at 0x4021ce
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov dword [esp + 4], str.HKEY_CLASSES_ROOT
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
cmp eax, ebx
je 0x40224b
mov dword [esp + 4], str.HKEY_CURRENT_USER
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
cmp eax, ebx
je 0x402252
mov dword [esp + 4], str.HKEY_LOCAL_MACHINE
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
cmp eax, ebx
je 0x402259
mov dword [esp + 4], str.HKEY_USERS
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
cmp eax, ebx
je 0x402260
mov dword [esp + 4], str.HKEY_CURRENT_CONFIG
xor esi, esi
mov dword [esp], ebx
call sub.msvcrt.dll_strstr
cmp eax, ebx
jne 0x40233c
mov esi, 0x80000005
jmp 0x402265
mov esi, Ordinal_1
jmp 0x402265
mov esi, reloc.slm_runtime_windows_x86.dll_Ordinal_1
jmp 0x402265
mov esi, 0x80000002
jmp 0x402265
mov esi, 0x80000003
mov dword [esp], ebx
mov dword [esp + 4], 0x5c
call sub.msvcrt.dll_strchr
mov dword [esp], ebx
mov dword [esp + 4], 0x5c
lea edi, [eax + 1]
call sub.msvcrt.dll_strrchr
lea edx, [ebp - 0x20]
mov byte [eax], 0
mov ebx, eax
cmp dword [0x40b018], 0
jne 0x4022c4
mov dword [esp], esi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], edi
call sub.advapi32.dll_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x402339
jmp 0x4022f1
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x20119
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [ebp - 0x2c], edx
call sub.advapi32.dll_RegOpenKeyExA
mov edx, dword [ebp - 0x2c]
sub esp, 0x14
test eax, eax
jne 0x402299
lea eax, [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
lea eax, [ebx + 1]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExA
sub esp, 0x18
test eax, eax
sete al
movzx eax, al
mov esi, eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push edi
mov byte [ebx], 0x5c
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4386ce
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
leave
add dword [esp], 0x1f86a
xchg dword [esp], ecx
push ebx
mov ebx, dword [esp + 4]
lea ebx, [ebx + 9]
xchg dword [esp + 4], ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp]
lea esp, [esp + 4]
xchg dword [esp + 4], ecx
push ebp
mov ebp, esp
leave
xchg dword [esp], ecx
push edx
mov edx, ecx
pop edx
popfd
push eax
mov eax, dword [esp + 4]
lea eax, [eax + 0x47]
xchg dword [esp + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp]
lea esp, [esp + 4]
jmp 0x457f38
popfd
pushfd
add ebp, 0x7e
popfd
lea ebp, [ebp - 0x7e]
je 0x47f6e0
jne 0x47f6e0
jmp 0x47f6de
sal byte [ebx + 0x4c8b519d], cl
and al, 4
popfd
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x54]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
je 0x45f774
jne 0x45f774
jmp 0x45f772
pushfd
push ecx
mov ecx, edx
pop ecx
xchg edi, eax
lea esp, [esp - 4]
mov dword [esp], edi
mov edi, eax
mov eax, dword [esp]
xchg edi, edx
lea esp, [esp - 4]
mov dword [esp], edi
mov edi, edx
mov edx, dword [esp]
rdtsc
push edi
mov edi, dword [esp + 4]
lea edi, [edi + 0x1f]
xchg dword [esp + 4], edi
mov dword [esp + 4], edi
mov edi, dword [esp]
lea esp, [esp + 4]
and eax, 1
push edx
mov edx, dword [esp + 4]
lea edx, [edx + 0x52]
xchg dword [esp + 4], edx
mov dword [esp + 4], edx
mov edx, dword [esp]
lea esp, [esp + 4]
xchg edx, eax
xchg dword [esp], eax
xchg edx, eax
lea esp, [esp + 4]
xchg ecx, eax
xchg dword [esp], ecx
xchg ecx, eax
lea esp, [esp + 4]
je 0x4874c0
jne 0x442470
jmp 0x4874be
lea esp, [esp - 4]
mov dword [esp], esi
mov esi, edx
mov edx, dword [esp]
rdtsc
push esi
mov esi, dword [esp + 0xb]
pop esi
and eax, 1
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 7]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
xchg ecx, edx
xchg dword [esp], ecx
xchg ecx, edx
lea esp, [esp + 4]
xchg edi, eax
xchg dword [esp], edi
xchg edi, eax
lea esp, [esp + 4]
je 0x4435ac
jne 0x440244
jmp 0x4435aa
call fcn.004335e8
xchg ebx, eax
outsb dx, byte [esi]
add dh, al
ja 0x457ecb
pushal
dec si
add byte [eax], al
add byte [eax], al
xchg ecx, eax
mov ecx, dword [ebp - 0x14]
push eax
xchg ecx, eax
pop ecx
shr eax, 2
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x22]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
xchg dword [ebp - 0x1c], esi
mov esi, eax
push dword [ebp - 0x1c]
xchg dword [ebp - 0x1c], esi
pop esi
cmp dword [ebp - 0x14], 4
push esi
mov esi, dword [esp + 4]
lea esi, [esi + 0x41]
xchg dword [esp + 4], esi
mov dword [esp + 4], esi
mov esi, dword [esp]
lea esp, [esp + 4]
jmp 0x44d2fc
add byte [eax], al
jb fcn.0043d518
cmp dword [ebp - 0x1c], 0
push esi
mov esi, dword [esp + 4]
lea esi, [esi + 0x42]
xchg dword [esp + 4], esi
mov dword [esp + 4], esi
mov esi, dword [esp]
lea esp, [esp + 4]
jne 0x437880
jmp fcn.0043d518
add byte [eax], al
popfd
mov eax, eax
je 0x4e9fe0
jne 0x4e9fe0
jmp 0x4e9fde
add byte [eax], al
Function at 0x4e9a4c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test esi, esi
jle 0x4e9aaf
mov ecx, dword [ebp + 0x10]
sub dword [ebp + 0xc], ecx
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
push edi
inc bl
movzx ebx, bl
mov cl, byte [edx + ebx + 8]
add al, cl
movzx eax, al
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
mov al, byte [edx + eax + 8]
mov byte [edx + ebx + 8], al
add al, cl
movzx eax, al
mov byte [edx + edi + 8], cl
mov cl, byte [eax + edx + 8]
mov eax, dword [ebp + 0x10]
xor cl, byte [esi + eax]
mov byte [eax], cl
inc eax
sub dword [ebp - 4], 1
mov dword [ebp + 0x10], eax
mov eax, edi
jne 0x4e9a6e
mov esi, dword [ebp + 0x14]
pop edi
mov dword [edx + 4], eax
mov eax, esi
pop esi
mov dword [edx], ebx
pop ebx
leave
ret
Function at 0x609a6d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.00624adc
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x649a32
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.00624adc
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x649a32
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 4]
xor eax, 0x12476359
mov dword [ebp + 4], eax
push eax
mov eax, dword [ebp]
xor eax, 0x97815643
mov dword [ebp], eax
push eax
mov ebx, dword [ebp - 4]
call fcn.00609a4d
mov eax, 0
cmp eax, ecx
jl 0x609b05
push 0x20b
push 0x4011022
push 1
call fcn.00624af4
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.00609a4d
mov eax, 0
cmp eax, ecx
jl 0x609b38
push 0x234
push 0x4011022
push 1
call fcn.00624af4
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
xor ebx, ebx
sub bl, cl
mov byte [ebx + eax], bl
loop 0x609b4e
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x609b76
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x609b70
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x609b8f
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.006259d0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x609beb
push ebx
call fcn.00624ad6
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x609c00
push eax
pushfd
mov eax, dword [esp + 8]
xor eax, 0x97815643
mov dword [ebp], eax
mov eax, dword [esp + 0xc]
xor eax, 0x12476359
mov dword [ebp + 4], eax
xchg dword [esp + 4], eax
popfd
pop eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.00624ad6
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.00624ad6
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x626450
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x62646e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x626463
pop esi
ret

Function at 0x629b0a
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00629b89
jae 0x629b16
xor ecx, ecx
call fcn.00629b89
jae 0x629b40
xor eax, eax
call fcn.00629b89
jae 0x629b51
mov al, 0x10
call fcn.00629b89
adc al, al
jae 0x629b32
jne 0x629b7e
stosb byte es:[edi], al
jmp 0x629b17
call fcn.00629b95
dec ecx
loop 0x629b5d
mov eax, ebp
call fcn.00629b93
jmp 0x629b7f
lodsb al, byte [esi]
shr eax, 1
je 0x629ba5
adc ecx, 2
mov ebp, eax
jmp 0x629b7f
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00629b93
cmp eax, 0x7d00
jae 0x629b7d
cmp eax, 0x500
jae 0x629b7e
cmp eax, 0x7f
ja 0x629b7f
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x629b17
pop ebp
ret 8

Function at 0x667f49
Capabilities:
Check for software breakpoints
Encode data using base64

Disassembly:
push dword [esp + 4]
popfd
lea esp, [esp + 0x10]
call fcn.007a87ba

Function at 0x69020f
Capabilities:
Check for software breakpoints
Check http status code
Encode data using base64
Parse pe header

Disassembly:
mov eax, dword [eax + 4]
test edi, 0x66113c46
cmp eax, 0x42792bda
add eax, 8
push eax
call fcn.00624adc
pop ecx
pop esi
mov bx, dx
xchg bx, di
mov edi, eax
movsx ebx, cx
bswap bx
mov bx, 0x331a
rep movsb byte es:[edi], byte [esi]
not bl
sete bl
bswap esi
pop edi
pop esi
movzx cx, ah
stosd dword es:[edi], eax
bswap cx
movsx ebx, bp
cbw
mov ecx, 3
movsx ebx, cx
rep movsd dword es:[edi], dword [esi]
pop eax
sbb edi, edi
pop edi
mov dword [edi], eax
rcl bh, cl
shr ebx, cl
cmp ebp, eax
mov ebx, dword [ebp - 0x70]
clc
push ebx
cmp edi, 0x29803894
jmp 0x68ef80
add ebx, 4
stc
clc
push ebx
test sp, 0x440e
mov ebx, dword [ebx]
test ebx, ebx
je 0x68efa0
push ebx
call fcn.00624ad6
add esp, 4
xchg bl, bl
pop ebx
call fcn.00624ad6
add esp, 4
cwde
not ax
push dword [esp + 0x30]
popfd
lea esp, [esp + 0x40]
call fcn.0066b963
stosd dword es:[edi], eax
movzx ax, cl
lodsd eax, dword [esi]
push esi
clc
cmc
push edi
clc
test sp, bx
test eax, 0x3e303414
test eax, eax
je 0x685482
push eax
jmp 0x68544e

Function at 0x6e0aac
Capabilities:
Authenticate hmac

Disassembly:
mov dword [ebp - 4], 0
jmp 0x76711b
stosd dword es:[edi], eax
lodsd eax, dword [esi]
jmp 0x7405fa
push ebp
mov ebp, esp
sub esp, 0x98
jmp 0x6aeaf7
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x6ad24d
stosd dword es:[edi], eax
jmp 0x74278d
mov dword [ebp - 0xc], 0
jmp 0x6f62fb
push 8
call fcn.00624adc
add esp, 4
xchg di, si
movsx edi, cx
mov dword [ebp - 8], eax
movsx esi, bp
mov edi, eax
cbw
mov esi, 0x62923e
movsx ax, dh
lodsd eax, dword [esi]
jmp 0x6de869
Function at 0x7a99aa
Capabilities:
Authenticate hmac

Disassembly:
push esi
pushfd
mov esi, 0x149741e
call fcn.007403ea