joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c210
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp edi, 0x182
jne 0x41c23d
lea eax, [ebp - 0x820]
push eax
push str.wosevir
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push esi
xor esi, esi
test edi, edi
jle 0x41c284
cmp edi, 0x2d
jne 0x41c251
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
call fcn.0041c150
xor byte [ebx + esi], al
cmp edi, 0xf
jne 0x41c27f
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
inc esi
cmp esi, edi
jl 0x41c244
pop esi
cmp edi, 0x2d
jne 0x41c29e
mov dword [0x1ef5170], 0xa62e7790
mov dword [0x1ef5174], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x41c2b0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x420dc0]
sub esp, 0x10
push ebx
mov ebx, dword [0x1ef4b08]
push edi
mov edi, dword [0x1ef4de4]
push eax
call fcn.0041c1c0
add esp, 4
cmp dword [0x1ef4de4], 0x2f
jne 0x41c30d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0041c210
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408898
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x4088b5
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4088e3
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4088be
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x4088b7
jmp 0x4088a9
cmp edx, ebx
je 0x4088fc
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x4088e3
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x66081fd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x22c
mov eax, dword [0x660870c0]
test eax, eax
je 0x66082088
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x66082010
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x220]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x66081ffc
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x660820bd
mov dword [esp + 4], 0x66085138
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x660870c0], eax
sub esp, 8
test eax, eax
jne 0x66081fed
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x66081ffe
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40288e
pop dword [ebp - 0x40]
mov eax, 0x949f0c82
add eax, 0x6ba11c0c
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x90987d5b
add dword [ebp - 0x50], 0xbdb9c7f0
mov dword [ebp - 0x4c], 0x47517e0d
add dword [ebp - 0x4c], 0xeae1ce38
mov dword [ebp - 0x48], 0xa5a46ba7
add dword [ebp - 0x48], 0xa6a7d887
mov dword [ebp - 0x44], 0x4a17d1b7
sub dword [ebp - 0x44], 0x4a17d1b7
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xded78047
sub dword [ebp - 0x50], 0x6a6516f1
mov dword [ebp - 0x4c], 0x5affa18e
sub dword [ebp - 0x4c], 0x19934019
mov dword [ebp - 0x48], 0x46cee44e
sub dword [ebp - 0x48], 0xe35f77e2
mov dword [ebp - 0x44], 0xbaaef465
sub dword [ebp - 0x44], 0xbaaef465
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x37c7b96c
sub eax, 0x37873898
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x378d6
push 0
call eax
mov ecx, 0x4bd3
mov ebx, eax
mov edx, 0x6b65201
add edx, 0xf98abdff
add edx, dword [ebp - 0x40]
mov edi, 0x35e06b8f
add edi, 0x10051c9a
sub dword [ebp - 0x18], 0xb0f69e01
mov esi, dword [edx]
xor dword [ebp - 0x2c], 0x100b04b7
sub esi, edi
mov dword [ebx], esi
add dword [ebp - 0x2c], ecx
add ebx, 0x3f3bccd5
sub ebx, 0x3f3bccd1
add edx, 0x75c21f2a
sub edx, 0x75c21f26
loop 0x4029a5
add eax, 0x1c8912ea
sub eax, 0x1c87f0cb
mov ebx, eax
add eax, 0x596c2119
sub eax, 0x596c2114
mov ecx, 0x6dad15ea
add ecx, 0x9292ea16
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x4010f1
Capabilities:
Delete directory
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push edi
push esi
cmp esi, edi
jne 0x40111c
push str.Jbga_Dmlxs_Ryxddp
push str.Likwqc_Mjs_Uigu
call sub.ole32.dll_IsEqualGUID
mov dword [ebp - 4], 0
and dword [0x40d014], eax
push 0x40d01c
call sub.USER32.dll_TranslateMessage
movsx bx, ah
mov dword [ebp - 4], 0x88
lea eax, [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_QueryPerformanceCounter
mov dword [ebp - 4], ebx
push 0x3b8
call sub.gdi32.dll_GetStockObject
not edx
mov byte [ebp - 0x10], 1
mov ebx, dword [0x40d014]
push 0x40d038
call sub.ole32.dll_RevokeDragDrop
push 0x40d03c
call sub.ole32.dll_RevokeDragDrop
add dword [ebp - 4], 0x170
mov byte [0x40d00d], ah
mov dword [0x40d004], 0xa4
mov dword [0x40d014], 0
push 0x40d01c
call sub.USER32.dll_TranslateMessage
push str.Uhgl__Kwf_Iaphqs._F
push str.Favbm_Gkreno_Oyi
call sub.ole32.dll_IsEqualGUID
mov cx, word [ebp - 0x14]
push 0x3a0
push 0x40d040
call sub.gdi32.dll_RestoreDC
mov byte [ebp - 0x10], 0xe0
neg dx
call sub.KERNEL32.DLL_GetTickCount
mov word [0x40d01a], si
neg ebx
push 0x40d044
push 0x18
push 0x40d05c
call sub.gdi32.dll_GetObjectA
mov word [ebp - 0x14], 0x18c
lea eax, [ebp - 0xc]
push eax
call sub.USER32.dll_GetCursorPos
xor edi, edx
push 0
push 0x40d060
call sub.ole32.dll_CreateBindCtx
call sub.USER32.dll_GetFocus
call sub.ole32.dll_OleFlushClipboard
add dword [ebp - 4], ecx
nop
push str.Rbejtacq._Hrr._Wgdu
call sub.KERNEL32.DLL_RemoveDirectoryW
add dx, 0x14a0
push 0
call sub.msvcrt.dll_time
pop ecx
adc dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x30]
push eax
call sub.USER32.dll_TranslateMessage
test ecx, edi
je 0x401237
mov dword [ebp - 0x34], ecx
call sub.ole32.dll_OleFlushClipboard
not cx
lea eax, [ebp - 0x4c]
push eax
push 0x18
push 0x40d064
call sub.gdi32.dll_GetObjectA
mov dword [ebp - 4], ecx
push str.Kixov._Nilpd._Njl
call sub.msvcrt.dll_remove
pop ecx
adc eax, ecx
mov byte [0x40d00e], cl
mov word [ebp - 0x50], si
or dword [ebp - 4], 1
push str.Erjad_Fvjft_Ysf
push 0x40d068
call sub.USER32.dll_LoadCursorA
and ecx, eax
push 0
call sub.msvcrt.dll_time
pop ecx
add esi, 0x214
push 1
call sub.gdi32.dll_GetStockObject
mov edx, dword [ebp - 0x34]
not ebx
call sub.ole32.dll_OleFlushClipboard
call fcn.00401005
push 0
push 0
push 8
push 0
push 0x4012c9
push 0
push 0x40d004
call sub.KERNEL32.DLL_CreateTimerQueueTimer
push 0xffffffffffffffff
call sub.KERNEL32.DLL_Sleep
bswap esi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x405322
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.00404701
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004046b6
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.004046f1
xchg esi, eax
push ss
sub byte [edi + 0x68], dl
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x4053e5
cmp dword [ebp - 0x398], 0
je 0x4055af
cmp dword [ebp + 0xc], 1
je 0x4055af
cmp dword [ebp + 0xc], 8
jne 0x405577
invalid
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
invalid

Function at 0x405b8f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
clc
invalid
call [eax - 0x3a]
test esp, esp
clc
invalid
call [esi - 0x3a]
test ebp, esp
clc
invalid
dec dword [ecx - 0x3a]
test esi, esp
clc
invalid
invalid
cmp eax, 0xffeb17e8
jmp ebp

Function at 0x406703
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x380], 0xffffffff
je 0x40673b
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x406740
jmp 0x406093
and dword [ebp - 0x37c], 0
Function at 0x4016b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
dec ecx
push 0x40
add dword [0x50c89b], edx
mov eax, 0x1000
mov bl, 0x1c
push eax
push 0x115810
add edx, dword [0x499136]
push 0
add ecx, ebx
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_VirtualAllocEx]
inc edx
mov dword [0x4c8166], edx
mov edx, esi
sub ebx, dword [0x4317bf]
dec edx
inc edx
add dword [0x4b9709], edx
mov ebx, dword [0x5079d9]
sub edx, ebp
movzx ebx, cl
sub ebx, dword [0x4e8562]
add dword [0x4bd717], edx
mov bh, 0x4c
sub ebx, edi
sub ebx, ebp
sub ebx, dword [0x4a7bf5]
add dword [0x4c9a0c], ebx
lea ebx, [ecx + edx]
xor edx, 9
dec ebx
add ebx, dword [0x43c955]
add dword [0x4fd377], ebx
lea ebx, [eax + 4]
movzx edx, cx
xor ebx, 0xffffffa3
or edx, 1
mov dword [0x4eabfb], edx
mov bh, 0x64
sub edx, edi
dec edx
dec ebx
mov dword [0x4e993f], edx
mov bl, 0x3e
movzx edx, ax
inc edx
sub ebx, ebp
mov dword [0x4c3f7a], edx
mov ebx, dword [0x4e570f]
sub ebx, dword [0x4d4111]
add ebx, esi
movsx ebx, dl
add dword [0x504dba], edx
mov ebx, dword [0x503a5c]
or ebx, 0xffffffa2
add edx, edi
imul edx, eax, 0x23
mov dword [0x5038a6], ebx
mov edx, dword [0x4866aa]
add edx, ebx
inc ebx
or ebx, 0xffffffd5
add dword [0x4c0e58], ebx
lea edx, [eax + edx]
add edx, esi
movsx ebx, cx
and edx, ebp
mov dword [0x4b9992], ebx
mov edx, eax
inc ebx
xor edx, ecx
inc edx
mov dword [0x50a9c7], ebx
lea edx, [ecx + edx]
add ebx, dword [0x48abec]
dec edx
movsx edx, cl
add dword [0x4f663c], ebx
mov ebx, dword [0x4f40e8]
sub edx, dword [0x4a446c]
inc ebx
jmp 0x4017da
inc ebx
add dword [0x504d79], ebx
mov bl, 5
sub ebx, eax
xor edx, 0x17
xor edx, 0x41
sub dword [0x4fc46b], edx
mov ebx, dword [0x4ed933]
sub edx, esi
movzx ebx, ax
sub edx, edi
sub dword [0x4d4d5d], ebx
lea ebx, [edx + eax]
sub ebx, eax
and edx, edi
inc edx
pop ebp
ret
Function at 0x401bde
Capabilities:
Encode data using xor

Disassembly:
push ebp
push eax
mov ecx, section..rdata
inc ecx
je 0x401c95
mov edx, dword [0x485a24]
dec ecx
and edx, ecx
mov edi, eax
mov esi, edi
or ebx, 0xffffffd7
mov eax, dword [ecx]
dec edx
lea eax, [eax + esi]
add dword [0x4eb7fb], ebx
cmp eax, edi
jne 0x401c39
mov edx, dword [0x4a8f5c]
add esi, 0x10
add edx, eax
add ecx, 4
movzx ebx, cx
add edx, ecx
mov eax, dword [ecx]
add dword [0x4cccbb], ebx
mov edx, dword [0x4d89cf]
lea eax, [eax + esi]
jmp 0x401c08
sub ebx, dword [0x4c3803]
push ecx
mov ecx, dword [ecx]
imul edx, ebx, 0x5c
test ecx, ecx
je 0x401c70
add ebx, ebp
mov dword [0x4e803d], ebx
lea ebx, [edx + ecx]
dec ebx
and ebx, edi
dec ebx
repne movsb byte es:[edi], byte [esi]
add dword [0x4c756d], edx
mov edx, dword [0x4888b9]
pop ecx
jmp 0x401c10
inc ebx
pop ecx
movzx ebx, al
add edx, ecx
mov dword [0x4c5748], edx
sub esi, edi
mov ebx, dword [0x44cfac]
mov byte [edi], 0
inc edi
xor ebx, 0xffffffb7
add edx, edi
dec esi
jne 0x401c7f
pop eax
pop ebp
ret
Function at 0x1004a200
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1004a3ed
pushal
mov esi, section.UPX1
lea edi, [esi - 0x33000]
push edi
or ebp, 0xffffffff
jmp 0x1004a22a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1004a231
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1004a220
mov eax, 1
add ebx, ebx
jne 0x1004a243
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1004a254
jne 0x1004a273
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1004a273
dec eax
add ebx, ebx
jne 0x1004a260
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1004a238
add ebx, ebx
jne 0x1004a26f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1004a2c5
xor ecx, ecx
sub eax, 3
jb 0x1004a28b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1004a2fa
sar eax, 1
mov ebp, eax
jmp 0x1004a296
add ebx, ebx
jne 0x1004a296
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1004a264
inc ecx
add ebx, ebx
jne 0x1004a2a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1004a264
add ebx, ebx
jne 0x1004a2b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1004a2a6
jne 0x1004a2c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1004a2a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1004a2e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1004a2d6
jmp 0x1004a226
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1004a2e4
add edi, ecx
jmp 0x1004a226
pop esi
mov edi, esi
mov ecx, 0x786
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1004a302
cmp byte [edi], 0x11
jne 0x1004a302
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1004a307
lea edi, [esi + 0x46000]
mov eax, dword [edi]
or eax, eax
je 0x1004a37f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4a1dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4a270]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1004a334
mov ecx, edi
jns 0x1004a363
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4a274]
or eax, eax
je 0x1004a379
mov dword [ebx], eax
add ebx, 4
jmp 0x1004a351
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1004a3b0
cmp al, 0xef
ja 0x1004a3a3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1004a385
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1004a392
mov ebp, dword [esi + 0x4a278]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1004a3e4
sub esp, 0xffffff80
jmp 0x1000fef6
Function at 0xf17ff0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xa12000
lea edi, [esi - 0x7c1000]
push edi
or ebp, 0xffffffff
jmp 0xf18012
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xf18019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf18008
mov eax, 1
add ebx, ebx
jne 0xf1802b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xf1803c
jne 0xf1805b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf1805b
dec eax
add ebx, ebx
jne 0xf18048
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xf18020
add ebx, ebx
jne 0xf18057
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xf180ad
xor ecx, ecx
sub eax, 3
jb 0xf18073
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xf180e2
sar eax, 1
mov ebp, eax
jmp 0xf1807e
add ebx, ebx
jne 0xf1807e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf1804c
inc ecx
add ebx, ebx
jne 0xf1808c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf1804c
add ebx, ebx
jne 0xf18099
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xf1808e
jne 0xf180aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xf1808e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xf180cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xf180be
jmp 0xf1800e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xf180cc
add edi, ecx
jmp 0xf1800e
pop esi
mov edi, esi
mov ecx, 0x6899
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xf180ea
cmp byte [edi], 0xa
jne 0xf180ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xf180ef
lea edi, [esi + 0xb0e000]
mov eax, dword [edi]
or eax, eax
je 0xf18167
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb1ce10]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb1cf50]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xf1811c
mov ecx, edi
jns 0xf1814b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb1cf54]
or eax, eax
je 0xf18161
mov dword [ebx], eax
add ebx, 4
jmp 0xf18139
call dword [esi + 0xb1cf64]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xf18198
cmp al, 0xef
ja 0xf1818b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xf1816d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xf1817a
mov ebp, dword [esi + 0xb1cf58]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xf181cc
sub esp, 0xffffff80
jmp 0x4a8b23
Function at 0x10001220
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100045f0
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x10008004]
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, edx
mov esi, ecx
push 0
push 0
push 0
push 1
push str.User_Agent
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
je 0x100013a0
cmp dword [esi + 0x14], 0x10
jb 0x10001277
mov esi, dword [esi]
push 0
push 0x400100
push 0
push 0
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x10001399
push 0xb0
lea eax, [ebp - 0x4c4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x100012b2
mov edi, dword [edi]
sub esp, 0xc
lea ecx, [ebp - 0x4c4]
push edi
call fcn.10002d90
mov eax, dword [ebp - 0x4c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x4c8], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x474], 0
je 0x10001387
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x414]
push eax
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], 0
push eax
push esi
call edi
test eax, eax
je 0x10001360
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x10001360
push 0
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x4c4]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
lea eax, [ebp - 0x414]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push esi
call edi
test eax, eax
jne 0x10001326
lea ecx, [ebp - 0x4c0]
call fcn.10002d10
test eax, eax
jne 0x10001387
push eax
mov eax, dword [ebp - 0x4c4]
lea ecx, [ebp - 0x4c4]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x4c4]
call fcn.100013c0
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
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.100037cd
mov esp, ebp
pop ebp
ret