joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49ef28
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 0x49efe2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004051d8
mov eax, dword [0x50c9b0]
cmp byte [eax], 0
je 0x49ef97
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405538
mov eax, dword [ebx]
call fcn.00405364
push eax
mov eax, dword [ebx]
call fcn.00405354
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405364
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405538
jmp 0x49efc9
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.00409f5c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405344
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49efe9
lea eax, [ebp - 0x3f0]
call fcn.00404a90
ret

Function at 0x49eff0
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.00409f5c
add esp, 0x3ec
pop ebx
ret
Function at 0x4ae194
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4ae19c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ae38e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4ae3a4
mov eax, esi
call fcn.004ac020
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404ae4
lea ecx, [ebp - 0x10]
mov edx, 0x4ae3b8
mov eax, esi
call fcn.004ac020
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404ae4
lea ecx, [ebp - 0x14]
mov edx, 0x4ae3d0
mov eax, esi
call fcn.004ac020
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404ae4
lea ecx, [ebp - 0x18]
mov edx, 0x4ae3ec
mov eax, esi
call fcn.004ac020
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404ae4
lea ecx, [ebp - 0x1c]
mov edx, 0x4ae408
mov eax, esi
call fcn.004ac020
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404ae4
lea ecx, [ebp - 0x24]
mov edx, 0x4ae420
mov eax, esi
call fcn.004ac020
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004091f4
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409638
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4ae438
mov eax, esi
call fcn.004ac020
mov eax, dword [ebp - 0x28]
call fcn.004a5af8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4ae448
mov eax, esi
call fcn.004ac020
mov eax, dword [ebp - 0x2c]
call fcn.004a5af8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4ae460
mov eax, esi
call fcn.004ac020
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409638
inc eax
je 0x4ae331
lea ecx, [ebp - 0x34]
mov edx, 0x4ae460
mov eax, esi
call fcn.004ac020
mov eax, dword [ebp - 0x34]
call fcn.004095fc
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040b0d4
fstp qword [ebp - 0x3c]
wait
call fcn.0040b444
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4ae34c
lea ecx, [ebp - 0x40]
mov edx, 0x4ae460
mov eax, esi
call fcn.004ac020
mov eax, dword [ebp - 0x40]
call fcn.004a5af8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4ae470
mov eax, esi
call fcn.004ac020
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404ae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae395
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404ab4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404ab4
ret
Function at 0x4b5120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4b517a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004b5110
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004a4764
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004a4364
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5181
lea eax, [ebp - 4]
call fcn.00404a90
ret

Function at 0x4b89c4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4178ac]
call fcn.004055a0
xor eax, eax
push ebp
push 0x4b8b08
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x50aa60], 0
jne 0x4b8a17
mov ecx, dword [0x50c8d8]
mov dl, 1
mov eax, dword [0x4082a0]
call fcn.0040d368
call fcn.00404420
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004034dc
mov eax, ebx
call fcn.00405354
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4b8b18
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004066f4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405364
test eax, eax
jle 0x4b8aaf
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4b8aa8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404d18
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404d00
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409184
test eax, eax
jne 0x4b8aa8
mov ebx, 0x15
jmp 0x4b8ab4
mov ebx, 0x10
jmp 0x4b8ab4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x50aa60]
call fcn.004b891c
mov eax, dword [ebp - 8]
call fcn.004b891c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040670c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8b0f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404ab4
lea eax, [ebp - 0x10]
mov edx, dword [0x4178ac]
call fcn.00405670
ret

Function at 0x4bfea0
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x50ac80]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x4bfedc
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4bfef4
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4bfeed
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.004034dc
xor edx, edx
mov eax, 0x50ae80
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4bff5e
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4bff12
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x4c019c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4c01b5
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4c01ae
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4c01c7
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4c01c0
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004bfd90
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4c01e1
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004bfea0
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4c0266
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4c0283
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004bfe20
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4c02ac
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c02c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4c02dd
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4c02d6
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4c02f1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004bfc88
test bl, bl
jne 0x4c03c4
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x50f09c
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4c0328
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4c033c
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004c019c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4c036e
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4c031d
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4c0391
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4c03a2
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4c03b6
jmp 0x4c047f
cmp bl, 1
jne 0x4c047f
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x50f0f6
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4c03e4
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4c03f8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004c019c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4c042a
sub ebx, 6
inc dword [ebp - 8]
jne 0x4c03d9
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4c0451
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4c0462
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4c0476
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004bfd0c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4c39a4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4c39d2
mov eax, ebx
call fcn.004c4458
cmp dword [ebx + 0x40], 0
je 0x4c39cb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4c3a43
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4c3a35
cmp dword [ebx + 8], 0
je 0x4c39f4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4c3a06
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c3a35
cmp dword [ebx + 8], 0
je 0x4c39e7
cmp eax, 3
je 0x4c3a19
dec eax
jne 0x4c39e7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4c39e7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4c39e7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4c3a61
cmp dword [ebx + 0x14], 0xcc
je 0x4c3a61
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004c3a6c
pop ebx
ret
Function at 0x4d4adc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x4d4b06
cmp dword [ebx + 0x64], 0
jne 0x4d4b06
cmp dword [ebx + 0x6c], 0
jne 0x4d4b06
mov esi, edi
jmp 0x4d4b9e
cmp esi, 0xffffffff
jne 0x4d4b11
dec esi
jmp 0x4d4b9e
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x4d4b9e
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.004d3ff0
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x4d4b5e
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x4d4b66
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x4d4b45
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
mov dword [esp], edx
sub dword [esp], 2
mov edx, dword [esp]
movzx edx, word [edx]
cmp edi, edx
ja 0x4d4b8f
sub dx, di
mov ecx, dword [esp]
mov word [ecx], dx
jmp 0x4d4b97
mov edx, dword [esp]
mov word [edx], 0
dec eax
test eax, eax
jne 0x4d4b76
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x4d4bfc
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.004d4800
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4d4be7
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4d4bfc
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4d4ae6
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e60c4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4e60d9
add esp, 0xfffffff0
call fcn.00403fb8
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404f40
xor eax, eax
push ebp
push 0x4e61b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004e136c
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00419604
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00419604
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00419604
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00419604
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041962c
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e61bb
lea eax, [ebp - 4]
call fcn.00404a90
ret
Function at 0x4ebbbc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ebcb8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4ebcd0
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.00404ae4
push 0xffffffffffffffff
mov ecx, 0x4ebce0
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x4ebcfc
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004db6d0
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4ebd18
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004db5bc
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4ebd2c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004db5bc
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4ebd44
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004db5bc
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x4ebd60
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004db6d0
mov byte [ebx + 0x44], al
mov ecx, 0x4ebd74
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004e0eb8
mov byte [ebx + 0x45], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ebcbf
lea eax, [ebp - 4]
call fcn.00404a90
ret

Function at 0x4fdb34
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407c64
ret

Function at 0x5015b0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f40
mov eax, dword [ebp - 8]
call fcn.00404f40
xor eax, eax
push ebp
push 0x50163e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x501617
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404f50
push eax
mov eax, dword [ebp - 4]
call fcn.00404f50
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x501623
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501645
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ab4
ret
Function at 0x501678
Capabilities:
Clear file content
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
xor ecx, ecx
push ebp
push 0x5017c4
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor ecx, ecx
push ebp
push 0x5017a4
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov byte [ebp - 1], 0
push eax
push edx
mov eax, dword [0x50e668]
push eax
call sub.kernel32.dll_FindResourceA
mov edi, eax
test edi, edi
jne 0x5016c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5017ae
push edi
mov eax, dword [0x50e668]
push eax
call sub.kernel32.dll_LoadResource
mov esi, eax
test esi, esi
jne 0x5016e7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5017ae
push esi
call sub.kernel32.dll_LockResource
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x501703
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5017ae
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404c88
mov eax, dword [ebp - 0x10]
call fcn.00409ae4
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x50173e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5017ae
push edi
mov eax, dword [0x50e668]
push eax
call sub.kernel32.dll_SizeofResource
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp + 8]
call fcn.00404d50
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push edi
mov eax, dword [ebp + 8]
call fcn.00404f50
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_SetEndOfFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, esi
call fcn.00407c6c
push esi
call sub.kernel32.dll_FreeResource
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5017ae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5017cb
lea eax, [ebp - 0x10]
call fcn.00404a90
ret

Function at 0x501928
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x501992
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x50197a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x100]
call fcn.00409f5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x501984
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501999
ret