joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4069ee
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
movzx eax, cl
mov esi, edx
push 0x405d28
sub eax, 0x7fffffff
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406a2b
jle 0x406a88
movzx eax, ax
or eax, 0x80070000
jmp 0x406a88
or dword [ebp - 0x10], 0xffffffff
mov ecx, esi
push 0x32
pop eax
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esi
call fcn.00406dfe
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x405d10
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00406d16
test esi, esi
je 0x406a7b
jle 0x406a77
movzx esi, si
or esi, 0x80070000
mov eax, esi
jmp 0x406a88
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
and eax, 0x8000ffff
pop edi
pop esi
leave
ret

Function at 0x409bc4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
inc ebp
mov eax, dword [0xa245c62e]
xor eax, 0x24a345c6
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
invalid
add al, 0xfc
invalid

Function at 0x409bf7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov eax, dword [0xa245c62e]
xor eax, 0x24a345c6

Function at 0x409c4e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x409ca2
Function at 0x40b821
Capabilities:
Contain obfuscated stackstrings

Disassembly:
das
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
xchg ebp, eax
sar al, 1
invalid
invalid
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x40b856
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x40b89d
lea eax, [ebp - 0x714]
push eax
call fcn.00409817
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.004097cc
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x40b8a8
jmp 0x40b8ad
jmp 0x40b1a9
cmp dword [ebp - 0x37c], 0
jne 0x40b957
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004099e3
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x40b943
lea eax, [ebp - 0x714]
push eax
call fcn.00409817
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.004098ac
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
add ah, bh
invalid
invalid
push dword [ebp - 0x54c]
push dword [ebp - 0x678]
dec dword [ebp - 0x3337b]
invalid

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

Disassembly:
inc eax
or al, 0x8b
jo 0x40b9de
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x40b9cb
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00409807
inc edx
popfd
in al, 0x1f
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
push esp
pop es
js 0x40b9e5
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
sbb byte [ebx - 0x20fcdfa6], cl
call fcn.00409807
and byte [ebp - 0x74b6af90], dh
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x40b9f4
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x40b9f4
call fcn.00409807
mov esp, 0x8b2439d1
pop edx
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.00409807
adc al, 0xba
push es
mov cl, 0xff
jne 0x40ba3e
push dword [ebp + 4]
push dword [ebp]
jne 0x40ba3c
in eax, 0xff
invalid
Function at 0x100b259
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1014420]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x1014aac], edi
jne 0x100b375
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x100b2c0
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
mov eax, dword [ebp - 0x110]
dec eax
mov dword [0x1014aac], edi
pop esi
je 0x100b348
dec eax
jne 0x100b375
cmp dword [ebp - 0x11c], 5
jne 0x100b335
mov eax, dword [ebp - 0x118]
sub eax, edi
je 0x100b329
dec eax
je 0x100b316
dec eax
je 0x100b2fc
mov dword [0x1014aac], 0x14
jmp 0x100b375
cmp word [ebp - 0xc], 1
jb 0x100b30d
mov dword [0x1014aac], 0x10
or dword [0x1014aac], 4
jmp 0x100b375
cmp word [ebp - 0xc], 2
jb 0x100b30d
mov dword [0x1014aac], 8
jmp 0x100b30d
mov dword [0x1014aac], 4
jmp 0x100b375
cmp dword [ebp - 0x11c], 4
ja 0x100b387
mov dword [0x1014aac], 2
cmp dword [ebp - 0x11c], 4
jne 0x100b375
cmp dword [ebp - 0x118], edi
je 0x100b36b
cmp dword [ebp - 0x118], 0xa
je 0x100b36b
cmp dword [ebp - 0x118], 0x5a
jne 0x100b375
mov dword [0x1014aac], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x1014aac]
xor ecx, ebp
pop edi
call fcn.01006913
leave
ret
mov dword [0x1014aac], 0x20
jmp 0x100b375

Function at 0x100b398
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1014420]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100b3ec
push 3
lea eax, [ebp - 0x44]
push 0x1001900
push eax
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.01006913
leave
ret

Function at 0x100b401
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1014420]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x1014ab0]
jne 0x100b49c
push esi
lea eax, [ebp - 0x10]
push eax
push 1
xor esi, esi
push esi
push 0x1001830
push 0x80000002
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100b49b
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x10018e8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x100b49b
push 3
push dword [esi*8 + 0x1001680]
lea eax, [ebp - 0xc]
push eax
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x100b48d
inc esi
cmp esi, 0x1c
jb 0x100b46c
jmp 0x100b49b
mov ax, word [esi*8 + 0x1001684]
mov word [0x1014ab0], ax
pop esi
mov ecx, dword [ebp - 4]
mov ax, word [0x1014ab0]
xor ecx, ebp
call fcn.01006913
leave
ret
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x40d240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x40d24f
pop dword [ebp - 4]
mov eax, 0x77f70a54
add eax, 0x8849c7fb
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x3bd46
push 0
mov eax, 0x7cb1d5ec
add eax, 0x838f0b34
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x51fb
xor ebx, ebx
add ebx, eax
mov edi, 0x77d75ae
sub edi, 0x73bfdae
add edi, dword [ebp - 4]
mov edx, 0x49013de6
sub edx, 0x1325944a
mov esi, dword [edi]
xor esi, edx
mov dword [ebx], esi
add ebx, 0x2257c8bd
sub ebx, 0x2257c8b9
add edi, 0x881b134e
sub edi, 0x881b134a
loop 0x40d2aa
add eax, 0xdd6c21fd
add eax, 0x229518c2
xor ebx, ebx
add ebx, eax
add eax, 0x440c2958
sub eax, 0x440c2953
mov ecx, 0x3de60d6a
add ecx, 0xc259f296
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0xbc8058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xbc81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbc807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbc806a
add dl, dl
jne 0xbc8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbc80dc
xor eax, eax
add dl, dl
jne 0xbc8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbc817d
add dl, dl
jne 0xbc80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbc80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbc8075
mov eax, 1
add dl, dl
jne 0xbc80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbc80e1
sub eax, ebx
mov ebx, 1
jne 0xbc8128
mov ecx, 1
add dl, dl
jne 0xbc810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbc8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbc8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbc8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbc813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbc814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbc8136
cmp eax, 0x7d00
jae 0xbc816d
cmp eax, 0x500
jb 0xbc8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbc8075
cmp eax, 0x7f
ja 0xbc8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbc8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbc819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbc8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10013502
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10022df0]
jne 0x1001350c
repz ret
jmp fcn.10013cd3

Function at 0x10013990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1001399f
pop dword [ebp - 0x44]
mov eax, 0xec58f0b2
sub eax, 0xdc57b713
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x2518eb9e
sub dword [ebp - 0x54], 0xd6c6a653
mov dword [ebp - 0x50], 0x20ea5de0
sub dword [ebp - 0x50], 0xeeb7119b
mov dword [ebp - 0x4c], 0x1b9fd430
add dword [ebp - 0x4c], 0x30ac6ffe
mov dword [ebp - 0x48], 0x7c807d3c
add dword [ebp - 0x48], 0x837f82c4
lea eax, [ebp - 0x54]
push eax
mov eax, 0xde301d0b
add eax, 0x31d15419
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xa776baa3
add dword [ebp - 0x54], 0xccfbaeb3
mov dword [ebp - 0x50], 0x3a6da843
add dword [ebp - 0x50], 0x6feb932
mov dword [ebp - 0x4c], 0xdad7e13
add dword [ebp - 0x4c], 0x55c1ee59
mov dword [ebp - 0x48], 0xe9c4a6c9
sub dword [ebp - 0x48], 0xe9c4a6c9
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xaf5eaa2b
add eax, 0x60a2c6fd
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3b803
push 0
call eax
mov ecx, 0x5455
xor edx, edx
add edx, eax
mov ebx, 0x62c9d783
add ebx, 0xad38fe7d
add ebx, dword [ebp - 0x44]
mov edi, 0x40116015
sub edi, 0x80b05dff
add dword [ebp - 4], ebx
mov esi, dword [ebx]
add dword [ebp - 8], 0x8535cd80
xor esi, edi
mov dword [edx], esi
add dword [ebp - 0x38], ebx
add edx, 0x1899b5a2
add edx, 0xe7664a62
add ebx, 0x950992f7
add ebx, 0x6af66d0d
loop 0x10013abd
add eax, 0x14427
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x40cc7b
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x434ad7
call fcn.004339e0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004028e9
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.004028e9
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004028e9
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004028e9
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.004028e9
and byte [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.004028e9
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.004028e9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40d3e4
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x434bff
call fcn.004339e0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004029bc
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.004029bc
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004029bc
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.004029bc
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.004029bc
mov al, byte [edi + 0x3c]
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], al
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.004029bc
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.004029bc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x40dd71
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40dd80
pop dword [ebp - 0xc]
mov eax, 0x40dd80
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3b587
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x9562739c
add ecx, 0x6a9dd71e
xor ebx, ebx
add ebx, eax
mov edx, 0x9b4ab759
sub edx, 0x9b05f159
add edx, dword [ebp - 0xc]
mov edi, 0xeb02f915
add edi, 0xf239fce4
sub dword [ebp - 8], ebx
mov esi, dword [edx]
xor dword [ebp - 4], esi
add esi, edi
mov dword [ebp - 8], 0xcd939e89
mov dword [ebx], esi
mov dword [ebp - 4], 0x391a76d5
add ebx, 0x521327ff
add ebx, 0xadecd805
add edx, 0xcac38404
sub edx, 0xcac38400
loop 0x40ddd7
add eax, 0x11dbb
xor ebx, ebx
add ebx, eax
add eax, 0xe3039ad3
add eax, 0x1cfc6532
mov ecx, 0x28d58d
add ecx, 0x172a73
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x412d32
Capabilities:
Encode data using xor

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
test edx, edx
jbe 0x412d5f
push ebx
push edi
movzx edi, byte [esi + ecx]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x444740]
xor eax, edi
inc esi
cmp esi, edx
jb 0x412d3e
pop edi
pop ebx
not eax
pop esi
ret
Function at 0xbf3e84
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0xbf3e8a
pop ebp
sub ebp, 6
sub ebp, 0x7f3e84
jmp 0xbf3ee8
mov al, byte [esp + 0x28]
cmp al, 1
je 0xbf3eff
popal
xor eax, eax
inc eax
ret 0xc
jmp 0xbf3f08
mov eax, 0x7f3e84
add eax, ebp
add eax, 0xaa
mov ecx, 0x5c7
mov edx, 0x42802e0d
xor byte [eax], dl
inc eax
dec ecx
jne 0xbf3f1f
jmp 0xbf3f32
xchg al, al
xchg byte [ecx + esi - 0x73f2f2f3], al
int3
Function at 0x10010eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov edx, dword [ebp + 0x14]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 0x10]
movlpd qword [ebp - 0x28], xmm0
mov ebx, dword [ebp - 0x24]
push edi
mov edi, 0xff
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 8], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x10
nop dword [eax]
xor eax, esi
xor edi, ebx
mov ebx, dword [ebp - 4]
xor esi, edi
xor ebx, dword [ebp - 0x10]
xor ecx, edx
xor edx, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [edx], esi
mov esi, dword [ebp - 0x18]
mov dword [edx + 4], esi
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor esi, eax
mov eax, dword [ebp + 0xc]
xor edx, ecx
mov dword [ebp - 0x20], esi
mov dword [eax + 8], esi
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esi + 0xc], edx
mov esi, dword [ebp - 8]
shld eax, esi, 0x11
shl esi, 0x11
xor dword [ebp - 0x1c], esi
mov esi, eax
xor esi, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], esi
mov dword [ecx + 0x14], esi
mov esi, edi
shrd edi, ebx, 0x13
shl esi, 0xd
or dword [ebp - 4], edi
shr ebx, 0x13
or esi, ebx
mov dword [ecx + 0x10], eax
sub dword [ebp - 0x14], 1
mov ebx, dword [ebp - 4]
mov dword [ecx + 0x1c], esi
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x20]
mov edi, esi
mov dword [ecx + 0x18], ebx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x18]
jne 0x10010ef0
push dword [ebp + 0x14]
mov esi, dword [ebp + 8]
push dword [ebp + 0x10]
push esi
call fcn.10001e30
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
call fcn.10001e30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10012070
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x1002b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0xd8]
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push edi
mov dword [ebp - 0xdc], ebx
call fcn.100114f0
mov esi, eax
test esi, esi
je 0x100120d3
mov ecx, dword [ebp - 0xd8]
sub esi, edi
mov edx, dword [ebp - 0xd4]
mov al, 3
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov byte [ebx + 8], al
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10025ac0
mov esp, ebp
pop ebp
ret 8
push 0x10027738
push edi
call sub.ntdll.dll_strpbrk
add esp, 8
test eax, eax
je 0x10012105
movzx ebx, byte [eax]
or ebx, 0x20
cmp ebx, 0x6e
jne 0x10012107
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10025ac0
mov esp, ebp
pop ebp
ret 8
xor ebx, ebx
push ebx
lea eax, [ebp - 0xd8]
push eax
push edi
call fcn.10011480
mov esi, eax
test esi, esi
jne 0x100121a1
push 0x2e
push edi
call sub.ntdll.dll_strchr
mov esi, eax
add esp, 8
test esi, esi
je 0x100120f0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10012135
sub ecx, edx
cmp ecx, 0xc8
ja 0x100120f0
lea edx, [ebp - 0xd0]
mov ecx, edi
sub edx, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10012150
call sub.api_ms_win_crt_locale_l1_1_0.dll_localeconv
sub esi, edi
push ebx
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp + esi - 0xd0], al
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.10011480
mov esi, eax
test esi, esi
je 0x100120f0
mov eax, edi
lea ecx, [ebp - 0xd0]
sub eax, ecx
add esi, eax
test esi, esi
je 0x100120f0
mov ebx, dword [ebp - 0xdc]
sub esi, edi
movsd xmm0, qword [ebp - 0xd8]
mov al, 0x13
mov ecx, dword [ebp - 4]
pop edi
movsd qword [ebx], xmm0
xor ecx, ebp
mov byte [ebx + 8], al
lea eax, [esi + 1]
pop esi
pop ebx
call fcn.10025ac0
mov esp, ebp
pop ebp
ret 8
Function at 0x10012280
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
call sub.api_ms_win_crt_locale_l1_1_0.dll_localeconv
mov ecx, dword [ebp + 8]
xor edi, edi
xor esi, esi
xorps xmm1, xmm1
mov eax, dword [eax]
movsx eax, byte [eax]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov al, byte [ecx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x10026d01], 8
je 0x100122d3
nop dword [eax]
mov al, byte [ecx + 1]
inc ecx
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x10026d01], 8
jne 0x100122c0
mov al, byte [ebp - 1]
lea edx, [ecx + 1]
cmp al, 0x2d
jne 0x100122e6
mov dword [ebp - 0x14], 1
jmp 0x100122ee
cmp al, 0x2b
mov dword [ebp - 0x14], esi
cmovne edx, ecx
cmp byte [edx], 0x30
jne 0x10012427
mov al, byte [edx + 1]
cmp al, 0x78
je 0x10012306
cmp al, 0x58
jne 0x10012427
movsd xmm2, qword [0x100277b8]
add edx, 2
mov al, byte [edx]
movsx ecx, al
mov dword [ebp - 0x10], edx
mov byte [ebp - 1], al
cmp ecx, dword [ebp - 0x18]
jne 0x10012331
cmp dword [ebp - 8], 0
jne 0x10012383
mov dword [ebp - 8], 1
inc edx
jmp 0x10012311
movzx eax, al
test byte [eax + 0x10026d01], 0x10
je 0x10012383
test edi, edi
jne 0x1001234c
cmp byte [ebp - 1], 0x30
jne 0x1001234c
inc dword [ebp - 0xc]
jmp 0x10012379
inc edi
cmp edi, 0x1e
jg 0x10012378
test byte [ecx + 0x10026d01], 2
je 0x10012360
add ecx, 0xffffffd0
jmp 0x10012366
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x10012379
inc esi
cmp dword [ebp - 8], 0
je 0x10012380
dec esi
inc edx
jmp 0x10012311
mov eax, dword [ebp - 0xc]
add eax, edi
je 0x10012427
mov eax, dword [ebp + 0xc]
shl esi, 2
mov dword [eax], edx
mov al, byte [edx]
cmp al, 0x70
je 0x100123a0
cmp al, 0x50
jne 0x10012401
mov al, byte [edx + 1]
inc edx
xor ecx, ecx
cmp al, 0x2d
jne 0x100123b5
mov edx, dword [ebp - 0x10]
lea edi, [ecx + 1]
add edx, 2
jmp 0x100123c1
cmp al, 0x2b
jne 0x100123bf
mov edx, dword [ebp - 0x10]
add edx, 2
xor edi, edi
mov al, byte [edx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x10026d01], 2
je 0x10012427
movsx eax, byte [ebp - 1]
lea ecx, [ecx + ecx*4]
inc edx
lea ecx, [ecx - 0x18]
lea ecx, [eax + ecx*2]
mov al, byte [edx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x10026d01], 2
jne 0x100123d2
mov eax, ecx
neg eax
test edi, edi
cmove eax, ecx
add esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
cmp dword [ebp - 0x14], 0
je 0x1001240e
xorps xmm1, xmmword [0x100277c0]
push esi
sub esp, 8
movsd qword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ldexp
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
fldz
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8