joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005467b
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 0x10054718
push ebx
push esi
call fcn.10054644
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.100545d8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100546c5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10054717
push edi
push eax
call fcn.100508e6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100546e5
call fcn.1004fe77
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10054716
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100545d8
add esp, 0x20
test eax, eax
jne 0x10054704
push edi
call fcn.1004fe77
jmp 0x1005470c
push ebx
call fcn.1004fe77
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 0x100584f0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100e5048]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10058530
cmp byte [ebx], 0xa
jne 0x10058530
or byte [edi + eax + 0x28], 4
jmp 0x10058535
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x10058634
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10058617
inc eax
cmp dl, 0xd
je 0x10058561
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x10058587
cmp eax, ecx
jae 0x10058595
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x10058549
jmp 0x10058634
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10058612
cmp dword [ebp - 0x10], 0
je 0x10058612
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100e5048]
test byte [eax + edi + 0x28], 0x48
je 0x100585ec
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100585d7
mov byte [esi], dl
jmp 0x100585e8
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100e5048]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10058634
cmp byte [ebp - 1], 0xa
jne 0x100585fb
cmp esi, ebx
jne 0x100585fb
mov byte [esi], 0xa
jmp 0x10058633
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1005539f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10058634
mov byte [esi], 0xd
jmp 0x10058633
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100e5048]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10058631
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10058634
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1005863d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100e5048]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10058683
cmp word [ebx], dx
jne 0x10058683
or byte [eax + edi + 0x28], 4
jmp 0x10058688
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x100587eb
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x100587cb
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100586c9
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100586ff
cmp eax, edx
jae 0x1005870d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100586a4
jmp 0x100587eb
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100587c6
cmp dword [ebp - 0x18], 0
je 0x100587c6
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100e5048]
test byte [eax + edi + 0x28], 0x48
je 0x1005879c
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10058760
mov word [esi], cx
jmp 0x10058797
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100e5048]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100e5048]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100e5048]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100587eb
pop eax
cmp word [ebp - 4], ax
jne 0x100587ac
cmp esi, ebx
jne 0x100587ac
mov word [esi], ax
jmp 0x100587e8
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1005539f
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100587eb
push 0xd
pop eax
jmp 0x100587a7
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100e5048]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100587e5
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100587eb
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1005af75
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1005aef1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1005b0e4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1005b0e4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1005b099
jg 0x1005afd1
test eax, eax
je 0x1005b08f
push 1
push 0x1000
call fcn.1004fe1a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1005aff4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1005b086
push 0x8000
push ebx
call fcn.100465cc
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1005b01d
jg 0x1005b018
cmp ecx, 0x1000
jb 0x1005b01d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10052a77
add esp, 0x10
cmp eax, 0xffffffff
je 0x1005b062
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1005b018
jl 0x1005b049
test ecx, ecx
jne 0x1005b00a
push dword [ebp - 0xc]
push ebx
call fcn.100465cc
push esi
call fcn.1004fe77
add esp, 0xc
xor ebx, ebx
jmp 0x1005b0f2
cmp byte [edi + 0x24], 0
je 0x1005b079
cmp dword [edi + 0x20], 5
jne 0x1005b079
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1005b084
mov ebx, dword [edi + 0x18]
jmp 0x1005b086
xor ebx, ebx
push esi
call fcn.1004fe77
pop ecx
jmp 0x1005b0f2
test ecx, ecx
jg 0x1005b05b
jl 0x1005b099
test eax, eax
jae 0x1005b05b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1005539f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1005b0b9
cmp byte [edi + 0x1c], 0
je 0x1005b05b
jmp 0x1005b0ea
push ebx
call fcn.100520e0
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1005b05b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1005b0f2
cmp byte [edi + 0x1c], 0
je 0x1005b0ef
mov ebx, dword [edi + 0x18]
jmp 0x1005b0f2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1005539f
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1005c2a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1005c2cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1005c2cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x414780
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x414789
xor ecx, ecx
jne 0x414789
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4147aa
mov eax, 0xd
jmp 0x414805
xor eax, eax
jne 0x414791
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x4147bb
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x414810
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x44b19c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00414440
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00414680
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41487b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.00414470
mov eax, dword [ebp - 0x224]
jmp 0x41490c
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4148e1
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00414810
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4148d8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.00414470
mov eax, dword [ebp - 0x228]
jmp 0x41490c
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x414882
lea ecx, [ebp - 0x14]
call fcn.004145b0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.004144f0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.00414470
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042021d
mov esp, ebp
pop ebp
ret 4
Function at 0x41d1d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x43bcf3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x44b19c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.0041cea0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x44da60
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x443be2
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0041e020
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x41feef
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x44da6c], 0
push esi
jne 0x41fe62
call fcn.0041fd88
test eax, eax
je 0x41fea5
mov eax, dword [0x44da6c]
cmp eax, 1
jne 0x41fe83
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41fea5
pop esi
ret
push eax
call dword [0x44da74]
test eax, eax
jne 0x41feed
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41fea9
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x44da6c]
call dword [0x44da74]
mov edi, eax
test edi, edi
je 0x41fece
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41feea
mov edi, esi
add esi, 0xff0
push edi
push dword [0x44da6c]
call dword [0x44da70]
add edi, 0x10
cmp edi, esi
jb 0x41fed6
mov eax, edi
pop edi
pop esi
ret
jmp 0x41fe4f

Function at 0x42021d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b19c]
jne 0x420227
repz ret
jmp fcn.004244e1

Function at 0x42698f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4269c0
call fcn.0042463c
mov dword [eax], esi
call fcn.00424629
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004220fc
add esp, 0x14
push 0x16
pop eax
jmp 0x426a15
test dword [ebp + 0xc], 0xfffffff9
jne 0x42699c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4269ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042464f
pop ecx
call fcn.00424629
mov eax, dword [eax]
jmp 0x426a15
test al, 0x10
jne 0x426a13
test al, 1
je 0x426a13
test byte [ebp + 0xc], 2
je 0x426a13
call fcn.0042463c
mov dword [eax], 5
call fcn.00424629
mov dword [eax], 0xd
jmp 0x4269e4
xor eax, eax
pop esi
pop ebp
ret
Function at 0x42e8f5
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.00425ad0
and dword [ebp - 4], 0
cmp dword [0x44e4ec], 0
mov ebx, eax
jne 0x42e9a6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42ea57
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42ea57
push eax
call fcn.00425a5e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44e4ec], eax
call esi
push eax
call fcn.00425a5e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44e4f0], eax
call esi
push eax
call fcn.00425a5e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44e4f4], eax
call esi
push eax
call fcn.00425a5e
pop ecx
mov dword [0x44e4fc], eax
test eax, eax
je 0x42e9a6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00425a5e
pop ecx
mov dword [0x44e4f8], eax
mov eax, dword [0x44e4f8]
cmp eax, ebx
je 0x42e9fe
cmp dword [0x44e4fc], ebx
je 0x42e9fe
push eax
call fcn.00425ad9
push dword [0x44e4fc]
mov esi, eax
call fcn.00425ad9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42e9fe
test edi, edi
je 0x42e9fe
call esi
test eax, eax
je 0x42e9f5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42e9f5
test byte [ebp - 0xc], 1
jne 0x42e9fe
or dword [ebp + 0x10], 0x200000
jmp 0x42ea37
mov eax, dword [0x44e4f0]
cmp eax, ebx
je 0x42ea37
push eax
call fcn.00425ad9
pop ecx
test eax, eax
je 0x42ea37
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42ea37
mov eax, dword [0x44e4f4]
cmp eax, ebx
je 0x42ea37
push eax
call fcn.00425ad9
pop ecx
test eax, eax
je 0x42ea37
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44e4ec]
call fcn.00425ad9
pop ecx
test eax, eax
je 0x42ea57
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42ea59
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4350a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c1a5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x44b19c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push 0x10
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00422140
add esp, 0xc
mov dword [ebp - 0x14], 4
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420207
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov ecx, 0x16
mov edx, dword [ebp - 0x1c]
mov word [edx + 0x30], cx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax + 0x38], edx
mov eax, 0x13
mov ecx, dword [ebp - 0x1c]
mov word [ecx + 0x20], ax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [edx + 0x28], ecx
mov edx, 0x13
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x10], dx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ecx + 0x18], eax
mov ecx, 4
mov edx, dword [ebp - 0x1c]
mov word [edx], cx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
fld dword [ecx + 0xc]
fstp dword [eax + 8]
lea ecx, [ebp - 0x2c]
call fcn.00406c30
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x1c]
push eax
push str.setProgress
mov ecx, dword [ebp - 0x34]
call fcn.00434cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406c50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x435630
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
cmp dword [ebp + 8], 0
je 0x43565e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43565e
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 0x28]
test eax, eax
je 0x4356b7
push 0
push ecx
mov ecx, esp
push 0
call fcn.00407ac0
push 0
push 0x80ca0000
push 0x442540
push ecx
mov ecx, esp
lea edx, [ebp - 0x10]
push edx
call fcn.00407ac0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.0040f0d0
jmp 0x4356e7
push 0
push ecx
mov ecx, esp
push 0
call fcn.00407ac0
push 0
push 0x90000000
push 0x442544
push ecx
mov ecx, esp
lea edx, [ebp - 0x10]
push edx
call fcn.00407ac0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.0040f0d0
mov dword [ebp - 0x1c], 0
push 0x67
mov ecx, 0x44e608
call fcn.004070f0
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x1c], eax
push 1
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x30]
add ecx, 4
call fcn.00407f90
mov ecx, dword [ebp - 0x30]
call fcn.00435520
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebp - 0x30]
add ecx, 4
call fcn.00407ff0
test eax, eax
je 0x435741
mov ecx, dword [ebp - 0x30]
call fcn.0040e700
cmp dword [ebp + 8], 0
je 0x435759
cmp dword [ebp - 0x18], 0
je 0x435759
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 4
Function at 0x4376c0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x44b19c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x4377c0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call sub.urlmon.dll_URLOpenBlockingStreamW
test eax, eax
jl 0x4377c0
push 1
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
jl 0x4377b2
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00421cac
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
je 0x4377b2
push 8
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.00422140
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
push ecx
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call fcn.00422140
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
sub ecx, 1
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x5c]
mov dword [edx], eax
push 0
push 0
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x14]
call eax
push 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042021d
mov esp, ebp
pop ebp
ret
Function at 0x4378b0
Capabilities:
Check for time delay via gettickcount
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ce25
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x44b19c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x30
call fcn.00402020
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea ecx, [ebp - 0x50]
call fcn.00437c70
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x50]
call fcn.00401f40
mov dword [ebp - 0x18], 0x578
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x68], eax
mov edx, dword [ebp - 0x64]
mov byte [edx + 0x88], 0
lea eax, [ebp - 0x50]
push eax
push 0
mov ecx, dword [ebp - 0x64]
add ecx, 0x4c
call fcn.00402020
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x30
call fcn.00402020
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x10]
sub edx, dword [ecx + 0x68]
cmp edx, 0x4b0
jae 0x437972
push 0x4b0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x6c
call fcn.004014a0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x18
call fcn.00402110
jmp 0x43799a
lea ecx, [ebp - 0x58]
call fcn.00402240
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x64]
add ecx, 0x18
call fcn.00402140
push eax
lea ecx, [ebp - 0x58]
call fcn.0040f4e0
movzx eax, al
test eax, eax
je 0x4379ce
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00402220
mov ecx, eax
call fcn.004021e0
jmp 0x437992
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00437bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042021d
mov esp, ebp
pop ebp
ret 4

Function at 0x437a20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
push eax
push 0
push 0x437a00
call fcn.00421f0c
add esp, 0xc
mov esp, ebp
pop ebp
ret