joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f7560
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x669f87
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a9a0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x6d1f90
lea edx, [ebp - 0x1c]
push edx
call fcn.0041b220
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041a9f0
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a9d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4f75f0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x669fc3
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x60]
call fcn.0041a9a0
mov dword [ebp - 4], 1
mov dword [ebp - 0x50], 0x40
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x4f765c
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push str._I64u
lea eax, [ebp - 0x60]
push eax
call fcn.0041b220
add esp, 0x10
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041a9f0
mov edx, dword [ebp - 0x54]
or edx, 1
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.0041a9d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret
Function at 0x5050fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.005060ec
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x505133
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00505154
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x50862b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x508670
call fcn.005060ec
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x508670
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x50868c
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0052752f
mov ebx, eax
test edi, edi
je 0x50868a
test esi, esi
je 0x50868a
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x515203
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x66cafd
call fcn.00636242
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00515373
and dword [ebp - 4], 0
mov dword [ebx], vtable.CHttpConnection.0
call fcn.005100ae
push eax
lea ecx, [ebx + 0x18]
call fcn.00406cf0
push dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 1
call fcn.00408930
push dword [ebx + 8]
push 0
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebx + 4], eax
test eax, eax
jne 0x515279
push eax
push dword [ebx + 8]
call fcn.0051588e
push dword [ebx + 0xc]
mov ecx, 0x75c0ac
push eax
call fcn.00516372
mov eax, ebx
call fcn.00636210
ret 0x18
Function at 0x515291
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x66cafd
call fcn.00636242
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.00515373
and dword [ebp - 4], 0
mov dword [ebx], vtable.CHttpConnection.0
call fcn.005100ae
push eax
lea ecx, [ebx + 0x18]
call fcn.00406cf0
push dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 1
call fcn.00408930
push dword [ebx + 8]
push dword [ebp + 0x10]
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [edi + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebx + 4], eax
test eax, eax
jne 0x515308
push eax
push dword [ebx + 8]
call fcn.0051588e
push dword [ebx + 0xc]
mov ecx, 0x75c0ac
push eax
call fcn.00516372
mov eax, ebx
call fcn.00636210
ret 0x1c

Function at 0x515479
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x5154a2
call fcn.005060ec
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
je 0x5154cf
push esi
push eax
mov ecx, 0x75c0ac
call fcn.00516372
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.0051588e
int3

Function at 0x5346f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0050d28d
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x53472c
call fcn.0053490f
mov dword [esi + 0xc], 1
jmp 0x534731
call fcn.0053490f
cmp dword [esi], 0
je 0x53477a
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x534754
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00508a03
jmp 0x534765
push 0xff
mov ecx, esi
call fcn.00408660
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00408770
jmp 0x53479e
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x53479e
push dword [esi]
push dword [ebp - 4]
call fcn.00527bc3
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x534864
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0053490f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x5348ac
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00508a03
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408770
jmp 0x5348b7
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00527bc3
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x547a67
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00546b2e
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00546b60
pop ecx
Function at 0x547e2e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push cs
add byte [eax], al
push 0
push dword [ebp - 0x66c]
call dword [ebp - 0x33c]
mov dword [ebp - 0x378], eax
push dword [ebp - 0x378]
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 4], eax
call fcn.00546b50
push cs
dec ebp
sbb bh, byte [ebx]
and byte [ebp - 0x6dc], 0
and byte [ebp - 0x6db], 0
mov byte [ebp - 0x6da], 0x2c
and byte [ebp - 0x6d9], 0
mov byte [ebp - 0x6d8], 0x81
mov byte [ebp - 0x6d7], 0xb6
mov byte [ebp - 0x6d6], 0xb2
mov byte [ebp - 0x6d5], 0xb7
mov byte [ebp - 0x6d4], 0x95
mov byte [ebp - 0x6d3], 0xba
mov byte [ebp - 0x6d2], 0xbf
mov byte [ebp - 0x6d1], 0xb6
mov byte [ebp - 0x6d0], 0xd3
call fcn.00546b50
pop es
add dword [ebp - 6], edi
lea eax, [ebp - 0x6dc]
push eax
call fcn.00546b60
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00546b15
add esp, 0xc
mov dword [ebp - 0x6c8], eax
push 0
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
push dword [ebp - 0x66c]
call dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], eax
push dword [ebp - 0x66c]
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je 0x548ce3
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.00546ac1
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x547f5d
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x547fa6
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x547f50
call fcn.00546b50
dec eax
xchg bl, al
xchg esi, eax
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
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
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.00546b50
pop ebx
jp 0x547fdc
clc
invalid
mov byte [ebp - 0x72b7b], cl
call dword [eax - 0x18]
pop ss
jmp 0x548047
invalid

Function at 0x5490e5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esi - 0x6a000008], ebx
push esi
mov esi, ecx
call fcn.00548f21
call fcn.00506140
cmp dword [eax + 0x14], 0
jne 0x549100
mov ecx, esi
pop esi
jmp 0x5485cd
pop esi
ret
Function at 0x5d4364
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x676bbc
call fcn.00636275
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00407b20
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x6d6884
call fcn.00407e30
cmp eax, 0xffffffff
jne 0x5d4418
push 0
push 0x6e15b0
lea ecx, [ebp - 0x4d0]
call fcn.00407e30
cmp eax, 0xffffffff
jne 0x5d4418
push 0
push 0x6d80d4
lea ecx, [ebp - 0x4d0]
call fcn.00407e30
cmp eax, 0xffffffff
jne 0x5d4418
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00407b20
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x5d43f4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00408730
jmp 0x5d4447
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00408930
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00408730
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x5d443e
mov ebx, dword [ebp - 0x4cc]
jmp 0x5d4447
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00408730
mov eax, ebx
call fcn.00636224
ret
Function at 0x646668
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.006396e3
mov dword [ebp - 0x14], eax
cmp dword [0x7609b0], esi
jne 0x64675b
push 0x800
push esi
push 0x706d00
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x6466e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x64683b
push esi
push esi
push 0x706d00
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x64683b
push 0x706d18
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x64683b
push eax
call ebx
push 0x706d24
push edi
mov dword [0x7609b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x706d34
push edi
mov dword [0x7609b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x7609b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x7609c0], eax
test eax, eax
je 0x646758
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x7609bc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x646780
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x646773
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x646795
push 4
pop eax
jmp 0x64683d
cmp dword [ebp - 0x14], esi
je 0x646795
push dword [0x7609b0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x64677a
mov eax, dword [0x7609bc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x6467f3
cmp dword [0x7609c0], edi
je 0x6467f3
push eax
call ebx
push dword [0x7609c0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x6467f3
test eax, eax
je 0x6467f3
call ecx
test eax, eax
je 0x6467e8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x6467e8
test byte [ebp - 8], 1
jne 0x6467f3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x646823
mov eax, dword [0x7609b4]
cmp eax, edi
je 0x646820
push eax
call ebx
test eax, eax
je 0x646820
call eax
mov esi, eax
test esi, esi
je 0x646820
mov eax, dword [0x7609b8]
cmp eax, edi
je 0x646820
push eax
call ebx
test eax, eax
je 0x646820
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x7609b0]
call ebx
test eax, eax
je 0x64683b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x64683d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0062dc28
mov esp, ebp
pop ebp
ret
Function at 0x10011ee0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
push esi
push edi
push 0x2c0
push str.230722_37735
call fcn.10013570
add esp, 8
cmp word [0x1001f1c2], 0
je 0x100120b8
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
push str.WININET.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov eax, dword [ebp - 0xc]
push str.InternetOpenA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible_
call dword [ebp - 8]
mov dword [ebp - 0x10], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10011f77
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov ecx, dword [ebp - 0xc]
push str.InternetOpenUrlA
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov edx, dword [ebp - 0x10]
push 0
push 0x80000100
push 0
push 0
push str.kwur9_qus_achfs__lo.hs_vyv
push edx
call dword [ebp - 8]
mov dword [ebp - 8], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov esi, dword [ebp - 8]
test esi, esi
jne 0x10011fd1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80f]
mov byte [ebp - 0x810], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [ebp - 0xc]
mov ecx, 0x200
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x810]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetReadFile
push ebx
mov dword [ebp - 4], 0
call edi
lea ecx, [ebp - 4]
lea edx, [ebp - 0x810]
push ecx
push 0x800
push edx
push esi
call eax
push str.InternetCloseHandle
push ebx
call edi
push str.FreeLibrary
push str.KERNEL32.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
call esi
mov ecx, dword [ebp - 0x10]
push ecx
call esi
lea edx, [ebp - 0x810]
push 0x1001f688
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012072
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x810]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x810]
sub ecx, edx
push ecx
push eax
push str.230722_37735
call dword [sym.imp.MSVCRT.dll_strncpy]
inc esi
push esi
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0x10
mov word [0x1001f1c0], ax
push ebx
call dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100010a9
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0x64
jge 0x100010e4
jmp 0x100012f9
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x10040240]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10001082
push eax
call fcn.1000130f
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10001082
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x40
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x10]
push eax
push 4
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10001162
push 6
call fcn.1002a8b4
add esp, 4
test eax, eax
je 0x10001204
push 0x80000301
push 0
push 0x40
push 1
mov ebx, 0x1bc
call fcn.1002aca0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000119f
push ebx
call fcn.1002a8a2
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000005
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov ebx, 0xc
mov eax, 0x1002e8f0
call fcn.1002ac00
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x40
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.1000132d
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10001204
push 6
call fcn.1002a8b4
add esp, 4
cmp dword [ebp - 8], 0
je 0x10001252
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x10]
push eax
push 4
push 0xf8
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1000123e
push 6
call fcn.1002a8b4
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jne 0x10001252
mov eax, 1
jmp 0x10001257
mov eax, 0
test eax, eax
je 0x100012f9
push 0x80000301
push 0
push 0xf8
push 1
mov ebx, 0x1bc
call fcn.1002aca0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10001294
push ebx
call fcn.1002a8a2
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000005
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov ebx, 0xc
mov eax, 0x1002e8f0
call fcn.1002ac00
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0xf8
push dword [ebp - 0x18]
push dword [ebp - 8]
call fcn.1000132d
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100012f9
push 6
call fcn.1002a8b4
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10001309
push ebx
call fcn.1002a8a2
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x10002ed6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
jmp 0x10002f06
cmp dword [ebp - 4], 0x3e8
jge 0x10002f58
call fcn.10002fc6
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10002f3f
push 6
call fcn.1002a8b4
add esp, 4
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xa
jle 0x10002f56
mov eax, 0
jmp 0x10002fc2
jmp 0x10002f06
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10002f88
push 6
call fcn.1002a8b4
add esp, 4
push dword [ebp - 4]
call fcn.1000321b
mov dword [0x1004199a], eax
push 0x1001d744
call fcn.10003333
push eax
push dword [ebp - 4]
call fcn.10003372
mov eax, 1
jmp 0x10002fc2
mov esp, ebp
pop ebp
ret