joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10062e02
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 + 0x10098b98]
je 0x10062e1d
inc edi
cmp edi, 0x17
jb 0x10062e0e
cmp edi, 0x17
jae 0x10062f9d
push ebp
push 3
call fcn.1006a781
cmp eax, 1
pop ecx
je 0x10062f69
push 3
call fcn.1006a781
test eax, eax
pop ecx
jne 0x10062e51
cmp dword [0x1009c7f8], 1
je 0x10062f69
cmp ebx, 0xfc
je 0x10062f9c
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x1009cd38
push ebp
call fcn.1005ecf8
add esp, 0xc
test eax, eax
je 0x10062e87
push esi
push esi
push esi
push esi
push esi
call fcn.10052f74
add esp, 0x14
push 0x104
mov esi, 0x1009cd51
push esi
push 0
mov byte [0x1009ce55], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10062ecb
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.1005ecf8
add esp, 0xc
test eax, eax
je 0x10062ecb
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10052f74
add esp, 0x14
push esi
call fcn.100530f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10062f10
push esi
call fcn.100530f0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1009d04c
push 0x1007c994
sub ecx, eax
push ecx
push eax
call fcn.100595db
add esp, 0x14
test eax, eax
je 0x10062f10
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10052f74
add esp, 0x14
jmp 0x10062f12
xor esi, esi
push 0x1007c990
push ebx
push ebp
call fcn.100684ae
add esp, 0xc
test eax, eax
je 0x10062f32
push esi
push esi
push esi
push esi
push esi
call fcn.10052f74
add esp, 0x14
push dword [edi*8 + 0x10098b9c]
push ebx
push ebp
call fcn.100684ae
add esp, 0xc
test eax, eax
je 0x10062f54
push esi
push esi
push esi
push esi
push esi
call fcn.10052f74
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1006a5c4
add esp, 0xc
jmp 0x10062f9c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10062f9c
cmp ebp, 0xffffffff
je 0x10062f9c
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x10098b9c]
push dword [esi]
call fcn.100530f0
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 0x1006a5c4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1005db2c
xor ebx, ebx
cmp dword [0x1009d1dc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1006a69a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1006a77a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1006a77a
push eax
call fcn.1005dabe
mov dword [esp], 0x1007db40
push edi
mov dword [0x1009d1dc], eax
call esi
push eax
call fcn.1005dabe
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1009d1e0], eax
call esi
push eax
call fcn.1005dabe
mov dword [0x1009d1e4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1005d6ba
test eax, eax
pop ecx
pop ecx
je 0x1006a668
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10052f74
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1006a69a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1005dabe
cmp eax, ebx
pop ecx
mov dword [0x1009d1ec], eax
je 0x1006a69a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1005dabe
pop ecx
mov dword [0x1009d1e8], eax
mov eax, dword [0x1009d1e8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1006a71f
cmp dword [0x1009d1ec], ecx
je 0x1006a71f
push eax
call fcn.1005db35
push dword [0x1009d1ec]
mov esi, eax
call fcn.1005db35
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1006a71f
cmp edi, ebx
je 0x1006a71f
call esi
cmp eax, ebx
je 0x1006a6ec
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1006a6ec
test byte [ebp - 0x18], 1
jne 0x1006a71f
lea eax, [ebp - 0x10]
push eax
call fcn.1005d6f1
test eax, eax
pop ecx
je 0x1006a707
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10052f74
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1006a716
or dword [ebp + 0x10], 0x200000
jmp 0x1006a75a
or dword [ebp + 0x10], 0x40000
jmp 0x1006a75a
mov eax, dword [0x1009d1e0]
cmp eax, dword [ebp - 8]
je 0x1006a75a
push eax
call fcn.1005db35
cmp eax, ebx
pop ecx
je 0x1006a75a
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1006a75a
mov eax, dword [0x1009d1e4]
cmp eax, dword [ebp - 8]
je 0x1006a75a
push eax
call fcn.1005db35
cmp eax, ebx
pop ecx
je 0x1006a75a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1009d1dc]
call fcn.1005db35
cmp eax, ebx
pop ecx
je 0x1006a77a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1006a77c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10070517
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1009d350], 0
push esi
jne 0x1007048a
call fcn.100703b5
test eax, eax
je 0x100704cd
mov eax, dword [0x1009d350]
cmp eax, 1
jne 0x100704ab
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x100704cd
pop esi
ret
push eax
call dword [0x1009d358]
test eax, eax
jne 0x10070515
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 0x100704d1
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x1009d350]
call dword [0x1009d358]
mov edi, eax
test edi, edi
je 0x100704f8
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x10070514
lea edi, [esi + 0xff0]
push esi
push dword [0x1009d350]
call dword [0x1009d354]
add esi, 0x10
cmp esi, edi
jb 0x100704fe
mov eax, esi
pop edi
pop esi
ret
jmp 0x10070477

Function at 0x10070710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1009d8c8], 0
jne 0x100707a8
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10053710
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
mov dword [0x1009d8c8], ecx
xor eax, eax
cmp dword [0x1009d8c8], 0
setne al
jmp 0x100707ad
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053191
mov esp, ebp
pop ebp
ret
Function at 0x100722b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x128], 0
push 0x118
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.10053710
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x10072305
mov eax, 1
jmp 0x10072350
cmp dword [ebp - 0x124], 5
jne 0x1007233e
cmp dword [ebp - 0x120], 1
jne 0x10072326
movzx edx, word [ebp - 0x14]
cmp edx, 1
jge 0x10072326
xor eax, eax
jmp 0x10072350
cmp dword [ebp - 0x120], 0
jne 0x1007233c
movzx eax, word [ebp - 0x14]
cmp eax, 3
jge 0x1007233c
xor eax, eax
jmp 0x10072350
jmp 0x1007234b
cmp dword [ebp - 0x124], 5
jae 0x1007234b
xor eax, eax
jmp 0x10072350
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053191
mov esp, ebp
pop ebp
ret

Function at 0x10072830
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100744b8
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
lea esi, [ebp - 0x2c]
call fcn.100018c9
mov byte [ebp - 4], 1
mov eax, dword [0x1007dc9c]
mov dword [ebp - 0x30], eax
mov ecx, dword [0x1007dc9c]
push ecx
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.10037300
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
cmp edx, dword [0x1007dc9c]
je 0x100728fa
mov eax, dword [ebp - 0x30]
push eax
xor ebx, ebx
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x2c]
call fcn.100019bb
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x98]
call fcn.100018e8
mov byte [ebp - 4], 1
lea esi, [ebp - 0x4c]
call fcn.10047b44
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp - 0x2c]
call fcn.100018c9
mov dword [ebp - 0x9c], eax
call fcn.10072830
add esp, 0x1c
push 0
lea eax, [ebp + 8]
call fcn.10006405
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1007291c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10072945
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea esi, [ebp - 0x2c]
call fcn.10047b44
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp + 8]
call fcn.10047b44
mov eax, dword [ebp - 0x54]
jmp 0x10072987
mov dword [ebp - 0x58], 0xffffffff
mov byte [ebp - 4], 0
lea esi, [ebp - 0x2c]
call fcn.10047b44
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp + 8]
call fcn.10047b44
mov eax, dword [ebp - 0x58]
jmp 0x10072987
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10053191
mov esp, ebp
pop ebp
ret
Function at 0x100729b0
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], ecx
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10053710
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.10057419
add esp, 8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10072a50
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x224], esp
lea edx, [ebp - 0x218]
push edx
call fcn.1000189d
mov dword [ebp - 0x23c], eax
call fcn.10072830
add esp, 0x1c
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x220], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov eax, dword [ebp - 0x238]
add eax, 0x2c
call fcn.10006405
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp + 0xc], 0
je 0x10072a8c
mov eax, dword [ebp - 0x238]
add eax, 0x2c
call fcn.10006405
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053191
mov esp, ebp
pop ebp
ret 8

Function at 0x10073140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov word [ebp - 0x420], 0
push 0x410
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.10053710
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x2f
mov edx, dword [ebp + 8]
push edx
call fcn.100535a7
add esp, 8
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x10073213
push str.QMDownload
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x428], esp
lea ecx, [ebp - 0x420]
push ecx
call fcn.1000189d
mov dword [ebp - 0x46c], eax
call fcn.10072830
add esp, 0x1c
mov edx, dword [ebp - 0x424]
add edx, 2
push edx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x420]
push ecx
mov esi, dword [ebp + 0xc]
call fcn.1000927b
mov edx, dword [ebp - 0x424]
add edx, 2
push edx
mov esi, dword [ebp + 0x10]
call fcn.1000927b
jmp 0x1007322d
push 0x10083da0
mov esi, dword [ebp + 0xc]
call fcn.1000927b
push 0x10083da4
mov esi, dword [ebp + 0x10]
call fcn.1000927b
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053191
mov esp, ebp
pop ebp
ret
Function at 0x10073240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x8c], 0
je 0x1007325d
xor eax, eax
jmp 0x1007341a
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 4], 0
jne 0x1007326d
xor eax, eax
jmp 0x1007341a
mov edx, dword [ebp + 8]
push edx
mov esi, dword [ebp - 0x40]
add esi, 0x10
call fcn.1000927b
mov eax, dword [ebp - 0x40]
cmp dword [eax + 8], 0
jne 0x10073299
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x40]
cmp dword [edx + 8], 0
jne 0x100732a9
xor eax, eax
jmp 0x1007341a
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x88], 0
je 0x10073301
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x88]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x100732ed
push 1
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x44], eax
jmp 0x100732f4
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x88], 0
call fcn.100722b0
test eax, eax
je 0x1007334f
call fcn.10072290
cmp eax, 1
jne 0x1007334f
push 0x58
call fcn.10052f00
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10073334
mov ecx, dword [ebp - 0x14]
call fcn.10071820
mov dword [ebp - 0x48], eax
jmp 0x1007333b
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x88], ecx
jmp 0x10073388
push 0x30
call fcn.10052f00
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1007336f
mov ecx, dword [ebp - 0x1c]
call fcn.10071100
mov dword [ebp - 0x4c], eax
jmp 0x10073376
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x88], ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x40]
mov dword [edx + 0x64], eax
push 0x10072360
push 0xfffffffffffffffc
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x64]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x8c], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x40]
push edx
push 0x10072ae0
push 0
push 0
call fcn.1005671f
add esp, 0x18
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc], 0
jne 0x1007340e
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x8c], 0
mov ecx, dword [ebp - 0x40]
xor eax, eax
cmp dword [ecx + 0xc], 0
setne al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10073750
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x3c], ecx
cmp dword [ebp + 0x10], 0
jne 0x10073766
xor eax, eax
jmp 0x100738a5
mov dword [ebp - 0xc], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.10030480
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.10030d10
push eax
lea ecx, [ebp - 8]
call fcn.10031ce0
movzx eax, al
test eax, eax
je 0x100737e9
lea ecx, [ebp - 0x18]
call fcn.1002fdf0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.100303c0
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x100738a2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
call fcn.10030510
add eax, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
sub eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx]
jbe 0x10073899
cmp dword [ebp - 0x20], 0x12c
jbe 0x10073899
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jbe 0x10073899
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 0
fild qword [ebp - 0x44]
fdiv qword [0x10088de8]
fstp qword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
fild qword [ebp - 0x4c]
fdiv qword [ebp - 0x30]
fnstcw word [ebp - 0x4e]
movzx eax, word [ebp - 0x4e]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp qword [ebp - 0x5c]
fldcw word [ebp - 0x4e]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
jmp 0x100738a2
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41d21c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
cmp byte [edx + 0x185], 0
call fcn.0041d237

Function at 0x42141e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], ecx
xor esi, esi
mov ebx, dword [eax + 0xd8]
imul ecx, dword [eax + 0xdc], 0x78
mov edi, dword [eax + 0xe4]
imul eax, dword [eax + 0xe8], 0x110
add eax, edi
add ecx, ebx
mov dword [esp + 4], eax
mov eax, dword [edx]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 8], esi
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x421497
cmp ebx, ecx
je 0x421497
mov eax, ebx
add ebx, 0x78
mov esi, dword [eax + 0x10]
test esi, esi
je 0x421482
add eax, 0x14
jmp 0x4214bc
mov edx, dword [esp + 4]
test edi, edi
je 0x421512
cmp edi, edx
je 0x421512
mov eax, edi
add edi, 0x110
mov esi, dword [eax + 0xa8]
test esi, esi
je 0x42149f
add eax, 0xac
xor ebx, ebx
cmp dword [esp + 8], 0
mov eax, dword [eax]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x30]
sete byte [esp + 3]
mov dword [esp + 0x2c], eax
push eax
push esi
push dword [esp + 0x28]
call fcn.004e683d
add esp, 0xc
movsd xmm0, qword [esp + 0x30]
mov ecx, dword [esp + 0x28]
ucomisd xmm0, qword [esp + 0x10]
seta al
ucomisd xmm0, qword [0x500060]
jbe 0x42147e
or byte [esp + 3], al
je 0x42147e
jmp 0x42146c
cmp dword [esp + 8], 0
push 4
pop ecx
je 0x42155d
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
mov esi, dword [eax]
xor eax, eax
shl ebx, 3
test ebx, ebx
je 0x421567
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov edi, dword [eax + 0x4c]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x10], eax
push eax
push edi
call fcn.00421605
pop ecx
pop edx
test al, al
jne 0x421573
mov eax, dword [esp + 4]
add esi, 8
add ebx, 0xfffffff8
inc eax
jmp 0x421529
mov edi, 0x80000000
jmp 0x4215f6
mov edi, 0x80000000
push 4
jmp 0x4215f5
lea eax, [esp + 0x58]
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [ecx + 4], ebx
mov dword [eax + 8], edx
mov dword [ecx + 8], edi
push 2
pop edx
mov dword [ecx], edx
mov dword [eax], edx
mov edx, 0x421617
mov esi, dword [esp + 0xc]
mov dword [esp + 0x30], 0x5043ec
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
lea edx, [esp + 0x64]
lea eax, [esp + 0x30]
mov dword [edx], str._n_tDid_you_mean_to_put__after_the_subcommand__
mov dword [edx + 4], 4
and dword [edx + 0x10], 0
mov dword [edx + 8], eax
mov dword [edx + 0xc], 3
lea ecx, [esi + 4]
call fcn.00405066
mov eax, dword [esp + 4]
mov dword [esi], eax
mov dword [esi + 0x10], ebx
push 0x14
pop ecx
mov eax, dword [esp + 0xc]
mov dword [eax + ecx], edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42d7f1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov edi, dword [ebp + 8]
mov esi, edx
mov dword [esp + 0xa0], ecx
mov ebx, dword [edi + 0x10]
mov eax, ebx
shr eax, 0x17
and al, 1
bt ebx, 0x19
movzx eax, al
push 2
pop edx
movzx ecx, byte [ebp + 0xc]
cmovae edx, eax
call fcn.0042d82c
Function at 0x446c00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, ecx
xor edx, edx
mov esi, 0x21
mov edi, 0x21
shl eax, 0xb
nop word [eax + eax]
shr esi, 1
add esi, edx
mov ebx, dword [esi*4 + 0x5094a8]
shl ebx, 0xb
cmp ebx, eax
je 0x446c45
cmp ebx, eax
cmova edi, esi
lea esi, [esi + 1]
cmovb edx, esi
mov esi, edi
sub esi, edx
ja 0x446c20
jmp 0x446c48
inc esi
mov edx, esi
cmp edx, 0x20
ja 0x446cd4
mov eax, dword [edx*4 + 0x5094a8]
mov esi, 0x2d7
shr eax, 0x15
cmp edx, 0x20
je 0x446c73
mov esi, dword [edx*4 + 0x5094ac]
shr esi, 0x15
test edx, edx
je 0x446cbf
mov edi, 0x1fffff
and edi, dword [edx*4 + 0x5094a4]
mov edx, eax
not edx
add edx, esi
je 0x446cb8
sub ecx, edi
cmp eax, 0x2d8
mov edx, 0x2d7
cmovae edx, eax
dec esi
xor edi, edi
nop dword [eax]
cmp edx, eax
je 0x446cc3
movzx ebx, byte [eax + 0x50952c]
add edi, ebx
cmp edi, ecx
ja 0x446cb8
inc eax
cmp esi, eax
jne 0x446ca0
mov eax, esi
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
jmp 0x446c7f
mov ecx, edx
mov edx, 0x2d7
push 0x50643c
call fcn.00442900
mov ecx, 0x21
mov edx, 0x21
push 0x50642c
call fcn.00442900
nop dword [eax + eax]

Function at 0x446cf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x446d40
cmp edi, esi
jb 0x446dab
cmp edi, dword [ebp + 0x10]
ja 0x446db9
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x446d42
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x446d30
jmp 0x446d9f
ja 0x446d49
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x446d05
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x446d80
mov ebx, esi
sub ecx, edx
jns 0x446d97
jmp 0x446da1
cmp esi, edi
je 0x446dc8
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x446da1
xor al, 1
cmp ebx, edi
jne 0x446d60
jmp 0x446da1
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x505e78
call fcn.00444f30
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x505e78
call fcn.00443260
mov ecx, 0x505e68
call fcn.00444f90
nop word cs:[eax + eax]
nop dword [eax]