joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d206
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100070de
and dword [ebp - 4], 0
cmp dword [0x10025d84], 0
mov ebx, eax
jne 0x1000d2b7
push str.USER32.DLL
call dword [0x10010008]
mov edi, eax
test edi, edi
je 0x1000d368
mov esi, dword [0x10010004]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000d368
push eax
call fcn.1000706c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10025d84], eax
call esi
push eax
call fcn.1000706c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10025d88], eax
call esi
push eax
call fcn.1000706c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10025d8c], eax
call esi
push eax
call fcn.1000706c
pop ecx
mov dword [0x10025d94], eax
test eax, eax
je 0x1000d2b7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000706c
pop ecx
mov dword [0x10025d90], eax
mov eax, dword [0x10025d90]
cmp eax, ebx
je 0x1000d30f
cmp dword [0x10025d94], ebx
je 0x1000d30f
push eax
call fcn.100070e7
push dword [0x10025d94]
mov esi, eax
call fcn.100070e7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000d30f
test edi, edi
je 0x1000d30f
call esi
test eax, eax
je 0x1000d306
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000d306
test byte [ebp - 0xc], 1
jne 0x1000d30f
or dword [ebp + 0x10], 0x200000
jmp 0x1000d348
mov eax, dword [0x10025d88]
cmp eax, ebx
je 0x1000d348
push eax
call fcn.100070e7
pop ecx
test eax, eax
je 0x1000d348
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000d348
mov eax, dword [0x10025d8c]
cmp eax, ebx
je 0x1000d348
push eax
call fcn.100070e7
pop ecx
test eax, eax
je 0x1000d348
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10025d84]
call fcn.100070e7
pop ecx
test eax, eax
je 0x1000d368
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000d36a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40d7cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40d7de
pop dword [ebp - 0x20]
mov eax, 0x241f44ea
add eax, 0xdc2192f4
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x33627
push 0
mov eax, 0xfae54749
sub eax, 0xfaa46671
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x30af
xor edi, edi
add edi, eax
mov edx, 0x413bc4
add edx, dword [ebp - 0x20]
mov esi, 0x342609f4
sub dword [ebp - 0xc], eax
mov ebx, dword [edx]
add dword [ebp - 0x10], edi
xor ebx, esi
add dword [ebp - 0x10], edx
mov dword [edi], ebx
mov dword [ebp - 0x14], 0xd6ee4787
add edi, 0xa82e832
add edi, 0xf57d17d2
add edx, 0x54b375ee
add edx, 0xab4c8a16
loop 0x40d82d
add eax, 0x88423a4c
add eax, 0x77be7b43
mov ebx, eax
add eax, 0x7d720d61
add eax, 0x828df2a4
mov ecx, 0x1d825834
sub ecx, 0x1d425834
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x1002a200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e8858
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101480b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.Entered_ADALGetPasswordChangeUrl
push 0
mov dword [ebp - 4], 0
call fcn.10045e40
add esp, 8
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push dword [ebp + 8]
call fcn.10079f10
mov edi, eax
add esp, 4
lea eax, [ebp - 0x14]
mov ecx, dword [edi]
push eax
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x100f9528]
mov ecx, edi
call esi
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
push eax
call fcn.10079f10
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1002a2a7
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100f9528]
mov ecx, edi
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1002e380
Capabilities:
Hash data using fnv
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x101480b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0x102
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x214], eax
mov dword [eax], 1
je 0x1002e4b4
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push 0x10
mov dword [ebp - 0x208], ebx
mov esi, ebx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1002e3d7
or ebx, 0x10000
mov dword [ebp - 0x208], ebx
mov esi, ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1002e3f4
mov ebx, esi
or ebx, 0x20000
mov dword [ebp - 0x208], ebx
mov esi, ebx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1002e40f
mov ebx, esi
or ebx, 0x40000
mov dword [ebp - 0x208], ebx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1015084c]
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101512c8]
cmp eax, dword [ecx + 4]
jg 0x1002e4c6
movzx eax, bl
xor eax, 0x811c9dc5
mov edx, dword [0x101512ac]
imul ecx, eax, 0x1000193
movzx eax, bh
xor ecx, eax
movzx eax, byte [ebp - 0x206]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x205]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul esi, ecx, 0x1000193
mov ecx, dword [0x101512b4]
and esi, dword [0x101512c0]
mov edi, dword [ecx + esi*8]
mov eax, edi
nop
cmp edi, edx
jne 0x1002e488
mov ecx, edx
jmp 0x1002e48e
mov ecx, dword [ecx + esi*8 + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1002e4b1
cmp dword [eax + 8], ebx
je 0x1002e4a1
mov eax, dword [eax]
mov ecx, dword [0x101512b4]
jmp 0x1002e480
cmp eax, edx
je 0x1002e4b1
mov eax, dword [ebp - 0x214]
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100055f3
mov esp, ebp
pop ebp
ret 0x20
push 0x101512c8
call fcn.10079f10
add esp, 4
cmp dword [0x101512c8], 0xffffffff
jne 0x1002e430
mov ecx, 0x80
mov dword [0x101512a8], 0
mov esi, 0x10104158
mov dword [0x101512ac], 0
lea edi, [ebp - 0x204]
mov dword [0x101512b0], 0
rep movsd dword es:[edi], dword [esi]
push 0
push 0
mov ecx, 0x101512ac
call fcn.10079f10
push 8
mov ecx, 0x101512a8
mov dword [0x101512ac], eax
mov dword [0x101512b4], 0
mov dword [0x101512b8], 0
mov dword [0x101512bc], 0
mov dword [0x101512a8], 0x3f800000
call fcn.10079f10
lea edi, [ebp - 0x204]
jmp 0x1002e560
mov eax, dword [0x101512ac]
mov ecx, 0x101512ac
push edi
mov esi, dword [eax]
mov eax, dword [esi + 4]
push eax
push esi
mov dword [ebp - 0x20c], eax
call fcn.10079f10
mov edx, dword [0x101512b0]
mov ecx, 0x15555554
sub ecx, edx
mov dword [ebp - 0x210], eax
cmp ecx, 1
jb 0x1002e5f0
mov ecx, dword [ebp - 0x210]
inc edx
mov dword [0x101512b0], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x20c]
mov dword [eax], ecx
mov ecx, 0x101512a8
mov eax, dword [0x101512ac]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10079f10
add edi, 4
lea eax, [ebp - 4]
cmp edi, eax
jne 0x1002e560
push 0x100f7640
call fcn.10079f10
push 0x101512c8
call fcn.10079f10
add esp, 8
jmp 0x1002e430
push str.list_T__too_long
call fcn.10079f10
int3
Function at 0x10079f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10079f1f
pop dword [ebp - 0x50]
mov eax, 0x923c6d05
sub eax, 0x8234cde6
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x8027f
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xa322a841
add ecx, 0x5cdd9eff
xor esi, esi
add esi, eax
mov edi, 0x2ccc4906
add edi, 0xe34ad8fa
add edi, dword [ebp - 0x50]
mov ebx, 0xe6c90b16
sub dword [ebp - 0x44], 0xea97b679
mov edx, dword [edi]
mov dword [ebp - 0x18], 0x6e26077f
add edx, ebx
xor dword [ebp - 0x48], esi
mov dword [esi], edx
xor dword [ebp - 0x20], ebx
add esi, 4
add edi, 4
loop 0x10079f75
add eax, 0x10fd3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xd1db1fb4
sub ecx, 0xc1db1fb4
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x100a2590
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 0x30]
mov ecx, esi
call fcn.1004a300
movzx edi, al
mov ecx, esi
neg edi
sbb edi, edi
and edi, 0x800000
call fcn.1004a300
test al, al
je 0x100a25d8
mov eax, dword [ebx]
push 0x800
push 0x54
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x100f9528]
mov ecx, ebx
call esi
lea esi, [ebx + 0x30]
push 0xd
mov ecx, ebx
call fcn.10079f10
cmp dword [ebx + 0x40], 0
je 0x100a2640
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.10079f10
push edi
push 0
push 0
push 0
push dword [eax]
push dword [ebx + 0x10]
push dword [ebx + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x44], eax
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x100a2631
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100f9528]
mov ecx, edi
call esi
cmp dword [ebx + 0x44], 0
je 0x100a2647
push 0xe
mov ecx, ebx
call fcn.10079f10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x10]
call fcn.10079f10
push 0x101302d0
lea eax, [ebp - 0x10]
push eax
call fcn.10079f10
int3
Function at 0x100a29b0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f3ec9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x101480b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
call fcn.10002710
mov edi, eax
test edi, edi
je 0x100a2afe
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100f9528]
mov ecx, edi
call esi
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp - 0x14], 1
push dword [ebp + 0xc]
push dword [ebx + 0x44]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100a2ae8
mov esi, dword [ebp - 0x10]
cmp esi, 0xa00000
ja 0x100a2b08
shr esi, 1
sub esi, 1
js 0x100a2b23
mov eax, dword [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or ecx, eax
jge 0x100a2a80
push esi
mov ecx, edi
call fcn.10079f10
mov ecx, dword [edi]
cmp esi, dword [ecx - 8]
jg 0x100a2b23
mov dword [ecx - 0xc], esi
xor edx, edx
mov eax, dword [edi]
push edx
mov word [eax + esi*2], dx
lea eax, [ebp - 0x10]
push eax
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebx + 0x44]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ecx, dword [edi]
mov esi, eax
test ecx, ecx
je 0x100a2ac5
push dword [ecx - 8]
push ecx
call fcn.10079f10
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x100a2b23
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x100a2b23
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
test esi, esi
jne 0x100a2ae8
push esi
push 0x100fb314
mov ecx, edi
call fcn.10079f10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.10079f10
push 0xcaa10024
lea ecx, [ebp - 0x20]
call fcn.10079f10
push 0x10134a50
lea eax, [ebp - 0x20]
push eax
call fcn.10079f10
push 0x80070057
call fcn.10079f10
int3
Function at 0x100a2b30
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f3ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x101480b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebx + 0x18]
lea esi, [ebx + 0x14]
sub edi, dword [esi]
mov eax, dword [ebp + 8]
add eax, edi
cmp eax, 0xa00000
jg 0x100a2bca
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push ecx
push esi
push eax
mov ecx, esi
call fcn.10079f10
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 8]
add eax, edi
mov dword [ebp - 0x14], 0
push eax
push dword [ebx + 0x44]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x100a2be5
mov eax, dword [ebp - 0x14]
mov ecx, esi
push esi
add eax, edi
push eax
call fcn.10079f10
push 0xa
mov ecx, ebx
call fcn.10079f10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xcaa10024
lea ecx, [ebp - 0x24]
call fcn.10079f10
push 0x10134a50
lea eax, [ebp - 0x24]
push eax
call fcn.10079f10
push 0x100fb314
lea ecx, [ebp - 0x18]
call fcn.10079f10
mov esi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x38]
call fcn.10079f10
push 0x101358ac
lea eax, [ebp - 0x38]
push eax
call fcn.10079f10
int3
Function at 0x100a3050
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f3f88
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x101480b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x30]
mov dword [ebx + 4], ebx
call fcn.1004a500
test eax, eax
jne 0x100a308d
xor edi, edi
jmp 0x100a3097
lea ecx, [ebx + 0x30]
call fcn.1004a500
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x30]
call fcn.10079f10
mov esi, dword [eax]
mov ecx, 0x1015146c
movzx eax, byte [ebx + 0x3d]
push eax
mov dword [ebp - 4], 0
call fcn.10079f10
push 0
push 0
push 3
push 0
push 0
push edi
push esi
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x48], eax
add ecx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x100a30ff
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100f9528]
mov ecx, edi
call esi
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x100a3132
push 0x100a38e0
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp eax, 0xffffffff
je 0x100a3166
push 2
mov ecx, ebx
call fcn.10079f10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100fb314
lea ecx, [ebp - 0x10]
call fcn.10079f10
mov esi, eax
mov dword [ebp - 4], 1
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.10079f10
push 0x101358ac
lea eax, [ebp - 0x28]
push eax
call fcn.10079f10
push 0x100fb314
lea ecx, [ebp - 0x14]
call fcn.10079f10
mov esi, eax
mov dword [ebp - 4], 2
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x3c]
call fcn.10079f10
push 0x101358ac
lea eax, [ebp - 0x3c]
push eax
call fcn.10079f10
int3
Function at 0x100a3480
Capabilities:
Query remote server for available data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f3e88
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x101480b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [esi + 0x4c]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x100a34d1
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x100a3501
mov edx, dword [esi + 0x18]
sub edx, dword [esi + 0x14]
mov eax, dword [ebp - 0x10]
lea ecx, [edx + eax]
cmp ecx, eax
jb 0x100a3550
cmp ecx, edx
jb 0x100a3550
test eax, eax
je 0x100a34f1
cmp ecx, 0xa00000
ja 0x100a3535
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x100fb314
lea ecx, [ebp - 0x14]
call fcn.10079f10
mov esi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.10079f10
push 0x101358ac
lea eax, [ebp - 0x34]
push eax
call fcn.10079f10
push 0xcaa10024
lea ecx, [ebp - 0x20]
call fcn.10079f10
push 0x10134a50
lea eax, [ebp - 0x20]
push eax
call fcn.10079f10
push 0xcaa82f9b
lea ecx, [ebp - 0x2c]
call fcn.10079f10
push 0x10134a50
lea eax, [ebp - 0x2c]
push eax
call fcn.10079f10
int3

Function at 0x100a36f0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f3fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x101480b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebx + 0x18]
lea esi, [ebx + 0x14]
sub edi, dword [esi]
mov ecx, dword [ebp + 8]
lea eax, [edi + ecx]
cmp eax, edi
jl 0x100a3791
cmp eax, ecx
jl 0x100a3791
cmp eax, 0xa00000
jg 0x100a3798
push esi
push eax
mov ecx, esi
call fcn.10079f10
mov eax, dword [esi]
lea ecx, [ebx + 0x40]
push ecx
push dword [ebp + 8]
add eax, edi
push eax
push dword [ebx + 0x4c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x100a3766
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x100a37b3
mov eax, dword [ebx + 0x40]
mov ecx, esi
push esi
add eax, edi
push eax
call fcn.10079f10
push 0xa
mov ecx, ebx
call fcn.10079f10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xcaa82f9c
jmp 0x100a379d
push 0xcaa10024
lea ecx, [ebp - 0x1c]
call fcn.10079f10
push 0x10134a50
lea eax, [ebp - 0x1c]
push eax
call fcn.10079f10
push 0x100fb314
lea ecx, [ebp - 0x10]
call fcn.10079f10
mov esi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x30]
call fcn.10079f10
push 0x101358ac
lea eax, [ebp - 0x30]
push eax
call fcn.10079f10
int3
Function at 0x45fa6e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [ebx]
push 2
pop edx
mov esi, dword [ecx + edi]
lea eax, [ecx + 4]
mov dword [ebx], eax
xor ecx, ecx
mov dword [ebp + 8], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420f36
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
mov edi, eax
push esi
push ecx
push edi
call fcn.00420fc0
add dword [ebx], esi
xor eax, eax
mov ecx, dword [ebp + 8]
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0x45fac9
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x45fac0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4688f5
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4c6530], ecx
inc esi
mov ecx, 0x4c6530
mov edx, esi
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
imul eax, eax, 0x6c078965
add eax, edx
inc edx
mov dword [ecx + 4], eax
add ecx, 4
cmp ecx, 0x4c6eec
jl 0x468906
mov dword [0x4c3190], esi
mov dword [0x4c6518], esi
pop esi
ret

Function at 0x468932
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4c6518], 0
push esi
push edi
mov esi, 0x4c6530
jne 0x468951
push 0
call fcn.0042537a
pop ecx
mov ecx, eax
call fcn.004688f5
mov dword [0x4c3190], 0x270
mov edi, 0xe3
mov dword [0x4c6ef0], esi
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi], eax
mov esi, edx
dec edi
jne 0x468966
mov edi, 0x18c
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, ecx
mov dword [esi], eax
lea esi, [edx]
dec edi
jne 0x46899b
mov ecx, dword [0x4c6530]
mov al, cl
and al, 1
movzx edx, al
mov eax, dword [esi]
neg edx
pop edi
sbb edx, edx
xor eax, ecx
and eax, 0x7ffffffe
and edx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, edx
mov dword [esi], eax
pop esi
ret

Function at 0x468e3a
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 0x468e5f
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.00420fc0
add esp, 0xc
jmp 0x468e72
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.00425752
add esp, 0x10
movzx ecx, byte [ebp - 4]
movzx eax, byte [ebp - 3]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, eax
mov byte [ebp - 4], 0
movzx eax, byte [ebp - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
push 0x4b886c
mov dword [eax], ecx
lea eax, [ebp - 8]
push eax
call fcn.00425800
neg eax
pop ecx
pop ecx
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x468f48
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x10000
mov eax, dword [esi + 0x460]
test eax, eax
je 0x468f5e
cmp eax, ecx
jne 0x468f79
push dword [esi + 0x1c]
push ecx
push 1
push dword [esi + 0x458]
call fcn.00425752
add esp, 0x10
and dword [esi + 0x460], 0
mov ecx, dword [esi + 0x460]
mov eax, dword [esi + 0x458]
mov al, byte [ecx + eax]
inc ecx
mov dword [esi + 0x460], ecx
pop esi
ret

Function at 0x468f91
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x45c]
mov esi, dword [edi + 0x454]
mov byte [esi + edx], al
mov eax, 0x10000
inc dword [edi + 0x45c]
cmp dword [edi + 0x45c], eax
jne 0x468fd8
push dword [edi + 0x20]
push eax
push 1
push dword [edi + 0x454]
call fcn.004249d3
add esp, 0x10
and dword [edi + 0x45c], 0
pop edi
pop esi
pop ebp
ret 4

Function at 0x468fde
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x45c]
test eax, eax
je 0x469006
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x454]
call fcn.004249d3
add esp, 0x10
and dword [esi + 0x45c], 0
pop esi
ret

Function at 0x4691b2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
lea ecx, [ebp - 0xdc]
push esi
push edi
call fcn.00469008
push dword [ebp + 0x10]
lea ecx, [ebp - 0xdc]
call fcn.0046904e
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x4691f6
mov edi, dword [ebp + 8]
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.00469186
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x4691e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4717c4
Capabilities:
Encode data using xor

Disassembly:
dec edx
mov esp, 0x8438698
and byte [esi - 0x67], ch
enter 0x1919, 0x52
jns 0x4717f7
arpl word [0xffc18ff6], dx
add byte [edi + 0xff101f], cl
push eax
cli
out 0xc3, eax
frstor dword [ebx - 0x3f]
sahf
pop ss
aam 0xad
dec edi
add dword [eax - 0x51], edi
push edi
clc
mov dword [ebp + edi + 0x618f86dd], esp
jecxz 0x471846
sar edi, 0
invalid
invalid
cwde
cld
xchg ebx, eax
jns 0x471869
sbb al, 0xf1
sbb dh, bl
or ecx, dword [eax - 0x7d9a194d]
cmpsb byte [esi], byte es:[edi]
loopne 0x4717d7
shl al, 0x7e
inc ebx
clc
pop ecx
xor eax, 0xb5501b6d
jge 0x471874
retf
out 0x14, al
sahf
pop ebx
invalid
in al, 0x37
dec esp
or ebp, dword [ecx + 0x56]
rol dword [eax - 0x608e345d], cl
clc
int1
js 0x47181f
pop esi
lodsb al, byte [esi]
aaa
xor byte [eax], bl
push edi
fcom dword [ebp - 0x5b]
sbb edi, dword [ebp - 0x62]
enter 0x75ba, 0x2f
mov bl, 0xf5
pushfd
clc
invalid
pop ebx
invalid

Function at 0x47c6d7
Capabilities:
Encode data using xor

Disassembly:
dec ecx
popal
xchg ebx, eax
xchg dword [ebx - 0x2c], esp
arpl word [edi + 0x2f28c21f], si
test eax, eax
or al, 0x72
inc edx
push es
add eax, dword [eax + edx*2 - 0x671ac1]
add byte [eax - 3], ch
sub dword [edx - 0x7646beba], eax
pop edi
stc
imul esi, edx, 0xe340f701
adc eax, esp
std
sal esp, 1
xor al, 0x3c
stosd dword es:[edi], eax
cmp al, byte [edx + 0x61c44d16]
invalid