joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100139be
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
mov ecx, 0x1d94
xor edx, edx
mov dword [0x10028f80], 0x1d94
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [0x10028f84], 0x663
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
jmp 0x10013a30
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [0x10028f84], 0x1740
cmp eax, 0x104
mov ecx, dword [ebp - 0x28]
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], eax
jge 0x10013a57
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
add edx, 0xffffee53
mov esi, dword [ebp - 0x18]
cmp word [esi + eax*2], 0
mov edi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edi
jne 0x10013a09
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [0x10028f80], ecx
mov edx, dword [ebp - 0x30]
add edx, 0x92b
mov dword [0x10028f84], edx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x34], eax
jne 0x10013b45
mov eax, dword [ebp - 0x30]
add eax, 0x26e
mov dword [0x10028f84], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10013b45
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10013b45
mov dword [0x10028f84], 0x242f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10013b45
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10013b45
mov dword [0x10028f80], 0xb47
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10013b45
mov eax, 0xbb1
mov ecx, 0xffffebdf
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
mov di, word [edx + esi*2 - 0xe]
cmp di, 0x6c
sete bl
cmp di, 0x6c
mov byte [ebp - 0x35], bl
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x10013b2c
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [0x10028f80], eax
mov cl, byte [ebp - 0x35]
and cl, 1
movzx eax, cl
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001406e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10028f8c], 0
mov byte [0x10028f90], 0
mov edi, dword [0x10028f80]
mov ebx, edi
add ebx, 0xfffff94b
mov dword [0x10028f80], ebx
add edi, 0xfffff4bc
mov dword [0x10028f84], edi
mov dword [0x10028f88], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10028f80], 0x15fe
mov eax, dword [0x10028f88]
add eax, 1
mov dword [0x10028f88], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100140c9
xor eax, eax
mov ecx, 0x15fe
mov edx, dword [0x10028f84]
add edx, 0xffffe975
mov dword [0x10028f84], edx
mov dword [0x10028f88], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [0x10028f94], 0
add eax, 0xfffff092
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x28]
mov dword [0x10028f80], edi
mov edi, dword [0x10028f8c]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10028f94], esi
mov dword [0x10028f80], 0x1b9f
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x10028f8c], edx
mov dword [0x10028f84], 0x5eb
mov bl, byte [ebx + ecx]
mov byte [0x10028f90], bl
mov dword [0x10028f80], 0x2e0d
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x10028f90]
mov ecx, dword [0x10028f8c]
mov byte [esi + ecx], bl
mov ecx, dword [0x10028f80]
add ecx, 0xffffef68
mov dword [0x10028f80], ecx
mov edx, dword [0x10028f88]
add edx, 1
mov dword [0x10028f88], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
jl 0x10014122
mov dword [0x10028f80], 0x228d
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100144da
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10028f88], 0
mov dword [0x10028f8c], 0
mov dword [0x10028f98], 0
mov dword [0x10028f80], 0x9e1
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10014652
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, edx
add edi, 1
add eax, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x10028f88], edx
mov dword [0x10028f80], 0x1dd9
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10028f8c], edx
mov dword [0x10028f84], 0x1e0f
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x10028f90], cl
mov dword [0x10028f80], 0x26f3
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x10028f84], 0x1d23
mov cl, byte [0x10028f90]
mov edx, dword [0x10028f8c]
mov byte [ebx + edx], cl
mov edx, dword [0x10028f88]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10028f8c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x10028f80], 0x56a
and ecx, 0xff
mov dword [0x10028f98], ecx
mov dword [0x10028f84], 0x23da
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov byte [0x10028f9c], cl
mov dword [0x10028f80], 0x2294
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov dword [0x10028f84], 0x643
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x34], edi
je 0x10014652
mov eax, dword [0x10028f8c]
mov ecx, dword [0x10028f88]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
jmp 0x1001453d
mov dword [0x10028f84], 0x1234
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10014664
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10013c83
lea ecx, [0x1001320b]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x44], edx
mov dword [esp + 0x5c], 0x129400
mov edx, dword [0x10028f6c]
mov dword [esp + 0x58], edx
mov edx, dword [0x10028f70]
mov dword [esp + 0x38], edx
mov edx, dword [0x10028f74]
mov dword [esp + 0x74], edx
mov edx, dword [0x10028f78]
mov dword [esp + 0x4c], edx
mov dword [0x10028f84], 0x12e0
mov edx, dword [0x10028f7c]
mov dword [esp + 0x64], edx
mov dword [0x10028f80], 0xcd5
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10014711
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10014725
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x100146ee
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov dword [0x10028f84], 0x16c2
mov dword [0x10028f80], 0x84
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], edx
call fcn.100139be
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x10014796
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1001327b
mov dword [0x10028f80], 0x104
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402ca7
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.004031c0
add esp, 0x18
call fcn.00402217
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4010f0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x40332c], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebp + 4]
mov dword [0x40319f], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401121
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x40319f]
mov dword [ebp - 0x48], eax
mov eax, 0x401b7b
mov dword [ebp - 0x54], eax
mov ecx, 0x4030bd
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push 0
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor ecx, ecx
push ecx
push dword [0x40319f]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.bananas
push eax
mov eax, str.secondclass
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x403378], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403378]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4011d9
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4011cb
mov esp, ebp
ret
Function at 0x422810
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ce80
mov eax, dword fs:[0]
push eax
push ebx
push ecx
push esi
mov eax, dword [0x572088]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00422d00
mov ecx, dword [ebx + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov word [esi + 0xc], 0
mov ecx, dword [ecx]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
movups xmm0, xmmword [ecx]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [esi + 0x20], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
push 0
mov byte [esi + 0x28], 0
call fcn.00416700
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc

Function at 0x422b90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cec0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x572088]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.00422d00
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
push dword [ecx]
lea ecx, [esi + 0x10]
call fcn.004156f0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
push 0
mov byte [esi + 0x28], 0
call fcn.00416700
mov eax, esi
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 0x424170
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d098
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x572088]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x18], ecx
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__compatible__MSIE_10.0__Windows_NT_6.1__WOW64__Trident_6.0_
mov dword [ebp - 4], 0
call dword [0x524584]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x4241e0
call dword [0x524250]
push eax
push str.InternetOpenA_error_lasterror_d
push str.LoadNetString
call fcn.00423330
add esp, 0xc
xor edi, edi
jmp 0x4242fc
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
jle 0x4241f7
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00417df0
mov eax, dword [ebp + 8]
push 0
push 0x4083000
push 0
push 0
push eax
push esi
call dword [0x524590]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x424238
call dword [0x524250]
push eax
push str.InternetOpenUrlA_error_lasterror_d
push str.LoadNetString
call fcn.00423330
add esp, 0xc
push esi
call dword [0x524588]
xor edi, edi
jmp 0x4242fc
push ebx
xor edi, edi
call fcn.0047a532
mov esi, eax
add esp, 4
test esi, esi
je 0x4242bc
push ebx
push edi
push esi
call fcn.004de4f0
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x10], edi
push eax
push 0x1000
push esi
push ebx
call dword [0x52458c]
test eax, eax
je 0x4242b1
nop
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4242b1
add edi, eax
mov byte [eax + esi], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424282
mov ecx, dword [ebp - 0x18]
sub eax, edx
push eax
push esi
call fcn.00419d70
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x1000
push esi
push ebx
call dword [0x52458c]
test eax, eax
jne 0x424270
push esi
call fcn.0047a55e
add esp, 4
jmp 0x4242bf
mov ebx, dword [ebp - 0x14]
mov esi, dword [0x524588]
push ebx
call esi
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x4242d5
xor ecx, ecx
jmp 0x4242e7
push dword [eax - 8]
push eax
call fcn.004eabe4
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x424332
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x424332
push dword [ebp - 0x1c]
mov dword [eax - 0xc], ecx
mov eax, dword [ebx]
mov byte [ecx + eax], 0
call esi
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
mov dword [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42431e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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
push 0x80070057
call fcn.00401560
int3
Function at 0x43d120
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x43d169
mov al, byte [esi]
push eax
call fcn.00449040
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x43d147
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret
Function at 0x445c70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x600], 0
je 0x445cb4
push esi
push 1
push edi
call fcn.00439af0
push dword [edi + 0x594]
mov eax, dword [edi + 0x600]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.00439af0
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x445cea
push dword [edi + 0x590]
lea eax, [eax + eax*2]
push 1
add eax, 0x525b98
push 2
push eax
call fcn.004f0eca
push dword [edi + 0x590]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004f0eca
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

Function at 0x4480b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.004480f0
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.004f60e6

Function at 0x449fd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x449ff1
cmp dword [esi + 0x80], 0
je 0x449ff1
push 2
push 3
push esi
call fcn.004495e0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00449a10
add esp, 4
test esi, esi
je 0x44a014
cmp dword [esi + 0x80], 0
je 0x44a014
push 3
push esi
call fcn.00449620
add esp, 8
pop esi
pop ebp
ret
Function at 0x4569f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.004f371d
add esp, 0x18
test eax, eax
je 0x456a12
cmp eax, 0xffffffff
jne 0x456a14
xor eax, eax
pop ebp
ret

Function at 0x466920
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea eax, [ecx - 0xc8]
mov edx, dword [edi]
cmp eax, 0x64
jb 0x46694f
push str.Couldnt_set_desired_mode
push edx
call fcn.00445cf0
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ebp
ret
cmp ecx, 0xc8
je 0x466966
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push edx
call fcn.00445dd0
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0x46697d
push edi
call fcn.00466680
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x14
jne 0x466991
push edi
call fcn.004656d0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x15
jne 0x4669a5
push edi
call fcn.00466660
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x16
jne 0x4669b5
push edi
call fcn.00466800
mov esi, eax
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x479d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x479db0
push ebx
mov ebx, dword [ebp + 8]
mov cl, byte [esi + ebx]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
and dl, 2
movzx ecx, cl
cmp dl, 2
cmovb ecx, eax
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jb 0x479d72
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x479ea0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x479ecd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x479f17
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [ebp + 0x10], ebx
jmp 0x479f1d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x479f7b
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop dword [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x479f40
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x479fa7
mov eax, dword [esi + 4]
push 1
push 0x5300ee
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x5300ef
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x479f80
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4818e9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x48190d
cmp dword [esi + 8], edi
jge 0x481905
push esi
call fcn.0047e90d
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x481936
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x481919
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x481950
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x481941
xor dl, dl
jmp 0x481946
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x481938
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x481984
mov dword [0x579c20], str.zlib_corrupt
xor eax, eax
jmp 0x4819c6
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x481999
mov dword [0x579c20], str.read_past_buffer
jmp 0x481980
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x4819b0
push edi
push esi
call fcn.00483e0c
pop ecx
pop ecx
test eax, eax
je 0x481980
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004de6c0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x49c7be
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x5308f0
push dword [ebp + 8]
call fcn.004f1179
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x49c81b
push ebx
push edi
push esi
call fcn.004f83dd
push eax
call fcn.004f8511
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x49c7fa
push 0x7a
call dword [0x5242e8]
xor ebx, ebx
jmp 0x49c810
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.004f0919
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.004f0fa6
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret