joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413db0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595428
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x602c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x413e0c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
test byte [ebp + 8], 1
je 0x413e1b
push esi
call fcn.004fa278
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x414d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5953a0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x602c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov dword [ebp - 4], 1
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0xc]
add esp, 8
test ecx, ecx
je 0x414d75
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
test byte [ebp + 8], 1
je 0x414d84
push esi
call fcn.004fa278
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x414e10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595340
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x602c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov dword [ebp - 4], 1
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0xc]
add esp, 8
test ecx, ecx
je 0x414e82
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x415bf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5952a0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x602c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov dword [ebp - 4], 1
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0xc]
add esp, 8
test ecx, ecx
je 0x415c65
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
test byte [ebp + 8], 1
je 0x415c74
push esi
call fcn.004fa278
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x415c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595270
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x602c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov dword [ebp - 4], 1
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0xc]
add esp, 8
test ecx, ecx
je 0x415d02
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4160e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59678a
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x602c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 0x60]
push eax
mov dword [ebp - 4], 0
call fcn.00415800
mov dword [ebp - 4], 1
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov dword [ebp - 4], 2
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0xc]
add esp, 8
test ecx, ecx
je 0x416162
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4167b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59671d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x602c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
lea esi, [ebx + 0xa8]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov byte [ebp - 4], 3
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0xc]
add esp, 8
test ecx, ecx
je 0x41682b
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea esi, [ebx + 0x48]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov byte [ebp - 4], 5
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov byte [ebp - 4], 0
mov esi, dword [esi + 0xc]
add esp, 8
test esi, esi
je 0x416875
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [ebp - 4], 6
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x2c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.004fc2ea
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebx + 0xc]
add esp, 4
test ebx, ebx
je 0x4168a9
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41f680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, eax
mov ecx, edi
shr ecx, 2
xor eax, eax
test ecx, ecx
je 0x41f6b2
mov eax, edx
sub esi, edx
mov dword [ebp - 4], ecx
push ebx
mov edi, edi
mov ebx, dword [esi + eax]
xor dword [eax], ebx
add eax, 4
dec ecx
jne 0x41f6a0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
pop ebx
add eax, eax
add eax, eax
sub edi, eax
je 0x41f6d9
add edx, eax
add esi, eax
test edi, edi
je 0x41f6d9
mov ecx, esi
mov eax, edx
sub ecx, edx
mov esi, edi
lea ebx, [ebx]
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x41f6d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41f760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, eax
mov eax, esi
shr eax, 2
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x41f79b
mov esi, ebx
mov edx, edi
sub esi, edi
mov dword [ebp - 4], eax
mov ebx, dword [esi + edx]
xor ebx, dword [edx]
add edx, 4
or ecx, ebx
dec eax
jne 0x41f785
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 4]
lea eax, [edx*4]
sub esi, eax
jne 0x41f7b4
pop edi
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
add ebx, eax
add edi, eax
mov eax, ecx
mov edx, ecx
shr edx, 0x10
shr eax, 0x18
or al, dl
mov edx, ecx
shr edx, 8
or dl, al
or dl, cl
test esi, esi
je 0x41f7e2
mov ecx, ebx
mov eax, edi
sub ecx, edi
mov bl, byte [eax + ecx]
xor bl, byte [eax]
inc eax
or dl, bl
dec esi
jne 0x41f7d7
pop edi
xor eax, eax
test dl, dl
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424c10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x597170
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x602c60]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x602c60]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx]
push 1
push 0x604ec4
mov dword [esp + 0x28], edx
xor edx, edx
push edx
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
push eax
mov eax, dword [esi + 0x80]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.1.0
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004fb958
mov esp, ebp
pop ebp
ret 8

Function at 0x42b920
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
mov edx, dword [edi + edx*4]
xor edx, ecx
movzx ecx, dl
add ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [edi + ecx*4]
mov dword [esi + 8], edx
ret

Function at 0x42b960
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, 0x34567890
mov dword [ecx], 0x12345678
mov dword [ecx + 4], 0x23456789
mov dword [ecx + 8], edi
mov dl, byte [eax]
test dl, dl
je 0x42b9da
push esi
mov esi, dword [ecx + 4]
lea ebx, [ebx]
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
and edx, 0xff
mov edx, dword [ebx + edx*4]
shr eax, 8
xor edx, eax
movzx eax, dl
add esi, eax
mov eax, dword [ebp + 8]
imul esi, esi, 0x8088405
mov dword [ecx], edx
inc esi
mov edx, esi
shr edx, 0x18
xor edx, edi
and edx, 0xff
shr edi, 8
mov dword [ecx + 4], esi
xor edi, dword [ebx + edx*4]
inc eax
mov dword [ecx + 8], edi
mov dl, byte [eax]
mov dword [ebp + 8], eax
test dl, dl
jne 0x42b990
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4313d4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x4313e9
xor eax, eax
leave
ret
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00431312
pop ecx
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test esi, esi
je 0x431413
push dword [ebp - 4]
call fcn.00431363
pop ecx
cmp ebx, 0xffffffff
je 0x431422
test bl, 0x10
jne 0x431422
xor eax, eax
inc eax
jmp 0x431424
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x432aca
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x575cac
call fcn.004fb967
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [esi + 4]
xor edi, edi
inc edi
or ecx, edi
push ecx
push ebx
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esi], eax
cmp eax, ebx
je 0x432b1a
mov dword [ebp - 4], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, ebx
call fcn.004fba3f
ret 4
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov dword [esi], eax
cmp eax, ebx
jne 0x432b4b
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], 2
jmp 0x432b01
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 3
jmp 0x432b01

Function at 0x433d9d
Capabilities:
Query environment variable

Disassembly:
push 0x80c
mov eax, 0x57640c
call fcn.004fb9d0
and dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
and dword [ebp - 0x814], 0
mov dword [ebp - 0x818], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.004324a9
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 0x814], esi
call fcn.004fc1f0
add esp, 0xc
push 0x1f4
lea eax, [ebp - 0x810]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x433e31
lea eax, [ebp - 0x810]
push eax
push 0x59a2b8
push ebx
call fcn.00433c96
add esp, 0xc
mov ecx, ebx
call fcn.0043398e
mov ecx, eax
call fcn.004339e0
and dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, ebx
call fcn.004fba53
ret
Function at 0x434b9b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x820
mov eax, 0x576779
call fcn.004fb9d0
mov edi, dword [ebp + 8]
and dword [ebp - 0x814], 0
mov esi, ecx
mov dword [ebp - 0x828], edi
mov dword [ebp - 4], 2
xor eax, eax
push ecx
mov word [ebp - 0x810], ax
xor ebx, ebx
lea eax, [ebp + 0xc]
inc ebx
mov ecx, esp
mov dword [ebp - 0x82c], esp
push eax
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x824], 0x400
mov dword [ebp - 0x818], ebx
call fcn.004324a9
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00432aca
mov dword [ebp - 0x81c], eax
cmp eax, ebx
je 0x434c42
cmp eax, 2
je 0x434c42
cmp eax, 7
je 0x434c42
lea eax, [ebp + 0x10]
push eax
mov ecx, edi
call fcn.004324a9
mov dword [ebp - 0x814], ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
and dword [ebp - 4], 0
jmp 0x434d15
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x820]
push ecx
mov ecx, dword [esi + 4]
or ecx, 0x20019
push ecx
push 0
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esi], eax
test eax, eax
je 0x434c89
lea eax, [ebp + 0x10]
push eax
mov ecx, edi
call fcn.004324a9
mov dword [ebp - 0x814], ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
jmp 0x434c39
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x81c]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi], eax
xor esi, esi
cmp eax, esi
je 0x434cbd
mov dword [ebp - 0x818], esi
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
cmp dword [ebp - 0x818], esi
jne 0x434cf2
lea eax, [ebp + 0x10]
push eax
call fcn.004324a9
mov dword [ebp - 0x814], ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
jmp 0x434d12
lea eax, [ebp - 0x810]
push eax
call fcn.0043479c
mov dword [ebp - 0x814], ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, edi
call fcn.004fba53
ret 0xc
Function at 0x434d2a
Capabilities:
Check if file exists

Disassembly:
push 0x3c
mov eax, 0x576809
call fcn.004fb967
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
xor esi, esi
call fcn.00432a3a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00432a3a
mov byte [ebp - 4], 4
push esi
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 5
push dword [ebp + 8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00434682
cmp eax, esi
je 0x434ddc
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x59a2c0
call fcn.0043479c
mov byte [ebp - 4], 6
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00434b9b
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
je 0x434dcd
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434dcd
inc esi
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00432a92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00432a92
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, esi
call fcn.004fba3f
ret

Function at 0x43507d
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x14
mov eax, 0x576964
call fcn.004fb967
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x435157
push ebx
push 0x102
push ebx
push ebx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x43514e
mov esi, 0x100000
push esi
mov dword [ebp - 0x14], ebx
call fcn.004f8908
push esi
push ebx
push eax
mov dword [ebp - 0x10], eax
call fcn.004fc1f0
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0x10
jmp 0x435123
cmp dword [ebp - 0x14], ebx
jbe 0x435134
push dword [ebp - 0x10]
call fcn.004fba80
pop ecx
mov ecx, dword [ebp + 8]
push eax
push dword [ebp - 0x10]
call fcn.004115a0
push esi
push ebx
push dword [ebp - 0x10]
call fcn.004fc1f0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x4350fc
cmp dword [ebp - 0x10], ebx
je 0x435142
push dword [ebp - 0x10]
call fcn.004fc324
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, esi
call fcn.004fba3f
ret
Function at 0x4399d8
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x168], eax
mov dword [ecx + 0x170], eax
mov dword [ecx + 0x174], eax
mov dword [ecx + 0x14], 0x67452301
mov dword [ecx + 0x18], 0xefcdab89
mov dword [ecx + 0x1c], 0x98badcfe
mov dword [ecx + 0x20], 0x10325476
mov dword [ecx + 0x24], 0xc3d2e1f0
ret

Function at 0x439a1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push 0x10
lea ecx, [esi + 0x28]
pop ebx
call fcn.004399ae
add ecx, 4
dec ebx
jne 0x439a2f
push 0x40
lea eax, [esi + 0x28]
pop ecx
mov edx, dword [eax + 0x34]
xor edx, dword [eax + 0x20]
xor edx, dword [eax + 8]
xor edx, dword [eax]
add eax, 4
dec ecx
rol edx, 1
mov dword [eax + 0x3c], edx
jne 0x439a40
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x1c]
and dword [ebp - 4], 0
mov dword [esi], eax
mov eax, dword [esi + 0x20]
mov ebx, eax
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], 0x28
cmp dword [ebp - 4], 0x14
mov eax, dword [esi]
jae 0x439a9f
mov edx, edi
not edx
and edx, ebx
mov ebx, edi
and ebx, ecx
or edx, ebx
jmp 0x439ac2
cmp dword [ebp - 4], 0x28
jb 0x439abc
cmp dword [ebp - 4], 0x3c
jae 0x439abc
mov edx, ecx
or edx, ebx
and edx, edi
mov edi, ecx
and edi, ebx
or edx, edi
mov edi, dword [ebp - 0xc]
jmp 0x439ac2
mov edx, edi
xor edx, ecx
xor edx, ebx
cmp dword [ebp - 4], 0x14
jae 0x439ad1
mov dword [ebp - 0xc], 0x5a827999
jmp 0x439af5
cmp dword [ebp - 4], 0x28
jae 0x439ae0
mov dword [ebp - 0xc], 0x6ed9eba1
jmp 0x439af5
cmp dword [ebp - 4], 0x3c
sbb ebx, ebx
and ebx, 0xc4b8fb06
add ebx, 0xca62c1d6
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 8]
add dword [ebp - 8], 4
rol eax, 5
add eax, dword [ebx + esi]
mov ebx, ecx
add eax, dword [ebp - 0x10]
mov dword [esi + 0xc], ecx
add eax, dword [ebp - 0xc]
add eax, edx
mov edx, dword [ebp - 0x14]
inc dword [ebp - 4]
ror edi, 2
cmp dword [ebp - 8], 0x168
mov dword [ebp - 0x14], ecx
mov ecx, edi
mov edi, dword [esi]
mov dword [ebp - 0x10], edx
mov dword [esi + 0x10], edx
mov dword [esi + 8], ecx
mov dword [ebp - 0xc], edi
mov dword [esi + 4], edi
mov dword [esi], eax
jb 0x439a89
mov edx, dword [esi + 0x14]
add edi, dword [esi + 0x18]
add edx, eax
mov eax, dword [esi + 0x1c]
add eax, ecx
mov dword [esi + 0x1c], eax
mov eax, ebx
add eax, dword [esi + 0x20]
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
add eax, dword [esi + 0x24]
and dword [esi + 0x168], 0
pop edi
mov dword [esi + 0x14], edx
mov dword [esi + 0x24], eax
pop esi
pop ebx
leave
ret