joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466058
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x466203
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4661e4
mov dl, 1
mov eax, dword [0x4171fc]
call fcn.00404330
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405240
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4661d3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00458378
test al, al
je 0x4661c6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x466214
lea eax, [ebp - 0x254]
call fcn.0040aa3c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4661c6
xor eax, eax
push ebp
push 0x4661bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x46624c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4661a8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004054b0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4661a8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004054b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4661c6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4660c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041b048
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46620a
lea eax, [ebp - 0x260]
call fcn.00405240
ret

Function at 0x466b7c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x529cd4]
cmp byte [eax + 0xad], 0
jne 0x466bed
cmp dword [0x529cf0], 0
jne 0x466bae
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x466b38
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x529cf0], eax
cmp dword [0x529cec], 0
jne 0x466bc9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x529cec], eax
cmp dword [0x529cf4], 0
jne 0x466bed
push esp
push 0
push 0
push 0x466adc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x529cf4], eax
pop edx
ret
Function at 0x466dc0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x466dd7
add esp, 0xfffffff0
call fcn.00404684
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f890
mov eax, dword [0x524044]
cmp word [eax + 2], 0
jne 0x466dff
mov eax, dword [0x524044]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004689c0
mov eax, dword [0x524114]
cmp word [eax + 2], 0
jne 0x466e19
mov eax, dword [0x524114]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468bcc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416dd8]
call fcn.00404330
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416dd8]
call fcn.00404330
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416dd8]
call fcn.00404330
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x426178]
call fcn.0042df80
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x466fd0
mov eax, dword [0x523f38]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e354
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4692a0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x523f38]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e4b8
test eax, eax
je 0x466f20
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a3e0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e4ec
test eax, eax
je 0x466f34
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004054b0
mov byte [ebx + 0xd4], 0
push ebx
push 0x4684e8
call fcn.00420a20
mov dword [ebx + 0xc8], eax
mov eax, dword [0x523dbc]
cmp byte [eax], 0
jne 0x466f85
mov eax, ebx
call fcn.00467114
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00469478
mov eax, ebx
call fcn.00469fdc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x466fc5
call fcn.004046dc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467394
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x467433
cmp dword [ebx + 0x94], 0
jne 0x46742d
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46731c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46742d
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4673f3
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46742d
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004191d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x467402
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46764c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x529cd4]
cmp dword [eax + 0x30], 0
je 0x4677a9
test bl, bl
jne 0x4676fa
cmp dword [esi + 0x9c], 0
jne 0x4676ef
mov eax, esi
call fcn.00469e58
push eax
push 0x467578
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4676c0
mov eax, dword [0x529cd4]
call fcn.0046a538
test al, al
je 0x4676c0
mov eax, dword [0x529cf8]
call fcn.004063e8
mov edi, eax
cmp edi, 0
jl 0x4676c0
push 0
mov eax, dword [0x529cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4676aa
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4676ef
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004191d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4676cf
inc dword [esi + 0x9c]
jmp 0x4677a9
cmp dword [esi + 0x9c], 0
jle 0x4677a9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4677a9
cmp dword [esi + 0x44], 0
je 0x467755
mov eax, dword [0x529cd4]
call fcn.0046a538
test al, al
je 0x467755
mov eax, dword [0x529cf8]
call fcn.004063e8
mov edi, eax
cmp edi, 0
jl 0x467755
push 5
mov eax, dword [0x529cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46773f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x467784
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004191d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x467764
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x529cf8
mov ecx, 1
mov edx, dword [0x467558]
call fcn.0040659c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46823c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4682a6
mov eax, ebx
call fcn.0046a538
test al, al
jne 0x4682a6
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405330
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x468293
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4682b3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405294
jmp 0x4682b3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405294
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46965c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4696ca
mov eax, esi
call fcn.00453014
test al, al
je 0x4696ca
mov eax, dword [ebx + 0x84]
call fcn.00452c64
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4696ca
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4696be
push 0
mov eax, dword [ebx + 0x84]
call fcn.00452c64
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044ab7c
jmp 0x4696ca
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00469498
pop esi
pop ebx
ret
Function at 0x46ab38
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x408100]
call fcn.00405cd8
xor eax, eax
push ebp
push 0x46acd9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49d8a8], 0
jne 0x46ab93
mov ecx, dword [0x523dd4]
mov dl, 1
mov eax, dword [0x408734]
call fcn.0040d680
call fcn.00404bd4
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403968
mov eax, ebx
call fcn.00405ba8
mov dword [ebp - 0x24], eax
mov esi, 0x46ace8
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406c80
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405bb8
test eax, eax
jle 0x46ac7c
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46ac68
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004054b0
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46ac0e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004054c8
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x46ac24
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004054c8
mov eax, dword [ebp - 0x54]
call fcn.004056d0
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004054b0
mov eax, dword [ebp - 0x58]
call fcn.004056d0
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46ac6a
xor eax, eax
test al, al
je 0x46ac75
mov ebx, 0x15
jmp 0x46ac81
mov ebx, 0x10
jmp 0x46ac81
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x49d8a8]
call fcn.0046a9b8
mov eax, dword [ebp - 4]
call fcn.0046a9b8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406c98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ace0
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405264
lea eax, [ebp - 0xc]
mov edx, dword [0x408100]
call fcn.00405da8
ret
Function at 0x471f6c
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 0
mov eax, dword [esi + 0x70]
push eax
call sub.kernel32.dll_PostQueuedCompletionStatus
mov eax, dword [esi + 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0x42000000
push 3
push 0
push 7
push 0xc0000000
mov eax, dword [esi + 0x68]
call fcn.004056d0
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
mov eax, esi
call fcn.00471f60
mov dword [esi + 0x44], edi
mov eax, esi
call fcn.004720f4
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x471fdb
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
jne 0x471ff5
mov eax, esi
call fcn.00471f60
xor eax, eax
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, esi
call fcn.004720f4
jmp 0x47206a
push 0
mov eax, dword [esi + 4]
push eax
push 0
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_CreateIoCompletionPort
mov ebx, eax
mov eax, esi
call fcn.00471f60
mov dword [esi + 0x70], ebx
mov eax, esi
call fcn.004720f4
xor eax, eax
mov dword [esi + 0x8c], eax
lea eax, [esi + 0x90]
xor ecx, ecx
mov edx, 0x1000
call fcn.00403968
push 0
lea eax, [esi + 0x74]
push eax
lea eax, [esi + 0x8c]
push eax
mov eax, dword [esi + 0x88]
push eax
cmp byte [esi + 0x6c], 1
cmc
sbb eax, eax
push eax
push 0x1000
lea eax, [esi + 0x90]
push eax
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_ReadDirectoryChangesW
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x47372c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x47375d
movzx eax, byte [ebx]
cmp al, byte [str.1.1.2]
jne 0x47375d
cmp dword [ebp + 8], 0x38
je 0x473767
mov eax, 0xfffffffa
jmp 0x47392d
lea eax, [esi + 0x18]
call fcn.00405240
cmp dword [esi + 0x20], 0
jne 0x473781
mov dword [esi + 0x20], 0x47363c
xor eax, eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x24], 0
jne 0x47378e
mov dword [esi + 0x24], 0x473634
cmp dword [ebp - 4], 0xffffffff
jne 0x47379b
mov dword [ebp - 4], 6
test edi, edi
jge 0x4737a8
mov dword [ebp - 0xc], 1
neg edi
cmp dword [ebp + 0x14], 1
jl 0x4737dc
cmp dword [ebp + 0x14], 9
jg 0x4737dc
cmp dword [ebp - 8], 8
jne 0x4737dc
cmp edi, 8
jl 0x4737dc
cmp edi, 0xf
jg 0x4737dc
cmp dword [ebp - 4], 0
jl 0x4737dc
cmp dword [ebp - 4], 9
jg 0x4737dc
cmp dword [ebp + 0x10], 0
jl 0x4737dc
cmp dword [ebp + 0x10], 2
jle 0x4737e6
mov eax, 0xfffffffe
jmp 0x47392d
mov eax, esi
mov ecx, 0x16bc
mov edx, 1
call fcn.00473648
mov ebx, eax
test ebx, ebx
jne 0x473807
mov eax, 0xfffffffc
jmp 0x47392d
mov dword [esi + 0x1c], ebx
mov dword [ebx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, edi
mov dword [ebx + 0x28], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x24], edx
dec edx
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp + 0x14]
add eax, 7
mov dword [ebx + 0x48], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x44], edx
dec edx
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x48]
add eax, 3
dec eax
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebx + 0x50], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.00473648
mov dword [ebx + 0x30], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.00473648
mov dword [ebx + 0x38], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x44]
call fcn.00473648
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0x14]
add ecx, 6
mov edi, 1
shl edi, cl
mov dword [ebx + 0x1690], edi
mov eax, esi
mov ecx, 4
mov edx, edi
call fcn.00473648
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x1690]
add edx, edx
add edx, edx
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0x30], 0
je 0x4738d2
cmp dword [ebx + 0x38], 0
je 0x4738d2
cmp dword [ebx + 0x3c], 0
je 0x4738d2
cmp dword [ebx + 8], 0
jne 0x4738ed
lea eax, [esi + 0x18]
mov edx, 0x49da34
call fcn.004054a4
mov eax, esi
call fcn.00473cdc
mov eax, 0xfffffffc
jmp 0x47392d
mov edx, dword [ebx + 0x1690]
shr edx, 1
lea eax, [eax + edx*2]
mov dword [ebx + 0x1698], eax
mov eax, dword [ebx + 0x1690]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [ebx + 0x168c], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x7c], eax
movzx eax, byte [ebp - 8]
mov byte [ebx + 0x1d], al
mov eax, esi
call fcn.00473960
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x473fe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
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 0x474009
cmp dword [ebx + 0x64], 0
jne 0x474009
cmp dword [ebx + 0x6c], 0
jne 0x474009
mov esi, edi
jmp 0x474095
cmp esi, 0xffffffff
jne 0x474014
dec esi
jmp 0x474095
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x474095
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ecx, edi
call fcn.00473624
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x47405d
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x474062
mov word [edx], 0
dec eax
test eax, eax
jne 0x474043
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x474089
movzx ecx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x47408e
mov word [edx], 0
dec eax
test eax, eax
jne 0x47406f
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x4740f3
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.00473d58
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4740de
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 0x4740f3
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x473fe9
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x47f064
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x47f079
add esp, 0xfffffff0
call fcn.00404684
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004056c0
xor eax, eax
push ebp
push 0x47f140
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0047ac38
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00417d60
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.00417d60
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.00417d60
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.00417d60
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.00417d88
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 + 0x50], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f147
lea eax, [ebp - 4]
call fcn.00405240
ret
Function at 0x483ec0
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 0x483fbc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x483fd4
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.00405294
push 0xffffffffffffffff
mov ecx, 0x483fe4
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x484000
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0048d380
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x48401c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0048d26c
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, 0x484030
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0048d26c
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, 0x484048
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0048d26c
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, 0x484064
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0048d380
mov byte [ebx + 0x44], al
mov ecx, 0x484078
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047a914
mov byte [ebx + 0x45], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483fc3
lea eax, [ebp - 4]
call fcn.00405240
ret

Function at 0x4917f0
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
xor ecx, ecx
mov edx, 0x40
call fcn.00403968
ret