joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4431b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
push 0xd
call fcn.004b383b
mov esi, eax
add esp, 4
test esi, esi
je 0x4431fd
lea ecx, [esp + 4]
push ecx
push 0x40
mov eax, 0x4458f0
sub eax, esi
push 0xd
sub eax, 0xd
push esi
mov dword [esi], 0x42444c7
mov dword [esi + 4], edi
mov byte [esi + 8], 0xe9
mov dword [esi + 9], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [edi + 0x118], esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [edi + 0x118], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x448500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e04f0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x504f68]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
push 0x4f2218
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0045fc40
xor esi, esi
mov dword [esp + 0x80], esi
mov eax, dword [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp eax, dword [esp + 0x34]
je 0x448663
mov edx, dword [ebp + 8]
add edx, 0x11c
mov dword [esp + 0x20], edx
mov edi, 0x4f08c0
jmp 0x448576
mov ebx, dword [esp + 0x14]
xor esi, esi
mov eax, dword [0x50e150]
mov edx, dword [eax + 0xc]
mov ecx, 0x50e150
mov dword [esp + 0x38], 0x4f2220
call edx
add eax, 0x10
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x38], 0x4f2228
mov byte [esp + 0x80], 1
mov eax, dword [ebx + 4]
neg eax
sbb eax, eax
test eax, fcn.0042ce20
je 0x4485e4
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
jmp 0x4485e6
mov eax, ebx
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x108]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
call fcn.004481e0
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x38]
push edx
call fcn.00448cf0
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0x4f2220
mov dword [esp + 0x54], edi
mov dword [esp + 0x40], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44864a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x34]
jne 0x448570
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
cmp eax, ecx
je 0x448680
push eax
call dword [fcn.0050d140]
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x458d10
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x458d2f
mov dword [edi + 8], ebx
mov dword [edi], 1
mov dword [edi + 4], ebx
mov eax, edi
pop esi
pop ebp
pop ebx
pop ecx
ret
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], ebx
call fcn.00458cb0
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x458d5e
push esi
call fcn.004b79aa
add esp, 4
mov dword [edi + 8], ebx
mov dword [edi], ebp
mov dword [edi + 4], ebx
mov eax, edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ebp, dword [esp + 0xc]
mov eax, ebp
cmp ebp, ebx
ja 0x458d6d
mov eax, 1
push eax
call dword [fcn.0050d13c]
add esp, 4
mov ebx, eax
push esi
test ebx, ebx
jne 0x458d9b
call fcn.004b79aa
add esp, 4
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi], 3
mov eax, edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push ebp
push 1
push ebx
call fcn.004b8862
push esi
mov dword [esp + 0x20], eax
call fcn.004b79aa
add esp, 0x14
cmp dword [esp + 0xc], ebp
je 0x458dd6
push ebx
call dword [fcn.0050d140]
add esp, 4
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi], 2
mov eax, edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x14]
push 1
push 1
push ebx
push edi
push ecx
mov eax, ebp
call fcn.00459660
pop esi
pop ebp
mov eax, edi
pop ebx
pop ecx
ret

Function at 0x45ad50
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, word [edx]
xor eax, eax
test cx, cx
je 0x45ad7d
lea ebx, [ebx]
movzx ecx, cx
add eax, ecx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
add edx, 2
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x45ad60
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x467680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4de2b8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
mov eax, dword [0x504f68]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x84]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 4]
mov esi, dword [edi + 0x14]
sub eax, 2
mov ebx, 1
cmp esi, eax
ja 0x4676e9
cmp dword [edi + 0x18], eax
je 0x4676e9
push ebx
push eax
mov ecx, edi
call fcn.004071b0
test al, al
je 0x4676e9
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], esi
jb 0x4676e2
mov eax, dword [edi + 4]
jmp 0x4676e5
lea eax, [edi + 4]
mov byte [eax + esi], 0
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
sub ecx, ebx
add esi, ebx
mov dword [esp + 0x10], ecx
cmp esi, ecx
je 0x4678cd
jmp 0x467705
mov ecx, dword [esp + 0x10]
mov al, byte [esi]
add esi, ebx
mov byte [esp + 0x18], al
cmp al, 0x22
je 0x4678cd
cmp al, 0x5c
jne 0x467803
cmp esi, ecx
je 0x46781f
mov al, byte [esi]
movsx eax, al
add esi, ebx
add eax, 0xffffffde
mov dword [esp + 0x84], esi
cmp eax, 0x53
ja case.0x467746.35
movzx eax, byte [eax + 0x46790c]
jmp dword [eax*4 + 0x4678e4]
push 0x22
jmp 0x467808
push 0x2f
jmp 0x467808
push 0x5c
jmp 0x467808
push 8
jmp 0x467808
push 0xc
jmp 0x467808
push 0xa
jmp 0x467808
push 0xd
jmp 0x467808
push 9
jmp 0x467808
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x14]
push edx
push ecx
push eax
lea ecx, [esp + 0x90]
mov edx, ebp
call fcn.00467960
test al, al
je 0x46785c
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x38]
call fcn.00465e40
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov dword [esp + 0x84], ebx
call fcn.0046b560
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x50], 0x10
jb 0x4677e5
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004b3716
add esp, 4
mov esi, dword [esp + 0x84]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
jmp 0x467810
mov edx, dword [esp + 0x18]
push edx
push ebx
mov ecx, edi
call fcn.00416810
cmp esi, dword [esp + 0x10]
jne 0x467701
jmp 0x4678cd
push str.Empty_escape_sequence_in_string
lea ecx, [esp + 0x58]
call fcn.00406cb0
mov eax, dword [esp + 0x80]
push ebp
push eax
mov edx, esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x80], 0
call fcn.00467c10
cmp dword [esp + 0x6c], 0x10
mov bl, al
jb 0x4678cd
mov ecx, dword [esp + 0x58]
push ecx
jmp 0x4678c5
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8
push 0x1d
push str.Bad_escape_sequence_in_string
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00407040
mov edx, dword [esp + 0x80]
push ebp
push edx
mov edx, esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x80], 2
call fcn.00467c10
cmp dword [esp + 0x34], 0x10
mov bl, al
jb 0x4678cd
mov eax, dword [esp + 0x20]
push eax
call fcn.004b3716
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8
Function at 0x46f3d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4da3f0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x504f68]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
xor edi, edi
cmp eax, edi
je 0x46f584
cmp dword [eax + 0x14], edi
je 0x46f584
cmp dword [ebp + 0xc], edi
jle 0x46f444
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp dword [esi + 0x30], 0
mov ebx, eax
jbe 0x46f442
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
mov ecx, dword [ebp + 0xc]
sub eax, ebx
sub ecx, eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
jg 0x46f420
xor edi, edi
mov eax, dword [esi + 0x34]
mov edx, dword [eax + 4]
lea ebx, [esi + 0x34]
mov ecx, ebx
mov dword [esp + 0x18], ebx
call edx
mov dword [esp + 0x50], edi
mov eax, dword [esi + 0x2c]
mov eax, dword [eax]
lea edi, [esi + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
jmp 0x46f470
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x28], ecx
mov ecx, dword [edi]
test eax, eax
je 0x46f481
cmp eax, ecx
je 0x46f48a
call fcn.004b3c6c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x20], edx
je 0x46f531
test eax, eax
jne 0x46f52a
call fcn.004b3c6c
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x18]
jne 0x46f4b5
call fcn.004b3c6c
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0x471060
lea ebx, [esp + 0x34]
mov dword [esp + 0x1c], eax
call fcn.00470730
add esp, 8
mov byte [esp + 0x50], 1
mov edx, dword [esi + 0xc]
mov esi, dword [edx + 0x10]
push eax
call fcn.0048e6f0
push eax
push 0x2c
push str..HttpThread.cpp
push str.HttpThread::Shutdown
lea ecx, [esp + 0x48]
call fcn.0048e6d0
push eax
mov ecx, esi
call fcn.0048cf40
mov ecx, ebx
mov byte [esp + 0x50], 0
call fcn.0048e610
lea esi, [esp + 0x1c]
call fcn.004457d0
mov ebx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
jmp 0x46f470
mov eax, dword [eax]
jmp 0x46f4a7
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.004703c0
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], 0
mov dword [eax], eax
mov edi, dword [edi + 0x18]
mov dword [esp + 0x50], 0xffffffff
mov dword [edi + 8], edi
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov ecx, dword [esi + 0xc]
call fcn.0048f020
mov ecx, dword [esi + 0xc]
xor edi, edi
cmp ecx, edi
je 0x46f581
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x470b90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d9723
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x504f68]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x4f4524
mov dword [esp + 0x18], 8
mov eax, dword [esi + 0x30]
test eax, eax
je 0x470bd7
push eax
call fcn.004b3716
add esp, 4
mov eax, dword [esi + 0x80]
test eax, eax
je 0x470c03
lea edi, [eax + 4]
mov ecx, edi
call fcn.0048f170
test al, al
je 0x470c03
test edi, edi
je 0x470bf8
lea eax, [edi - 4]
jmp 0x470bfa
xor eax, eax
push eax
call fcn.00498160
add esp, 4
mov byte [esp + 0x18], 7
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x470c16
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0x18], 6
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x470c29
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov byte [esp + 0x18], 5
mov eax, dword [esi + 0x28]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x470c4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18], 4
mov eax, dword [esi + 0x24]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x470c71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18], 3
mov eax, dword [esi + 0x20]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x470c95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18], 2
mov eax, dword [esi + 0x1c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x470cb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18], 1
mov eax, dword [esi + 0x18]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x470cdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x18], 0
mov eax, dword [esi + 0x14]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x470d01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
add esi, 0xc
push esi
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x470d22
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x470d40
Capabilities:
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x4db2e8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push edi
mov eax, dword [0x504f68]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x18], ecx
lea eax, [esi + 0x14]
cmp edi, ecx
je 0x470d8f
mov ecx, edi
lea ebx, [ecx + 2]
jmp 0x470d80
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x470d80
sub ecx, ebx
sar ecx, 1
push edi
mov ebx, ecx
call fcn.00408980
push esi
mov eax, edi
call fcn.00470ea0
test al, al
jne 0x470dd1
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x470dba
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
mov ecx, dword [esp + 0x20]
mov edi, ecx
test ecx, ecx
je 0x470de1
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x470def
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esi + 0x38], edi
test ebp, ebp
je 0x470dff
mov eax, dword [ebp]
mov edx, dword [eax]
mov ecx, ebp
call edx
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x470e0d
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x3c], ebp
lea eax, [esi + 0x24]
test ebx, ebx
jne 0x470e1f
xor ecx, ecx
jmp 0x470e33
mov ecx, ebx
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x470e24
sub ecx, edi
sar ecx, 1
push ebx
mov ebx, ecx
call fcn.00408980
mov edx, dword [esp + 0x28]
test edx, edx
je 0x470e53
cmp word [edx], 0
je 0x470e53
lea edi, [esi + 0x18]
call fcn.00408720
jmp 0x470e65
lea eax, [esi + 0x18]
push str.Mozilla_5.0__Windows_NT_5.1_
mov ebx, 0x1c
call fcn.00408980
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x470e7c
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x470ea0
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push ebx
push ebp
mov ebp, dword [esp + 0x48]
push esi
push edi
push 0x200
mov ebx, eax
call fcn.004a2026
push 0x200
mov esi, eax
push 0
push esi
call fcn.004b4970
push 0x1000
call fcn.004a2026
push 0x1000
mov edi, eax
push 0
push edi
call fcn.004b4970
push 0x38
lea eax, [esp + 0x38]
push 0
push eax
call fcn.004b4970
add esp, 0x2c
lea ecx, [esp + 0x10]
push ecx
push 0
push ebx
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x100
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 0x800
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x470f45
push esi
call fcn.004b3716
push edi
call fcn.004b3716
add esp, 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x3c
ret 4
lea eax, [ebp + 0x1c]
test esi, esi
jne 0x470f50
xor ecx, ecx
jmp 0x470f64
mov ecx, esi
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x470f55
sub ecx, ebx
sar ecx, 1
push esi
mov ebx, ecx
call fcn.00408980
lea eax, [ebp + 0x20]
test edi, edi
jne 0x470f77
xor ecx, ecx
jmp 0x470f8f
mov ecx, edi
lea ebx, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x470f80
sub ecx, ebx
sar ecx, 1
push edi
mov ebx, ecx
call fcn.00408980
mov dx, word [esp + 0x28]
push esi
mov word [ebp + 0x2c], dx
call fcn.004b3716
push edi
call fcn.004b3716
add esp, 8
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x3c
ret 4

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

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov esi, ecx
test ebx, ebx
jne 0x4716bb
cmp dword [esi + 0x10], ebx
je 0x4716c0
mov edi, 2
cmp dword [esi + 0x40], edi
jne 0x471637
mov eax, dword [esi + 0x70]
test eax, eax
jbe 0x4716b9
add dword [esi + 0x48], eax
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [esi + 0x30]
push eax
call edx
test al, al
jne 0x471637
mov ebx, 0x2ef1
call fcn.00471270
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ebx, dword [sym.imp.WININET.dll_InternetReadFileExA]
mov dword [esi + 0x40], edi
lea edi, [esi + 0x58]
mov eax, dword [esi + 0x54]
push esi
push 1
push edi
push eax
mov dword [esi + 0x70], 0x800
call ebx
test eax, eax
je 0x47169e
mov eax, dword [esi + 0x70]
test eax, eax
jbe 0x471675
add dword [esi + 0x48], eax
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [esi + 0x30]
push eax
call edx
test al, al
je 0x471626
cmp dword [esi + 0x10], 0
je 0x4716c0
cmp dword [esi + 0x70], 0
ja 0x471643
mov eax, dword [esi + 0x44]
test eax, eax
jle 0x4716b9
cmp dword [esi + 0x48], eax
je 0x4716b9
mov ebx, 0x2ee4
call fcn.00471270
pop edi
pop esi
pop ebx
pop ecx
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4716c0
mov ebx, eax
call fcn.00471270
pop edi
pop esi
pop ebx
pop ecx
ret 4
xor ebx, ebx
call fcn.00471270
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x476b50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push 0xffffffffffffffff
push 0x4dee56
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x504f68]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
lea eax, [edi + 0xc]
push eax
mov dword [edi], 0x4f4930
call fcn.0041ec30
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x24]
push ebx
mov dword [edi + 4], ecx
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x50faf4
push 0x4f49dc
push 0x17
push ebx
push 0x4f49cc
mov dword [0x50faf0], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x476bc1
call fcn.00478c50
push 1
mov dword [0x50faf0], ebx
call fcn.00478b30
add esp, 4
call fcn.00476a40
push 0xd
mov dword [edi + 8], ebx
call fcn.004b383b
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x476c15
lea eax, [esp + 0x24]
push eax
push 0x40
mov edx, 0x477380
sub edx, esi
push 0xd
sub edx, 0xd
push esi
mov dword [esi], 0x42444c7
mov dword [esi + 4], edi
mov byte [esi + 8], 0xe9
mov dword [esi + 9], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x476c17
xor esi, esi
mov dword [edi + 0x24], esi
cmp dword [0x50fe3c], ebx
jne 0x476c96
push 0x50
call fcn.004b383b
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x18], 1
cmp eax, ebx
je 0x476c48
push eax
mov ecx, str.job_report
call fcn.0046f180
mov esi, eax
jmp 0x476c4a
xor esi, esi
mov byte [esp + 0x18], bl
cmp esi, ebx
je 0x476c5a
lea ecx, [esi + 4]
call fcn.0048f160
mov eax, dword [0x50fe3c]
mov dword [0x50fe3c], esi
cmp eax, ebx
je 0x476c8b
lea esi, [eax + 4]
mov ecx, esi
call fcn.0048f170
test al, al
je 0x476c8b
cmp esi, ebx
je 0x476c8b
lea ecx, [esi - 4]
cmp ecx, ebx
je 0x476c8b
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov esi, dword [0x50fe3c]
call fcn.0046f330
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x477040
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4dee23
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x504f68]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x20], 0
mov edi, dword [esp + 0x2c]
add edi, 0x28
call fcn.00476f00
cmp dword [ebp + 8], 0
jne 0x477173
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x20]
sub esi, 0x14
mov edi, 0x14
cmp esi, edi
jge 0x4770a1
mov edi, esi
mov esi, 0x14
call fcn.004b6c27
sub esi, edi
inc esi
cdq
idiv esi
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx + 0x24]
sub esi, 0x14
add edx, edi
mov edi, 0x14
cmp esi, edi
mov dword [0x50f09c], edx
jge 0x4770ce
mov edi, esi
mov esi, 0x14
call fcn.004b6c27
cdq
sub esi, edi
inc esi
idiv esi
mov eax, dword [ebp + 4]
add edx, edi
mov dword [0x50f0a0], edx
call fcn.00476e80
mov edi, 0x80040000
call fcn.004b6c27
cdq
mov ecx, 0x3e9
idiv ecx
mov esi, edx
sub esi, 0xfa0
call fcn.004b6c27
cdq
mov ecx, 0x3e9
idiv ecx
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx + 0x1f]
sub edx, 0xfa0
test al, al
je 0x47712a
xor esi, esi
xor edx, edx
mov edi, 0x10cf0000
mov ebx, dword [ebp + 4]
push ebp
push ebx
mov ebx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x20]
push 0
push 0
push ebx
push ecx
push edx
xor edx, edx
test al, al
setne dl
push esi
push edi
push 0x4ed9d8
push 0x4f472c
dec edx
and edx, 0x8000080
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 8], eax
cmp byte [ecx + 0x1f], 0
jne 0x477173
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xdc
call fcn.004b383b
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x20], 1
test eax, eax
je 0x47719b
mov ecx, dword [esp + 0x2c]
push 0
push eax
call fcn.00479450
jmp 0x47719d
xor eax, eax
mov byte [esp + 0x20], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x38]
mov esi, dword [ecx + 0x30]
mov edi, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x24]
push edx
mov edx, dword [ecx + 0x20]
push esi
push edi
push edx
mov edx, dword [ebp + 8]
push 0
push 0
push edx
mov dword [esp + 0x44], eax
push eax
mov eax, dword [ebp + 4]
call fcn.00479b00
test eax, eax
jne 0x4771f1
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4771e7
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
jmp 0x477209
lea edi, [ebp + 0xc]
lea ebx, [esp + 0x28]
call fcn.004777a0
mov dword [esp + 0x20], 0xffffffff
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x477214
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8