joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4397d1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp 0x453cc0
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x475414], 1
jge 0x453d2f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x453d05
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x453d05
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x453ce2
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x453d1b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x453d22
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x453e1f
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x453df0
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x453de5
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x453dd9
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x453de0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x453e1f
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x453e1a
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x453e03
mov eax, dword [ebx + 8]
jmp 0x453e1f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x453e11
xor eax, eax
jmp 0x453e1f
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x453d4f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1017329d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x101732dc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101732dc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101732dc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x101732dc
cmp dword [ecx + 0x74], 0xe
jbe 0x101732dc
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10175f8d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1017602a
push ebx
push esi
call fcn.10175f56
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10175eea
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10175fd7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10176029
push edi
push eax
call fcn.10173f2d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10175ff7
call fcn.10173f7b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10176028
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10175eea
add esp, 0x20
test eax, eax
jne 0x10176016
push edi
call fcn.10173f7b
jmp 0x1017601e
push ebx
call fcn.10173f7b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10176297
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1017d948
push 0x1017d940
push str.FlsAlloc
push 0x1f
call fcn.101761b3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101762cb
push dword [ebp + 8]
mov ecx, esi
call dword [0x1017c120]
call esi
jmp 0x101762d1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10176315
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1017d958
push 0x1017d950
push str.FlsGetValue
push 0x21
call fcn.101761b3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1017634c
push dword [ebp + 8]
mov ecx, esi
call dword [0x1017c120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10176354
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1017d960
push 0x1017d958
push str.FlsSetValue
push 0x22
call fcn.101761b3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1017638e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1017c120]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1017b9c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1017b9ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1017b9ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401005
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x401010
call sub.KERNEL32.dll_AllocConsole
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
mov dword [0x404008], eax
call sub.KERNEL32.dll_GetCommandLineW
push 0x404004
push eax
call sub.SHELL32.dll_CommandLineToArgvW
mov dword [section..data], eax
mov edi, eax
xor ecx, ecx
mov eax, dword [edi]
mov ebx, eax
add edi, 4
push ecx
push eax
call sub.KERNEL32.dll_lstrlenW
push 0
push 0
push eax
push ebx
push dword [0x404008]
call sub.KERNEL32.dll_WriteConsoleW
push 0
push 0
push 2
push section..rdata
push dword [0x404008]
call sub.KERNEL32.dll_WriteConsoleA
pop ecx
inc ecx
cmp ecx, dword [0x404004]
jne 0x40103a
call sub.KERNEL32.dll_FreeConsole
push 0
call sub.KERNEL32.dll_ExitProcess
int3
Function at 0x1000ec86
Capabilities:
Hash data using djb2

Disassembly:
movzx eax, word [ecx]
mov edx, 0x1505
push esi
xor esi, esi
jmp 0x1000eca0
imul edx, edx, 0x21
movzx eax, ax
xor edx, eax
inc esi
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x1000ec93
imul eax, edx, 0x41c64e6d
imul ecx, edx, 0x10dcd
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x1000f8cb
Capabilities:
Hash data using djb2

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x1000f8d7
or eax, 0xffffffff
pop esi
ret
movzx eax, word [esi]
push ebx
push edi
mov edi, 0x1505
xor ebx, ebx
jmp 0x1000f8ff
movzx ecx, ax
add eax, 0xffffffbf
cmp ax, 0x19
lea edx, [ecx + 0x20]
cmova edx, ecx
imul edi, edi, 0x21
xor edi, edx
inc ebx
movzx eax, word [esi + ebx*2]
test ax, ax
jne 0x1000f8e5
imul eax, edi, 0x41c64e6d
imul ecx, edi, 0x10dcd
pop edi
pop ebx
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x10019029
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10019038
pop dword [ebp - 0x1c]
mov eax, 0x10019038
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xa224a958
add dword [ebp - 0x2c], 0xac2d9bf3
mov dword [ebp - 0x28], 0x9a2993ad
sub dword [ebp - 0x28], 0x67f64768
mov dword [ebp - 0x24], 0x95c19616
sub dword [ebp - 0x24], 0x497551e8
mov dword [ebp - 0x20], 0x175a4056
sub dword [ebp - 0x20], 0x175a4056
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xcbeb7b05
sub eax, 0xbbe90a09
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x1314e7f4
add dword [ebp - 0x2c], 0x615d8162
mov dword [ebp - 0x28], 0xa441ba98
sub dword [ebp - 0x28], 0x62d55923
mov dword [ebp - 0x24], 0x347d82e2
sub dword [ebp - 0x24], 0xd10e1676
mov dword [ebp - 0x20], 0xefbcc13a
sub dword [ebp - 0x20], 0xefbcc13a
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3cc12
push 0
call eax
mov ecx, 0x45af
xor esi, esi
add esi, eax
mov edi, 0xa37abbcb
add edi, 0x6c896035
add edi, dword [ebp - 0x1c]
mov edx, 0x5b90c928
sub edx, 0xecabd515
add dword [ebp - 0x14], 0x689a3935
mov ebx, dword [edi]
add dword [ebp - 4], 0xb6773082
xor ebx, edx
mov dword [ebp - 8], 0x705116f8
mov dword [esi], ebx
xor dword [ebp - 0x14], edi
add esi, 4
add edi, 4
loop 0x1001914c
add eax, 0x1098f
xor ebx, ebx
add ebx, eax
add eax, 0x4d5be4f7
sub eax, 0x4d5be4f2
mov ecx, 0x9f5d56ea
sub ecx, 0x8f5d56ea
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x49ec52
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x49ec91
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x49ec91
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x49ec91
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x49ec91
cmp dword [ecx + 0x74], 0xe
jbe 0x49ec91
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4a46b5
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4a4752
push ebx
push esi
call fcn.004a467e
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004a4612
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4a46ff
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4a4751
push edi
push eax
call fcn.004a52d2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4a471f
call fcn.004a3173
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4a4750
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004a4612
add esp, 0x20
test eax, eax
jne 0x4a473e
push edi
call fcn.004a3173
jmp 0x4a4746
push ebx
call fcn.004a3173
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4a5a4f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4f5cb0
push 0x4f5ca8
push str.FlsAlloc
push 0x1f
call fcn.004a590e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a5a83
push dword [ebp + 8]
mov ecx, esi
call dword [0x4ac130]
call esi
jmp 0x4a5a89
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4a5acd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4f5cc0
push 0x4f5cb8
push str.FlsGetValue
push 0x21
call fcn.004a590e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a5b04
push dword [ebp + 8]
mov ecx, esi
call dword [0x4ac130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4a5b0c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4f5cc8
push 0x4f5cc0
push str.FlsSetValue
push 0x22
call fcn.004a590e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a5b46
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4ac130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4aafa0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4aafcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4aafcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401e20
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdb31
mov eax, dword fs:[0]
push eax
mov eax, 0x1454
call fcn.004b6c70
mov eax, dword [0x510620]
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, edx
mov dword [ebp - 0x1458], ebx
xor eax, eax
mov dword [ebp - 0x1430], 7
mov dword [ebp - 0x1434], 0
mov word [ebp - 0x1444], ax
mov dword [ebp - 0x1428], eax
mov dword [ebp - 0x1424], eax
mov dword [ebp - 0x142c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1414], eax
lea eax, [ebp - 0x1414]
push eax
push ecx
lea ecx, [ebp - 0x1444]
call fcn.004053d0
mov edi, dword [ebp - 0x1414]
test edi, edi
jne 0x401eb6
xor esi, esi
jmp 0x401fd8
mov dword [ebp - 0x1420], edi
push 0x20
push 0x4e4d44
push ebx
call fcn.0049542d
add esp, 0xc
mov dword [ebp - 0x145c], eax
test eax, eax
jne 0x401edd
xor esi, esi
jmp 0x401fcc
xorps xmm0, xmm0
xor ebx, ebx
movq qword [ebp - 0x141c], xmm0
mov dword [ebp - method.AutoFile.virtual_0], vtable.AutoFile.0
mov dword [ebp - 0x1418], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x1414], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x1414]
push 0
push ecx
push 0x1400
lea ecx, [ebp - 0x1410]
push ecx
mov ecx, edi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x1414]
mov esi, eax
test ecx, ecx
je 0x401f58
test esi, esi
je 0x401faa
push dword [ebp - 0x145c]
lea eax, [ebp - 0x1410]
add ebx, ecx
push ecx
push 1
push eax
call fcn.00495650
mov ecx, dword [ebp - 0x1414]
add esp, 0x10
cmp eax, ecx
jb 0x40200d
test esi, esi
je 0x401faa
test ecx, ecx
jne 0x401f04
mov eax, dword [edi]
lea ecx, [ebp - 0x1454]
push ecx
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
je 0x401faa
lea eax, [ebp - 0x141c]
push eax
lea eax, [ebp - 0x1454]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x1418]
mov eax, dword [ebp - 0x141c]
test ecx, ecx
jne 0x401f9a
test eax, eax
je 0x401faa
push ecx
mov ecx, dword [ebp - 0x1458]
push eax
call fcn.00401db0
add esp, 8
push dword [ebp - 0x145c]
call fcn.00495371
add esp, 4
test esi, esi
je 0x401fc0
test ebx, ebx
jne 0x401fcc
push dword [ebp - 0x1458]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
mov ecx, edi
mov eax, dword [edi]
push 1
call dword [eax]
cmp dword [ebp - 0x1430], 8
jb 0x401fef
push dword [ebp - 0x1444]
call fcn.00494c0b
add esp, 4
mov eax, esi
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.00494c10
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x401faa
Function at 0x404610
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push 0
push edx
push eax
push 0x20000005
push dword [ecx + 0x10]
mov dword [ebp - 8], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 4

Function at 0x404790
Capabilities:
Get http response content encoding

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x408]
push 0
push eax
lea eax, [ebp - 0x404]
mov dword [ebp - 0x408], 0x400
push eax
push 0x1d
push dword [ecx + 0x10]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov esi, eax
test esi, esi
je 0x40480b
cmp word [ebp - 0x404], 0
jne 0x4047e9
xor ecx, ecx
lea eax, [ebp - 0x404]
push ecx
push eax
jmp 0x404812
lea ecx, [ebp - 0x404]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4047f2
sub ecx, edx
lea eax, [ebp - 0x404]
sar ecx, 1
push ecx
push eax
jmp 0x404812
push 0
push 0x4e4f80
mov ecx, edi
call fcn.00402710
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00494c10
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0xc], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x404b40
mov dword [eax], 0
test edi, edi
je 0x404b66
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test eax, eax
je 0x404b66
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
jne 0x404b83
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
mov ecx, 1
push esi
mov dword [ebp - 8], ecx
xor esi, esi
mov ebx, ecx
cmp esi, eax
jae 0x404bf3
test ecx, ecx
je 0x404bf3
test edi, edi
je 0x404bad
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x404bf1
mov eax, dword [ebp + 0xc]
sub eax, esi
lea ecx, [ebp - 8]
push ecx
push eax
mov eax, dword [ebp - 0xc]
add eax, esi
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 8]
mov ebx, eax
test ebx, ebx
je 0x404be4
test ecx, ecx
je 0x404be4
add esi, ecx
test edi, edi
je 0x404be4
mov eax, dword [edi]
push ecx
push esi
mov ecx, edi
call dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x404bf3
test ebx, ebx
jne 0x404b93
jmp 0x404bf3
xor ebx, ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x404bfc
mov dword [eax], esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00494c10
mov esp, ebp
pop ebp
ret 0x10
Function at 0x404ff0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cde1b
mov eax, dword fs:[0]
push eax
mov eax, 0x1420
call fcn.004b6c70
mov eax, dword [0x510620]
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 edi, ecx
mov dword [ebp - 0x142c], edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x1428], eax
test ebx, ebx
je 0x405043
mov dword [ebx], 0
test esi, esi
je 0x40505c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x40505c
mov eax, 1
jmp 0x40518a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x40508c
push 0x20
push 0x4e4d44
push dword [ebp - 0x1428]
call fcn.0049542d
add esp, 0xc
mov dword [ebp - 0x1424], eax
test eax, eax
jne 0x405093
test ebx, ebx
je 0x40508c
mov dword [ebx], eax
xor eax, eax
jmp 0x40518a
xorps xmm0, xmm0
movq qword [ebp - 0x141c], xmm0
mov dword [ebp - method.AutoFile.virtual_0], vtable.AutoFile.0
mov dword [ebp - 0x1418], eax
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x1414], 0
mov dword [ebp - 0x1420], 1
jmp 0x4050d0
test esi, esi
je 0x4050df
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test eax, eax
jne 0x40514d
mov ecx, dword [ebp - 0x142c]
lea edx, [ebp - 0x1414]
push 0
push edx
push 0x1400
mov eax, dword [ecx]
lea edx, [ebp - 0x1410]
push edx
call dword [eax + 0x24]
mov dword [ebp - 0x1420], eax
test eax, eax
je 0x405168
mov ecx, dword [ebp - 0x1414]
test ecx, ecx
je 0x40514d
add edi, ecx
test ebx, ebx
je 0x40511b
mov dword [ebx], edi
push dword [ebp - 0x1424]
lea eax, [ebp - 0x1410]
push ecx
push 1
push eax
call fcn.00495650
add esp, 0x10
test esi, esi
je 0x405144
push dword [ebp - 0x1414]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax]
cmp dword [ebp - 0x1414], 0
ja 0x4050d0
mov edi, dword [ebp - 0x1420]
test edi, edi
je 0x40516e
test esi, esi
je 0x40517a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x40517a
jmp 0x40516e
mov edi, dword [ebp - 0x1420]
push dword [ebp - 0x1428]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x1424]
call fcn.00495371
add esp, 4
mov eax, edi
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.00494c10
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4076f0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ce098
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x510620]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.004021e0
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00407620
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x407761
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.00495feb
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x40778a
push dword [esp + 0xc]
call fcn.00494c0b
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x407870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce10a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0047e012
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x407916
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.00495feb
push 0x50ce14
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.0049b30b
push edi
push esi
call fcn.0047e2be
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 4

Function at 0x408600
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x40863d
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x40863c
push eax
push edi
push 1
push dword [ebp + 8]
call fcn.00495650
add esp, 0x10
cmp eax, edi
je 0x40863c
mov eax, dword [esi]
test eax, eax
je 0x40863c
push eax
call fcn.00495371
add esp, 4
mov dword [esi], 0
pop edi
pop esi
pop ebp
ret 8