joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1d43851
Capabilities:
Create service
Delete service
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
xor edi, edi
push 0xf003f
push edi
push edi
mov dword [ebp - 4], edi
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x1d4387b
xor eax, eax
jmp 0x1d4399d
push esi
mov esi, 0xf01ff
cmp dword [ebp + 0x10], edi
je 0x1d438c5
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x1d438c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7b
jne 0x1d438a8
xor esi, esi
inc esi
jmp 0x1d438b5
xor ecx, ecx
cmp eax, 0x424
setne cl
lea esi, [ecx + 2]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
jmp 0x1d4399c
mov eax, dword [ebp + 0x10]
sub eax, edi
je 0x1d43946
dec eax
je 0x1d4391e
dec eax
je 0x1d438f2
dec eax
jne 0x1d43983
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
add ebx, 0xd
jmp 0x1d43983
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1d4391a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x426
setne bl
add ebx, 0xa
jmp 0x1d43983
push 0xc
jmp 0x1d43982
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x1d43942
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x420
setne bl
add ebx, 7
jmp 0x1d43983
push 9
jmp 0x1d43982
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 8]
push 1
push 3
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x1d43980
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x431
setne bl
add ebx, 4
jmp 0x1d43991
push 6
pop ebx
cmp dword [ebp - 4], edi
je 0x1d43991
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
pop esi
pop edi
pop ebx
leave
ret

Function at 0x1d43d7d
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1d43dc8
add eax, dword [eax + 0x3c]
mov ecx, 0x4550
cmp dword [eax], ecx
jne 0x1d43dc8
mov edx, dword [esp + 8]
mov dword [edx], eax
cmp dword [eax], ecx
jne 0x1d43dc8
mov ecx, dword [esp + 0xc]
add eax, 4
mov dword [edx], eax
add eax, 0x14
mov dword [ecx], eax
mov ecx, 0x10b
cmp word [eax], cx
jne 0x1d43dc8
mov ecx, dword [esp + 0x10]
add eax, 0xe0
mov dword [ecx], eax
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x1d44f50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push 0x72
mov esi, ecx
pop ebx
xor edx, edx
mov eax, dword [esp + 0xc]
mov al, byte [eax + edx - 0x36a45c9e]
xor al, bl
inc ebx
and ebx, 0x800000ff
mov byte [edx + esi], al
jns 0x1d44f7a
dec ebx
or ebx, 0xffffff00
inc ebx
inc edx
cmp edx, 0x22
jl 0x1d44f59
mov byte [esi + 0x22], 0
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x1d44f8b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe2
xor edx, edx
mov eax, dword [esp + 0xc]
mov al, byte [eax + edx - 0x65ac5606]
xor al, bl
inc ebx
and ebx, 0x800000ff
mov byte [edx + esi], al
jns 0x1d44fb7
dec ebx
or ebx, 0xffffff00
inc ebx
inc edx
cmp edx, 0xb
jl 0x1d44f96
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x1d44fc8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0x8e
xor edx, edx
mov eax, dword [esp + 0xc]
mov al, byte [eax + edx - 0x16ba05af]
xor al, bl
inc ebx
and ebx, 0x800000ff
mov byte [edx + esi], al
jns 0x1d44ff4
dec ebx
or ebx, 0xffffff00
inc ebx
inc edx
cmp edx, 0xc
jl 0x1d44fd3
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x1d45005
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0x81
xor edx, edx
mov eax, dword [esp + 0xc]
mov al, byte [eax + edx - 0x77c5bdd9]
xor al, bl
inc ebx
and ebx, 0x800000ff
mov byte [edx + esi], al
jns 0x1d45031
dec ebx
or ebx, 0xffffff00
inc ebx
inc edx
cmp edx, 9
jl 0x1d45010
mov byte [esi + 9], 0
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x1d45042
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xd7
xor edx, edx
mov eax, dword [esp + 0xc]
mov al, byte [eax + edx + 0x50bc9f13]
xor al, bl
inc ebx
and ebx, 0x800000ff
mov byte [edx + esi], al
jns 0x1d4506e
dec ebx
or ebx, 0xffffff00
inc ebx
inc edx
cmp edx, 5
jl 0x1d4504d
mov byte [esi + 5], 0
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x1d4507f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xfb
xor edx, edx
mov eax, dword [esp + 0xc]
mov al, byte [eax + edx + 0x4d043a55]
xor al, bl
inc ebx
and ebx, 0x800000ff
mov byte [edx + esi], al
jns 0x1d450ab
dec ebx
or ebx, 0xffffff00
inc ebx
inc edx
cmp edx, 4
jl 0x1d4508a
mov byte [esi + 4], 0
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x1d450bc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xfc
xor edx, edx
mov eax, dword [esp + 0xc]
mov al, byte [eax + edx + 0x45f0ed0b]
xor al, bl
inc ebx
and ebx, 0x800000ff
mov byte [edx + esi], al
jns 0x1d450e8
dec ebx
or ebx, 0xffffff00
inc ebx
inc edx
cmp edx, 0x22
jl 0x1d450c7
mov byte [esi + 0x22], 0
mov eax, esi
pop esi
pop ebx
ret 4
Function at 0x1d450f9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push 3
mov esi, ecx
pop ebx
xor edx, edx
mov eax, dword [esp + 0xc]
mov al, byte [eax + edx + 0x6194e30f]
xor al, bl
inc ebx
and ebx, 0x800000ff
mov byte [edx + esi], al
jns 0x1d45123
dec ebx
or ebx, 0xffffff00
inc ebx
inc edx
cmp edx, 0xc
jl 0x1d45102
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x1d45134
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0x96
xor edx, edx
mov eax, dword [esp + 0xc]
mov al, byte [eax + edx + 0x29a4d1fe]
xor al, bl
inc ebx
and ebx, 0x800000ff
mov byte [edx + esi], al
jns 0x1d45160
dec ebx
or ebx, 0xffffff00
inc ebx
inc edx
cmp edx, 0xb
jl 0x1d4513f
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x1d45171
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push 0x70
mov esi, ecx
pop ebx
xor edx, edx
mov eax, dword [esp + 0xc]
mov al, byte [eax + edx - 0x6fd4f066]
xor al, bl
inc ebx
and ebx, 0x800000ff
mov byte [edx + esi], al
jns 0x1d4519b
dec ebx
or ebx, 0xffffff00
inc ebx
inc edx
cmp edx, 0x22
jl 0x1d4517a
mov byte [esi + 0x22], 0
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x1d451e7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xfb
xor edx, edx
mov eax, dword [esp + 0xc]
mov al, byte [eax + edx - 0x5318d13b]
xor al, bl
inc ebx
and ebx, 0x800000ff
mov byte [edx + esi], al
jns 0x1d45213
dec ebx
or ebx, 0xffffff00
inc ebx
inc edx
cmp edx, 0x17
jl 0x1d451f2
mov byte [esi + 0x17], 0
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x1d45224
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xa5
xor edx, edx
mov eax, dword [esp + 0xc]
mov al, byte [eax + edx - 0x2d8cbbb7]
xor al, bl
inc ebx
and ebx, 0x800000ff
mov byte [edx + esi], al
jns 0x1d45250
dec ebx
or ebx, 0xffffff00
inc ebx
inc edx
cmp edx, 0x17
jl 0x1d4522f
mov byte [esi + 0x17], 0
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x1d45261
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push 0x39
mov esi, ecx
pop ebx
xor edx, edx
mov eax, dword [esp + 0xc]
mov al, byte [eax + edx + 0x3d729921]
xor al, bl
inc ebx
and ebx, 0x800000ff
mov byte [edx + esi], al
jns 0x1d4528b
dec ebx
or ebx, 0xffffff00
inc ebx
inc edx
cmp edx, 0x1e
jl 0x1d4526a
mov byte [esi + 0x1e], 0
mov eax, esi
pop esi
pop ebx
ret 4
Function at 0x1d46093
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1d5ae8b
call fcn.01d55708
mov eax, dword [ebp + 8]
sub esp, 0x820
push ebx
push esi
mov esi, ecx
mov edx, esi
sub edx, eax
xor ebx, ebx
mov cl, byte [eax]
mov byte [edx + eax + 4], cl
inc eax
cmp cl, bl
jne 0x1d4609c
mov eax, dword [ebp + 0xc]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x7c], cl
inc eax
cmp cl, bl
jne 0x1d460ae
movzx eax, byte [ebp + 0x10]
push 0x12
mov ecx, esi
mov dword [esi + 0x1e8], eax
call fcn.01d45841
push 0x3ff
lea eax, [ebp - 0x42b]
push ebx
push eax
mov byte [ebp - 0x42c], bl
call sub.MSVCR100.dll_memset
lea eax, [ebp + 8]
push eax
push 0x400
lea eax, [ebp - 0x42c]
push eax
lea eax, [esi + 0xb1]
push 0x9d
push eax
call fcn.01d46cb6
add esp, 0x20
cmp eax, ebx
jne 0x1d46113
xor al, al
jmp 0x1d46230
push dword [ebp + 8]
lea eax, [ebp - 0x42c]
push eax
mov ecx, esi
call fcn.01d45811
test eax, eax
je 0x1d4610c
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov eax, 0x1d6e66c
sub eax, 0x57bd9b5f
push eax
lea ecx, [ebp - 0x2a]
mov dword [ebp - 4], ebx
call fcn.01d0c2c9
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push eax
push connect
lea ecx, [ebp - 0x18]
call fcn.01d0c01b
neg eax
sbb al, al
inc al
je 0x1d461b9
mov eax, dword [ebp + 8]
mov cl, byte [esi + 0xa9]
mov byte [ebp + eax - 0x42c], cl
mov cl, byte [esi + 0xaa]
mov byte [ebp + eax - 0x42b], cl
mov cl, byte [esi + 0xab]
mov byte [ebp + eax - 0x42a], cl
mov cl, byte [esi + 0xac]
mov byte [ebp + eax - 0x429], cl
add eax, 4
push eax
lea eax, [ebp - 0x42c]
push eax
push 3
push ebx
push 0x1d6e680
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
lea ecx, [ebp - 0x18]
call fcn.01d078f0
push dword [ebp + 8]
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x42c]
push eax
movzx eax, byte [esi + 0xa8]
push eax
lea ecx, [esi + 0x1e4]
call fcn.01d40d85
mov edi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x82c]
push eax
lea eax, [esi + 0x1454]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push edi
lea eax, [ebp - 0x82c]
push eax
lea ecx, [esi + 0x218]
mov dword [esi + 0x1854], edi
call fcn.01d46c02
mov eax, dword [esi + 0x21c]
lea ecx, [ebp - 0x18]
mov dword [esi + 0xa4], eax
call fcn.01d078f0
mov al, 1
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x1d46cb6
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push 0x1d6e6f0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x1d46d9c
push edi
push ebx
push ebx
push 3
push ebx
push ebx
push 0x1bb
push 0x1d6e6f8
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x1d46d96
push esi
push ebx
push 0x84800000
push ebx
push ebx
push ebx
push 0x1d6e708
push 0x1d6e714
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
je 0x1d46d90
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x1d46d8d
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x13
push esi
mov dword [ebp - 8], 0x20
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1d46d8d
cmp byte [ebp - 0x30], 0x32
jne 0x1d46d8d
cmp byte [ebp - 0x2f], 0x30
jne 0x1d46d8d
cmp byte [ebp - 0x2e], 0x30
jne 0x1d46d8d
cmp byte [ebp - 0x2d], bl
jne 0x1d46d8d
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
mov dword [ebp - 4], ebx
push dword [ebp + 0x10]
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1d46d8d
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov bl, 1
push esi
call edi
push dword [ebp - 0xc]
call edi
pop esi
push dword [ebp - 0x10]
call edi
pop edi
movzx eax, bl
pop ebx
leave
ret
Function at 0x1d473c9
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
push 0x40
lea esi, [ecx + 0x5c]
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call sub.MSVCR100.dll_memset
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret

Function at 0x1d47c92
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1d5af53
call fcn.01d55708
sub esp, 0x4b8
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push ebx
push 0x80
push 3
push ebx
push 1
push connect
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x1d47cef
mov ecx, dword [ebp + 8]
push str.001233
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x1d47d96
push esi
push edi
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], vtable.MD5_CTX.0
call fcn.01d473c9
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [ebp - 4], 1
mov edi, 0x400
jmp 0x1d47d31
cmp dword [ebp - 0x18], ebx
je 0x1d47d47
push dword [ebp - 0x18]
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0xc4]
call fcn.01d47aeb
push ebx
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x4c4]
push eax
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x1d47d17
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc4]
call fcn.01d47b8e
push 0x10
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01d472f3
add esp, 0xc
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1d499d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movzx edi, ax
cmp edi, 0x14
jae 0x1d499f8
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov cl, byte [esi]
mov dl, byte [esi + 1]
push ebx
push 0x10
lea eax, [ebp - 0xc]
mov byte [ebp - 4], cl
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 0xc], 0
mov byte [ebp - 3], dl
mov byte [ebp - 2], 0
call dword [sym.imp.MSVCR100.dll_strtol]
movzx ecx, ax
movzx ebx, cx
lea edx, [ebx + 4]
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
add esp, 0xc
mov dword [ebp - 0x14], ecx
cmp edi, edx
je 0x1d49a52
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
movzx edx, word [ebp + 0x10]
dec edx
cmp ebx, edx
jg 0x1d49ac6
xor edi, edi
test ebx, ebx
jle 0x1d49abf
add esi, 2
movzx eax, byte [esi - 2]
mov cl, byte [esi - 1]
mov dl, byte [esi]
mov byte [ebp - 7], cl
mov byte [ebp - 8], al
movzx eax, byte [esi + 1]
push 0x10
lea ecx, [ebp - 0xc]
mov byte [ebp - 4], dl
push ecx
lea edx, [ebp - 8]
push edx
mov byte [ebp - 6], 0
mov byte [ebp - 3], al
mov byte [ebp - 2], 0
call dword [sym.imp.MSVCR100.dll_strtol]
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.MSVCR100.dll_strtol]
xor al, byte [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov byte [edi + edx], al
inc edi
add esp, 0x18
add esi, 4
cmp edi, ebx
jl 0x1d49a64
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov byte [ebx + eax], 0
pop ebx
pop edi
mov ax, cx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1d4a2d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1d89190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x10]
xor ecx, ecx
lea ecx, [ecx]
movzx edx, byte [eax]
mov byte [ebp + ecx - 0xc], dl
movzx edx, byte [eax + 1]
mov byte [ebp + ecx - 0xb], dl
movzx edx, byte [eax + 2]
mov byte [ebp + ecx - 0xa], dl
movzx edx, byte [eax + 3]
mov byte [ebp + ecx - 9], dl
add ecx, 4
add eax, 4
cmp ecx, 8
jb 0x1d4a2f0
mov ecx, dword [esi + 0x10]
shr ecx, 3
and ecx, 0x3f
mov eax, 0x38
cmp ecx, 0x38
jb 0x1d4a332
mov eax, 0x78
sub eax, ecx
push eax
lea edi, [esi + 0x58]
push edi
mov ecx, esi
call fcn.01d4a210
push 8
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.01d4a210
lea ecx, [ebx + 1]
lea eax, [esi + 2]
mov edx, 4
jmp 0x1d4a360
movzx ebx, byte [eax - 2]
mov byte [ecx - 1], bl
movzx ebx, byte [eax - 1]
mov byte [ecx], bl
movzx ebx, byte [eax]
mov byte [ecx + 1], bl
movzx ebx, byte [eax + 1]
mov byte [ecx + 2], bl
add eax, 4
add ecx, 4
dec edx
jne 0x1d4a360
push 0x98
push edx
push esi
call sub.MSVCR100.dll_memset
push 0x40
push 0
push edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 4]
add esp, 0x18
mov byte [edi], 0x80
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01d55e87
mov esp, ebp
pop ebp
ret 4

Function at 0x1d4a3e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x1d89190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xac], 0x67452301
mov dword [ebp - 0xa8], 0xefcdab89
mov dword [ebp - 0xa4], 0x98badcfe
mov dword [ebp - 0xa0], 0x10325476
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
mov byte [ebp - 0x54], 0x80
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
lea ecx, [ebp - 0xac]
call fcn.01d4a210
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xac]
call fcn.01d4a2d0
mov byte [edi], bl
mov ebx, dword [sym.imp.MSVCR100.dll_sprintf]
xor esi, esi
movzx edx, byte [ebp + esi - 0x14]
push edx
push str._02x
push edi
call ebx
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x1d4a472
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01d55e87
mov esp, ebp
pop ebp
ret

Function at 0x1d4a780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0x140], 0
je 0x1d4a7b6
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.mfc100.dll_Ordinal_4345
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x1d4a510
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, esi
call sub.mfc100.dll_Ordinal_3390
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1d4a950
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1d5b1dc
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x1d89190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
mov edi, ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1d4a987
sub eax, edx
lea ecx, [esi + 2]
push ecx
add eax, 0xfffffffd
push eax
push str._.s
lea edx, [ebp - 0x74]
push 0x63
push edx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x14
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x8c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push str.play_gogogo
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x1d4a9fa
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.mfc100.dll_Ordinal_4345
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x536
push edx
jmp 0x1d4aaae
mov eax, 0x1d6ef48
sub eax, 0x8f33677
push eax
lea ecx, [ebp - 0x88]
call fcn.01d06342
lea ecx, [ebp - 0x90]
push ecx
push 0xf003f
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
sete al
test al, al
je 0x1d4aa72
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1d4aa38
sub eax, edx
mov edx, 0x1d6ef3c
sub edx, 0x19797830
push edx
lea ecx, [ebp - 0x84]
lea esi, [eax - 1]
call fcn.01d0637f
mov edx, dword [ebp - 0x90]
push esi
lea ecx, [ebp - 0x74]
push ecx
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_GetParent]
push ecx
call esi
push eax
call sub.mfc100.dll_Ordinal_4345
mov edx, dword [eax + 0x20]
push edx
call esi
push eax
call sub.mfc100.dll_Ordinal_4345
test eax, eax
je 0x1d4aab4
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x478
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x8c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01d55e87
mov esp, ebp
pop ebp
ret 4
Function at 0x1d4ac90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1d89190]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
lea edx, [ebp - 0x44]
push edi
mov esi, ecx
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1d4acb0
xor eax, eax
push 0x1000
push eax
lea edi, [esi + 0xc]
lea ebx, [esi + 0x1110]
push edi
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [ebx], eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x4c], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
je 0x1d4ad7e
cmp eax, 0x1000
ja 0x1d4ad7e
mov edx, dword [ebp - 0x4c]
push edi
push 0x1000
mov dword [esi + 8], eax
push edx
lea eax, [ebp - 0x44]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1d4ad7e
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x50]
push edx
xor eax, eax
push str.VarFileInfoTranslation
push edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1d4ad4a
mov eax, dword [ebp - 0x50]
movzx edx, word [eax]
movzx ecx, word [eax + 2]
shl edx, 0x10
or ecx, edx
mov dword [esi + 4], ecx
lea eax, [ebp - 0x48]
push eax
push ebx
push 0x1d6f008
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1d4ad7e
cmp dword [ebp - 0x48], 0x34
jne 0x1d4ad7e
cmp dword [ebx], 0
je 0x1d4ad7e
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01d55e87
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.01d55e87
mov esp, ebp
pop ebp
ret 4