joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bbe09
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x4bbe46
cmp dword [ebp + 0x14], edi
je 0x4bbe46
cmp ecx, edi
jne 0x4bbe4d
call fcn.004bfb9b
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004b9bb0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4bbe61
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4bbe82
cmp ebx, 0xffffffff
je 0x4bbe71
push ebx
push edi
push ecx
call fcn.004bbbe0
add esp, 0xc
cmp esi, edi
je 0x4bbe2e
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4bbe2e
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4bbe9e
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4bbea5
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4bbf96
test word [esi + 0xc], 0x10c
je 0x4bbef9
mov eax, dword [esi + 4]
test eax, eax
je 0x4bbef9
jl 0x4bbff7
cmp ebx, eax
mov edi, ebx
jb 0x4bbeca
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4bbf9e
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004b920b
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 0x4bbf8e
cmp ebx, dword [ebp - 0xc]
jb 0x4bbf66
cmp dword [ebp - 0xc], 0
je 0x4bbf23
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4bbf18
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4bbf1f
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4bbf2e
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4bbf2e
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4bbfca
push eax
push dword [ebp - 8]
push esi
call fcn.004c2b09
pop ecx
push eax
call fcn.004c78d9
add esp, 0xc
test eax, eax
je 0x4bc009
cmp eax, 0xffffffff
je 0x4bbff7
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4bbf8e
push esi
call fcn.004c71f8
cmp eax, 0xffffffff
pop ecx
je 0x4bbffb
cmp dword [ebp - 4], 0
je 0x4bbfca
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 0x4bbead
mov eax, dword [ebp + 0x14]
jmp 0x4bbe48
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4bbfb5
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004bbbe0
add esp, 0xc
call fcn.004bfb9b
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4bbe3e
cmp dword [ebp + 0xc], 0xffffffff
je 0x4bbfe0
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004bbbe0
add esp, 0xc
call fcn.004bfb9b
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4bbe3e
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4bbe48
or dword [esi + 0xc], 0x10
jmp 0x4bbffb
Function at 0x4c4c11
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x5e64c8]
je 0x4c4c2c
inc edi
cmp edi, 0x17
jb 0x4c4c1d
cmp edi, 0x17
jae 0x4c4dac
push ebp
push 3
call fcn.004d3a3f
cmp eax, 1
pop ecx
je 0x4c4d78
push 3
call fcn.004d3a3f
test eax, eax
pop ecx
jne 0x4c4c60
cmp dword [0x5e6328], 1
je 0x4c4d78
cmp ebx, 0xfc
je 0x4c4dab
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x5f7608
push ebp
call fcn.004c1536
add esp, 0xc
test eax, eax
je 0x4c4c96
push esi
push esi
push esi
push esi
push esi
call fcn.004b9ab4
add esp, 0x14
push 0x104
mov esi, 0x5f7621
push esi
push 0
mov byte [0x5f7725], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c4cda
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004c1536
add esp, 0xc
test eax, eax
je 0x4c4cda
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004b9ab4
add esp, 0x14
push esi
call fcn.004b94b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4c4d1f
push esi
call fcn.004b94b0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x5f791c
push 0x5af20c
sub ecx, eax
push ecx
push eax
call fcn.004cdf45
add esp, 0x14
test eax, eax
je 0x4c4d1f
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004b9ab4
add esp, 0x14
jmp 0x4c4d21
xor esi, esi
push 0x5af208
push ebx
push ebp
call fcn.004d39ce
add esp, 0xc
test eax, eax
je 0x4c4d41
push esi
push esi
push esi
push esi
push esi
call fcn.004b9ab4
add esp, 0x14
push dword [edi*8 + 0x5e64cc]
push ebx
push ebp
call fcn.004d39ce
add esp, 0xc
test eax, eax
je 0x4c4d63
push esi
push esi
push esi
push esi
push esi
call fcn.004b9ab4
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004d3811
add esp, 0xc
jmp 0x4c4dab
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4c4dab
cmp ebp, 0xffffffff
je 0x4c4dab
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x5e64cc]
push dword [esi]
call fcn.004b94b0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4d3811
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004c4581
xor ebx, ebx
cmp dword [0x5f7cb0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4d38e7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4d39c7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4d39c7
push eax
call fcn.004c4513
mov dword [esp], 0x5baab0
push edi
mov dword [0x5f7cb0], eax
call esi
push eax
call fcn.004c4513
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5f7cb4], eax
call esi
push eax
call fcn.004c4513
mov dword [0x5f7cb8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004c251b
test eax, eax
pop ecx
pop ecx
je 0x4d38b5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004b9ab4
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4d38e7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004c4513
cmp eax, ebx
pop ecx
mov dword [0x5f7cc0], eax
je 0x4d38e7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004c4513
pop ecx
mov dword [0x5f7cbc], eax
mov eax, dword [0x5f7cbc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4d396c
cmp dword [0x5f7cc0], ecx
je 0x4d396c
push eax
call fcn.004c458a
push dword [0x5f7cc0]
mov esi, eax
call fcn.004c458a
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4d396c
cmp edi, ebx
je 0x4d396c
call esi
cmp eax, ebx
je 0x4d3939
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4d3939
test byte [ebp - 0x18], 1
jne 0x4d396c
lea eax, [ebp - 0x10]
push eax
call fcn.004c2552
test eax, eax
pop ecx
je 0x4d3954
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004b9ab4
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4d3963
or dword [ebp + 0x10], 0x200000
jmp 0x4d39a7
or dword [ebp + 0x10], 0x40000
jmp 0x4d39a7
mov eax, dword [0x5f7cb4]
cmp eax, dword [ebp - 8]
je 0x4d39a7
push eax
call fcn.004c458a
cmp eax, ebx
pop ecx
je 0x4d39a7
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4d39a7
mov eax, dword [0x5f7cb8]
cmp eax, dword [ebp - 8]
je 0x4d39a7
push eax
call fcn.004c458a
cmp eax, ebx
pop ecx
je 0x4d39a7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5f7cb0]
call fcn.004c458a
cmp eax, ebx
pop ecx
je 0x4d39c7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4d39c9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4dda0f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004dd94e
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004bbbe0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4dda5e
cmp dword [ebp - 0x1c], 5
jb 0x4dda76
jmp 0x4dda72
cmp dword [ebp - 0x10], 1
jne 0x4dda76
cmp dword [ebp - 0x1c], 4
ja 0x4dda72
jne 0x4dda76
cmp dword [ebp - 0x18], 0
jbe 0x4dda76
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x5bd858
call fcn.004dd7fb
test eax, eax
jge 0x4dda97
mov byte [0x5f87d8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004b9002
add ebp, 0x78
leave
ret

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

Disassembly:
cmp dword [0x5f8030], 0
push esi
jne 0x4ddc89
call fcn.004ddbb4
test eax, eax
je 0x4ddccc
mov eax, dword [0x5f8030]
cmp eax, 1
jne 0x4ddcaa
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4ddccc
pop esi
ret
push eax
call dword [0x5f8038]
test eax, eax
jne 0x4ddd14
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 0x4ddcd0
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x5f8030]
call dword [0x5f8038]
mov edi, eax
test edi, edi
je 0x4ddcf7
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4ddd13
lea edi, [esi + 0xff0]
push esi
push dword [0x5f8030]
call dword [0x5f8034]
add esi, 0x10
cmp esi, edi
jb 0x4ddcfd
mov eax, esi
pop edi
pop esi
ret
jmp 0x4ddc76

Function at 0x4ddf50
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x5e78e4]
cmp eax, 0xffffffff
push esi
je 0x4ddf90
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call esi
test eax, eax
je 0x4ddf90
mov eax, dword [0x5e78e4]
cmp eax, 0xffffffff
jne 0x4ddf76
xor eax, eax
jmp 0x4ddf79
push eax
call esi
mov eax, dword [eax + 0x40]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4ddf90
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4dea10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x599f28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e632c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [0x5e78e4]
cmp eax, 0xffffffff
jne 0x4dea4b
xor ebx, ebx
jmp 0x4dea54
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
mov dword [esp + 0x40], 0
je 0x4dea95
cmp dword [ebx + 0x18], 0
jne 0x4deadb
cmp dword [ebx + 0xc], 0
jne 0x4deae1
push 0x4ddf20
push 0x5f803c
call fcn.004de1e0
mov eax, dword [0x5e78e4]
add esp, 8
cmp eax, 0xffffffff
je 0x4dea95
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test ebx, ebx
mov dword [esp + 0x40], 0xffffffff
je 0x4deac7
lea ecx, [ebx + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4deac7
mov eax, dword [ebx]
mov edx, dword [eax]
push 0
mov ecx, ebx
call edx
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0xc], 0
je 0x4deb29
mov edi, dword [ebx + 0xc]
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x4deb13
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebx + 0xc], 0
jne 0x4deae1
mov ecx, dword [ebx + 0x14]
mov esi, dword [ecx]
lea ebp, [ebx + 0x10]
mov edi, ebp
mov edx, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edx
test edi, edi
je 0x4deb49
cmp edi, ebp
je 0x4deb4e
call fcn.004b9bd4
cmp esi, dword [esp + 0x28]
je 0x4dea64
lea ecx, [esp + 0x1c]
call fcn.0040d5c0
test edi, edi
jne 0x4deb6a
call fcn.004b9bd4
cmp esi, dword [edi + 4]
jne 0x4deb74
call fcn.004b9bd4
cmp dword [esi + 0x10], 0
je 0x4debaf
cmp esi, dword [edi + 4]
jne 0x4deb84
call fcn.004b9bd4
cmp dword [esi + 0x18], 0
je 0x4debaf
cmp esi, dword [edi + 4]
jne 0x4deb94
call fcn.004b9bd4
cmp esi, dword [edi + 4]
mov ebp, dword [esi + 0x10]
jne 0x4deba1
call fcn.004b9bd4
mov ecx, dword [esi + 0x18]
mov eax, dword [ebp]
mov edx, dword [eax + 4]
push ecx
mov ecx, ebp
call edx
push esi
push edi
lea eax, [esp + 0x34]
lea ebp, [ebx + 0x10]
push eax
mov ecx, ebp
call fcn.0040bb10
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x4deb41
Function at 0x4dec60
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x4debd0
push 0
push 0
call fcn.004bc4ee
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x4dec89
pop edi
xor al, al
pop ebx
ret
mov edx, dword [edi]
push esi
add edx, 4
mov eax, 1
lock xadd dword [edx], eax
mov esi, dword [edi]
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x4decb0
cmp eax, 0xffffffff
je 0x4decb0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop edi
mov al, 1
pop ebx
ret
Function at 0x4e2510
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ac3f
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00401a40
add esp, 4
mov dword [ebp - 4], 0
push 0x5bdf20
lea ecx, [ebp - 0x14]
call fcn.0040a390
mov word [ebp - 0x224], 0
push 0x206
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.004bbbe0
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.004287b0
push eax
push 0x103
lea edx, [ebp - 0x224]
push edx
push 0x5bdf44
push 0x5bdf48
push 0x5bdf60
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x10]
call fcn.004053f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405470
mov edx, dword [ebp - 0x228]
or edx, 1
mov dword [ebp - 0x228], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042f130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042f130
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret 4
Function at 0x4e8f90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b774
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], ecx
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x108]
mov edx, dword [edx]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x108]
mov edx, dword [edx]
mov eax, dword [edx + 0xb8]
call eax
push eax
lea ecx, [ebp - 0x9c]
call fcn.0045bf90
mov byte [ebp - 4], 1
push 0x5bf438
mov ecx, dword [ebp + 8]
call fcn.0045c360
movzx ecx, al
test ecx, ecx
je 0x4e90f0
push 0x5bf444
lea ecx, [ebp - 0x124]
call fcn.0045c360
movzx edx, al
test edx, edx
jne 0x4e9071
push str.oem_cancel_btn
lea ecx, [ebp - 0x124]
call fcn.0045c360
movzx eax, al
test eax, eax
jne 0x4e9071
push str.oem_ok_btn
lea ecx, [ebp - 0x124]
call fcn.0045c360
movzx ecx, al
test ecx, ecx
je 0x4e9083
push 0
mov ecx, dword [ebp - 0x128]
sub ecx, 0x20
call fcn.00454810
jmp 0x4e90f0
push str.oem_dl_btn
lea ecx, [ebp - 0x124]
call fcn.0045c360
movzx edx, al
test edx, edx
je 0x4e90b4
push 1
push 0
push 0
push str.http:__www.drivergenius.com_zhuangji.asp
push 0x5bf4fc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4e90f0
push 0x5bf508
lea ecx, [ebp - 0x124]
call fcn.0045c360
movzx eax, al
test eax, eax
jne 0x4e90e2
push str.oem_select_btn
lea ecx, [ebp - 0x124]
call fcn.0045c360
movzx ecx, al
test ecx, ecx
je 0x4e90f0
mov ecx, dword [ebp - 0x128]
sub ecx, 0x20
call fcn.004e8de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.0045bfd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.0045bfd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret 4

Function at 0x4e99c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x113
je 0x4e99e3
cmp dword [ebp - 8], 0x405
je 0x4e99fd
jmp 0x4e9a15
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004e98a0
jmp 0x4e9a15
push 1
push 0
push 0
push 0x5bf788
push 0x5bf7dc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4eb1b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c11e
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], ecx
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x108]
mov edx, dword [edx]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x108]
mov edx, dword [edx]
mov eax, dword [edx + 0xb8]
call eax
push eax
lea ecx, [ebp - 0x9c]
call fcn.0045bf90
mov byte [ebp - 4], 1
push 0x5bf99c
mov ecx, dword [ebp + 8]
call fcn.0045c360
movzx ecx, al
test ecx, ecx
je 0x4eb346
push str.goto_qq
lea ecx, [ebp - 0x124]
call fcn.0045c360
movzx edx, al
test edx, edx
je 0x4eb2a2
push 0xc9
push 0x7d3
call fcn.00582fa0
add esp, 8
push 1
push 0
push 0
push 0x5bf9b8
push 0x5bfa84
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
mov ecx, dword [ebp - 0x128]
sub ecx, 0x20
call fcn.00454810
jmp 0x4eb346
push str.goto_bbs
lea ecx, [ebp - 0x124]
call fcn.0045c360
movzx eax, al
test eax, eax
je 0x4eb2f5
push 0xc9
push 0x7d2
call fcn.00582fa0
add esp, 8
push 1
push 0
push 0
push 0x5bfaa8
push 0x5bfafc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
mov ecx, dword [ebp - 0x128]
sub ecx, 0x20
call fcn.00454810
jmp 0x4eb346
push str.goto_duba
lea ecx, [ebp - 0x124]
call fcn.0045c360
movzx ecx, al
test ecx, ecx
je 0x4eb346
push 0xc9
push 0x7d4
call fcn.00582fa0
add esp, 8
push 1
push 0
push 0
push str.http:__u.duba.com_
push 0x5bfb44
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
mov ecx, dword [ebp - 0x128]
sub ecx, 0x20
call fcn.00454810
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x128]
call fcn.00460610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.0045bfd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.0045bfd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret 4
Function at 0x4ec130
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
jmp 0x4ec16f
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x100
jge 0x4ec190
mov ecx, dword [ebp - 0x10c]
mov dl, byte [ebp - 0x10c]
mov byte [ebp + ecx - 0x108], dl
jmp 0x4ec160
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x10c], 0
jmp 0x4ec1b5
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x100
jge 0x4ec23c
mov ecx, dword [ebp - 0x10c]
movzx edx, byte [ebp + ecx - 0x108]
mov dword [ebp - 0x118], edx
mov ecx, dword [ebp - 0x11c]
add ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x10c]
cdq
idiv dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax + edx]
add ecx, edx
and ecx, 0x800000ff
jns 0x4ec204
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x11c]
mov dl, byte [ebp + ecx - 0x108]
mov byte [ebp + eax - 0x108], dl
mov eax, dword [ebp - 0x11c]
mov cl, byte [ebp - 0x118]
mov byte [ebp + eax - 0x108], cl
jmp 0x4ec1a6
mov dword [ebp - 0x10c], 0
jmp 0x4ec257
mov edx, dword [ebp - 0x10c]
add edx, 1
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp + 0x18]
jge 0x4ec339
mov ecx, dword [ebp - 4]
add ecx, 1
and ecx, 0x800000ff
jns 0x4ec27c
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, byte [ebp + edx - 0x108]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x110]
add ecx, dword [ebp - 0x118]
and ecx, 0x800000ff
jns 0x4ec2ac
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x110]
mov cl, byte [ebp + eax - 0x108]
mov byte [ebp + edx - 0x108], cl
mov edx, dword [ebp - 0x110]
mov al, byte [ebp - 0x118]
mov byte [ebp + edx - 0x108], al
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp + ecx - 0x108]
mov eax, dword [ebp - 0x110]
movzx ecx, byte [ebp + eax - 0x108]
add edx, ecx
and edx, 0x800000ff
jns 0x4ec307
dec edx
or edx, 0xffffff00
inc edx
mov dl, byte [ebp + edx - 0x108]
mov byte [ebp - 0x111], dl
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x10c]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 0x111]
xor ecx, edx
mov eax, dword [ebp + 0x1c]
add eax, dword [ebp - 0x10c]
mov byte [eax], cl
jmp 0x4ec248
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret

Function at 0x4ed1c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
pop ebp
ret