joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c3a8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x49c462
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404958
mov eax, dword [0x4c3aa0]
cmp byte [eax], 0
je 0x49c417
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404ce8
mov eax, dword [ebx]
call fcn.00404b14
push eax
mov eax, dword [ebx]
call fcn.00404b04
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404b14
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404ce8
jmp 0x49c449
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409468
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c469
lea eax, [ebp - 0x3f0]
call fcn.0040424c
ret

Function at 0x49f5d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x49f62a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.0049f634
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f631
ret

Function at 0x4a4f18
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4a4f4e
jmp 0x4a4ff4
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4a4f92
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x168], 0
je 0x4a4f92
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x14]
jmp 0x4a4fa2
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x164]
test edx, edx
je 0x4a4fa2
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4a4fbb
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004a18bc
jmp 0x4a4ff4
mov dl, 1
mov eax, dword [0x424f64]
call fcn.00426ea8
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00427918
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.00426a58
mov edx, esp
mov eax, esi
call fcn.004275ac
mov eax, esi
call fcn.0040341c
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4a7614
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0044ceb4
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.004464d8
pop ebx
ret
Function at 0x4ad6d4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4ad78e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404958
mov eax, dword [0x4c3aa0]
cmp byte [eax], 0
je 0x4ad743
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404ce8
mov eax, dword [ebx]
call fcn.00404b14
push eax
mov eax, dword [ebx]
call fcn.00404b04
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404b14
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404ce8
jmp 0x4ad775
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409468
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad795
lea eax, [ebp - 0x3f0]
call fcn.0040424c
ret

Function at 0x4ad79c
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00409468
add esp, 0x3ec
pop ebx
ret

Function at 0x4ad95c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x4ada22
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045d660
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004ad618
mov edi, eax
test edi, edi
je 0x4ad9bb
mov al, byte [0x4ada30]
cmp al, bl
jne 0x4ad9bb
mov edx, edi
mov eax, ebp
call fcn.004ad550
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4ada22
cmp byte [ebp + 0x161], 2
jne 0x4ad9e6
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4c3f24]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.0044776c
test eax, eax
jne 0x4ada22
jmp 0x4ada1d
mov edx, dword [0x4c3dec]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4ada1d
test byte [eax + 0x2f4], 8
jne 0x4ada1d
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4c3dec]
mov eax, edx
mov edx, 0xb006
call fcn.0044776c
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b3a84
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4c3f24]
mov eax, dword [eax]
cmp dword [eax + 0x64], 0
jne 0x4b3b2a
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4b3ac9
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4b3b05
jmp 0x4b3acd
pop edx
pop eax
jge 0x4b3b05
mov eax, dword [0x4c3f24]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004ae834
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4b3b2a
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4b3b2a
cmp dword [ebx + 0x11c], 0
je 0x4b3b2a
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00432ecc
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4be588
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4be6f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4be6de
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409468
mov dl, 1
mov eax, dword [0x49670c]
call fcn.00496764
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x41b2bc]
call fcn.004033ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.004967e0
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4be6db
mov dl, 1
mov eax, dword [0x497b1c]
call fcn.00497b84
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x4be710
call fcn.00496d8c
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404558
xor eax, eax
push ebp
push 0x4be6d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00497e84
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004be718
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be6db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.0040341c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.0040341c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0040341c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be700
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404270
ret
Function at 0xdc3070
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0xdd6048]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
cmp dword [ebp + 8], 0
je 0xdc3099
cmp dword [ebp + 0xc], 0
jne 0xdc30a3
jmp 0xdc31f0
cmp dword [ebp + 0x10], 0
je 0xdc30f8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
add ecx, 2
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x218]
mov ax, word [edx]
mov word [ebp - 0x21e], ax
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0xdc30c1
mov ecx, dword [ebp - 0x218]
sub ecx, dword [ebp - 0x21c]
sar ecx, 1
mov dword [ebp - 0x224], ecx
jne 0xdc3102
jmp 0xdc31f0
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00dc98e0
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0xdc313b
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [0xdd2088]
jmp 0xdc3183
cmp dword [0xdd6f10], 3
jne 0xdc3171
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [0xdd2020]
push 0xdd427c
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00dc5fa1
add esp, 0xc
jmp 0xdc3183
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [0xdd2088]
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00dc5fa1
add esp, 0xc
mov dword [ebp - 4], 0
push 0xdd4280
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00dc62c3
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0xdc31c4
jmp 0xdc31f0
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00dc6554
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.00dc65de
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00dc5f92
mov esp, ebp
pop ebp
ret

Function at 0xdc33c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0xdd6048]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00dc98e0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0xdc340f
cmp dword [ebp + 0xc], 0
jne 0xdc3413
jmp 0xdc3488
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [0xdd2088]
push 0xdd42a0
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00dc5fa1
add esp, 0xc
push 0xdd42bc
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00dc62c3
add esp, 0xc
cmp dword [ebp - 4], 0
je 0xdc347e
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00dc67a9
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.00dc65de
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00dc5f92
mov esp, ebp
pop ebp
ret
Function at 0xdc49b7
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push 0xdd4944
push dword [ebp + 8]
mov ebx, eax
lea eax, [ebp - 4]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00dc62c3
add esp, 0xc
test eax, eax
je 0xdc49e4
xor eax, eax
jmp 0xdc4a6f
push esi
push 2
push edi
push dword [ebp - 4]
call fcn.00dc6c25
push dword [ebp - 4]
call fcn.00dc6e35
push edi
push edi
push dword [ebp - 4]
mov esi, eax
call fcn.00dc6c25
lea eax, [esi + ebx]
push eax
mov dword [ebp - 8], eax
call fcn.00dc6acd
push dword [ebp - 4]
mov edi, eax
push 1
push esi
push edi
call fcn.00dc6554
push dword [ebp - 4]
call fcn.00dc65de
push ebx
lea ebx, [edi + esi]
call fcn.00dc4a73
push 0xdd494c
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.00dc62c3
add esp, 0x44
pop esi
test eax, eax
jne 0xdc49dd
push dword [ebp - 4]
push 1
push dword [ebp - 8]
push edi
call fcn.00dc67a9
push dword [ebp - 4]
call fcn.00dc65de
add esp, 0x14
test edi, edi
je 0xdc4a6c
push edi
call fcn.00dc6b61
pop ecx
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret
Function at 0xdc4ab6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0xdd6048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
push esi
xor edi, edi
lea eax, [ebp - 0x20b]
push edi
push eax
mov byte [ebp - 0x20c], 0
call fcn.00dc98e0
push esi
lea eax, [ebp - 0x107]
push edi
push eax
mov byte [ebp - 0x108], 0
call fcn.00dc98e0
push esi
lea eax, [ebp - 0x30f]
push edi
push eax
mov byte [ebp - 0x310], 0
call fcn.00dc98e0
mov esi, 0xdd4954
lea edi, [ebp - 0x324]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x319]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x24
stosb byte es:[edi], al
lea eax, [ebp - 0x20c]
push eax
mov ebx, 0x104
push ebx
call dword [0xdd2040]
lea eax, [ebp - 0x324]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xdc4b4b
lea edi, [ebp - 0x20c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0xdc4b5b
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
lea eax, [ebp - 0x108]
push eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [0xdd2044]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push ebx
push eax
call fcn.00dc6ecd
lea eax, [ebp - 0x310]
push 0x5c
push eax
call fcn.00dc6aa0
add esp, 0x14
test eax, eax
je 0xdc4baf
mov byte [eax], 0
lea eax, [ebp - 0x20c]
push 0xdd4960
push eax
call fcn.00dc6fe8
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0xdc4cfa
push esi
xor edi, edi
inc edi
push edi
push 9
push 0xdd4964
call fcn.00dc67a9
push esi
push edi
push 5
push 0xdd4970
call fcn.00dc67a9
lea eax, [ebp - 0x108]
add esp, 0x20
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xdc4bf7
push esi
sub eax, ecx
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00dc67a9
push esi
push edi
push 2
mov ebx, 0xdd4978
push ebx
call fcn.00dc67a9
push esi
push edi
push 0xa
push 0xdd497c
call fcn.00dc67a9
lea eax, [ebp - 0x108]
add esp, 0x30
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xdc4c38
push esi
sub eax, ecx
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00dc67a9
push esi
push edi
push 0xf
push 0xdd4988
call fcn.00dc67a9
push esi
push edi
push 7
push 0xdd4998
call fcn.00dc67a9
lea eax, [ebp - 0x310]
add esp, 0x30
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xdc4c78
push esi
sub eax, ecx
push edi
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00dc67a9
push esi
push edi
push 3
push ebx
call fcn.00dc67a9
push esi
push edi
push 5
push 0xdd4970
call fcn.00dc67a9
lea eax, [ebp - 0x20c]
add esp, 0x30
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xdc4cb4
push esi
sub eax, ecx
push edi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00dc67a9
push esi
push edi
push edi
push 0xdd49a0
call fcn.00dc67a9
push esi
call fcn.00dc65de
add esp, 0x24
xor eax, eax
push eax
push eax
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0xdd49a4
push eax
call dword [0xdd215c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00dc5f92
leave
ret
Function at 0xdc5e95
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00dcf550
mov eax, dword [0xdd6048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [0xdd21c8]
xor ebx, ebx
push ebx
mov dword [ebp - 0x100c], eax
push 4
lea eax, [ebp - 0x1008]
push eax
push dword [edi]
call esi
cmp eax, 4
je 0xdc5ed6
xor eax, eax
jmp 0xdc5f39
cmp dword [ebp - 0x1008], ebx
jbe 0xdc5f22
push 0
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi]
call esi
mov dword [ebp - 0x1010], eax
test eax, eax
je 0xdc5f22
mov ecx, dword [ebp - 0x100c]
push dword [ecx]
push eax
lea eax, [ebp - 0x1004]
push 1
push eax
call fcn.00dc67a9
add ebx, dword [ebp - 0x1010]
add esp, 0x10
cmp ebx, dword [ebp - 0x1008]
jb 0xdc5ede
mov eax, dword [ebp - 0x100c]
push dword [eax]
call fcn.00dc65de
cmp ebx, dword [ebp - 0x1008]
pop ecx
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00dc5f92
leave
ret
Function at 0xdc6431
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
test edi, edi
je 0xdc6342
cmp dword [ebp + 0x14], 0
je 0xdc6342
test ecx, ecx
jne 0xdc6349
call fcn.00dc79f0
mov dword [eax], 0x16
call fcn.00dc799e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
test esi, esi
je 0xdc635c
or eax, 0xffffffff
xor edx, edx
div edi
cmp dword [ebp + 0x14], eax
jbe 0xdc637d
cmp ebx, 0xffffffff
je 0xdc636d
push ebx
push 0
push ecx
call fcn.00dc98e0
add esp, 0xc
test esi, esi
je 0xdc6332
or eax, 0xffffffff
xor edx, edx
div edi
cmp dword [ebp + 0x14], eax
ja 0xdc6332
imul edi, dword [ebp + 0x14]
test dword [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0xdc6397
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0xdc639e
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0xdc6480
test dword [esi + 0xc], 0x10c
je 0xdc63f3
mov eax, dword [esi + 4]
test eax, eax
je 0xdc63f3
js 0xdc64ae
mov edi, ebx
cmp ebx, eax
jb 0xdc63c4
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0xdc6488
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00dc7432
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0xdc6478
cmp ebx, dword [ebp - 0xc]
jb 0xdc6454
cmp dword [ebp - 0xc], 0
je 0xdc641d
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0xdc6412
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0xdc6419
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0xdc6428
mov eax, 0x7fffffff
cmp ebx, eax
ja 0xdc6428
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0xdc6488
push eax
push dword [ebp - 8]
push esi
call fcn.00dc98b1
pop ecx
push eax
call fcn.00dc97bb
add esp, 0xc
test eax, eax
je 0xdc64c0
cmp eax, 0xffffffff
je 0xdc64ae
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0xdc6478
push esi
call fcn.00dc90e2
pop ecx
cmp eax, 0xffffffff
je 0xdc64b2
cmp dword [ebp - 4], 0
je 0xdc6488
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0xdc63a6
mov eax, dword [ebp + 0x14]
jmp 0xdc6344
cmp dword [ebp + 0xc], 0xffffffff
je 0xdc649e
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00dc98e0
add esp, 0xc
call fcn.00dc79f0
mov dword [eax], 0x22
jmp 0xdc633d
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0xdc6344
or dword [esi + 0xc], 0x10
jmp 0xdc64b2
Function at 0x401000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [eax]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret
Function at 0x402645
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x40264d
mov dword [ecx*4 + 0x4c5de0], eax
inc ecx
cmp ecx, 0x100
jb 0x402648
mov edx, 0x800
jmp 0x40269a
mov eax, dword [ecx*4 + 0x4c59e0]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4c5de0]
inc ecx
mov dword [ecx*4 + 0x4c5ddc], eax
cmp ecx, edx
jb 0x402679
mov dword [0x4c44d8], 0x4026bd
call main
test eax, eax
jne 0x4026bb
mov dword [0x4c44d8], 0x402759
pop esi
ret

Function at 0x40881c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x14
mov eax, 0x478ddd
call fcn.0045be74
mov esi, ecx
push str.DownloadFiles...
lea ecx, [ebp - 0x14]
call fcn.004020a6
xor ebx, ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
cmp dword [esi + 0xc0], ebx
je 0x40886a
xor eax, eax
call fcn.0045bf4c
ret
call fcn.0044825c
push eax
lea ecx, [ebp - 0x18]
call fcn.0041872d
push 0x4824dc
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.004020a6
lea edi, [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040e2a6
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, edi
push eax
mov eax, esi
call fcn.0040db68
mov edi, dword [sym.imp.kernel32.dll_GetTickCount]
call edi
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0x27c]
push eax
mov dword [ebp - 0x20], eax
call main
mov dword [ebp - 0x14], eax
cmp dword [esi + 0xc0], ebx
je 0x408907
lea eax, [ebp - 0xd]
push eax
push ebx
push str.UserCanceled
push str.Payload_Download_Status
mov esi, 0x4c46e8
mov byte [ebp - 0xd], bl
call fcn.0040b111
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, ebx
jmp 0x408864
call edi
sub eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0xd]
dec eax
push ecx
mov byte [ebp - 0xd], bl
push eax
mov edi, str.Download_Update_Time
mov ebx, esi
call fcn.0040b14d
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
je 0x40892d
call main
mov byte [ebp - 0xd], bl
mov eax, str.Succeeded
cmp dword [ebp - 0x14], ebx
jne 0x40893f
mov eax, str.Failed
lea ecx, [ebp - 0xd]
push ecx
push ebx
push eax
push str.Payload_Download_Status
mov esi, 0x4c46e8
call fcn.0040b111
cmp dword [ebp - 0x14], ebx
je 0x408968
push dword [ebp - 0x20]
call main
test eax, eax
je 0x408968
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
jmp 0x4088f5