joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45db54
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45db6b
add esp, 0xfffffff0
call fcn.0043b4e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042b6f0
mov eax, dword [0x4acac4]
cmp word [eax + 2], 0
jne 0x45db93
mov eax, dword [0x4acac4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f5ec
mov eax, dword [0x4acac8]
cmp word [eax + 2], 0
jne 0x45dbad
mov eax, dword [0x4acac8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f7f8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4234a0]
call fcn.0043b1a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4234a0]
call fcn.0043b1a8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4234a0]
call fcn.0043b1a8
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 [0x44ab4c]
call fcn.00450a18
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45dd64
mov eax, dword [0x4aca98]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00450dec
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45febc
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4aca98]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.00433d98
test eax, eax
je 0x45dcb4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0042f808
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00433dcc
test eax, eax
je 0x45dcc8
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_CharNextA
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.0043c034
mov byte [ebx + 0xd4], 0
push ebx
push 0x45f2d0
call fcn.0042c86c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4acaa0]
cmp byte [eax], 0
jne 0x45dd19
mov eax, ebx
call fcn.0045dea8
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.004600d0
mov eax, ebx
call fcn.00460c34
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45dd59
call fcn.0043b53c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e128
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45e1c7
cmp dword [ebx + 0x94], 0
jne 0x45e1c1
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e0b0
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e1c1
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 0x45e187
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e1c1
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.00425844
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e196
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b343c]
cmp dword [eax + 0x30], 0
je 0x45e53d
test bl, bl
jne 0x45e48e
cmp dword [esi + 0x9c], 0
jne 0x45e483
mov eax, esi
call fcn.00460ab0
push eax
push 0x45e30c
call sub.USER32.DLL_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45e454
mov eax, dword [0x4b343c]
call fcn.004610a0
test al, al
je 0x45e454
mov eax, dword [0x4b3460]
call fcn.0043ccc8
mov edi, eax
cmp edi, 0
jl 0x45e454
push 0
mov eax, dword [0x4b3460]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45e43e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45e483
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00425844
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45e463
inc dword [esi + 0x9c]
jmp 0x45e53d
cmp dword [esi + 0x9c], 0
jle 0x45e53d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45e53d
cmp dword [esi + 0x44], 0
je 0x45e4e9
mov eax, dword [0x4b343c]
call fcn.004610a0
test al, al
je 0x45e4e9
mov eax, dword [0x4b3460]
call fcn.0043ccc8
mov edi, eax
cmp edi, 0
jl 0x45e4e9
push 5
mov eax, dword [0x4b3460]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45e4d3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45e518
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00425844
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45e4f8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4b3460
mov ecx, 1
mov edx, dword [0x45e2ec]
call fcn.0043ce7c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45f024
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 0x45f08e
mov eax, ebx
call fcn.004610a0
test al, al
jne 0x45f08e
push 0x100
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.0043beb4
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45f07b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45f09b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0043be18
jmp 0x45f09b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0043be18
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4602b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460322
mov eax, esi
call fcn.0046fc00
test al, al
je 0x460322
mov eax, dword [ebx + 0x84]
call fcn.0046f860
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x460322
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x460316
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046f860
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004678b8
jmp 0x460322
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004600f0
pop esi
pop ebx
ret
Function at 0x465158
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4b3504], 0
je 0x4652a1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4acab4]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4652a1
mov eax, dword [0x4b3508]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4b3504]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x465270
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4b3504]
call fcn.00425844
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x465268
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x465268
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x465268
mov eax, dword [ebp - 0x14]
call fcn.0046f860
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x465268
push ebp
call fcn.00465114
pop ecx
test al, al
jne 0x465268
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.0043b3d4
test al, al
je 0x465268
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.0043b3d4
cmp byte [ebp - 1], 0
je 0x465268
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x465268
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4b3508]
call fcn.00464880
inc edi
dec ebx
jne 0x4651bd
mov eax, dword [0x4b3508]
cmp dword [eax + 8], 0
jle 0x465288
mov eax, dword [0x4b3508]
call fcn.00464938
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4652a1
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00464f78
pop ecx
test al, al
jne 0x4652a1
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c734
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.USER32.DLL_GetMessagePos
call fcn.0042dce4
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004674e0
test ebx, ebx
jne 0x46c787
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0046c670
mov ebx, eax
test ebx, ebx
je 0x46c872
cmp esi, ebx
je 0x46c7b0
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x46c7c5
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x46c7fd
add eax, 0xffffff5f
sub eax, 2
jb 0x46c815
dec eax
sub eax, 2
jb 0x46c829
dec eax
sub eax, 2
jb 0x46c81f
jmp 0x46c833
add eax, 0xfffffdff
sub eax, 2
jb 0x46c815
dec eax
sub eax, 2
jb 0x46c829
dec eax
sub eax, 2
jb 0x46c81f
jmp 0x46c833
mov byte [esp + 0x120], 0
jmp 0x46c83b
mov byte [esp + 0x120], 2
jmp 0x46c83b
mov byte [esp + 0x120], 1
jmp 0x46c83b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00454764
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00468c7c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x46c874
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x474b20
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4ac8f0]
cmp byte [eax + 0xc], 0
je 0x474c8d
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x474c86
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [fcn.004b3514], 0
jne 0x474b74
push 0x474c94
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x474c9c
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [fcn.004b3514], eax
cmp dword [0x4a5890], 0
jne 0x474c6f
push 0x474cac
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4a5890], eax
cmp dword [0x4a5890], 0
je 0x474c6f
push 0x474cb8
mov eax, dword [0x4a5890]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b3518], eax
push 0x474cc8
mov eax, dword [0x4a5890]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b351c], eax
push 0x474cdc
mov eax, dword [0x4a5890]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b3520], eax
push 0x474cf4
mov eax, dword [0x4a5890]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b3524], eax
push 0x474d0c
mov eax, dword [0x4a5890]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b3528], eax
push 0x474d20
mov eax, dword [0x4a5890]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b352c], eax
push 0x474d38
mov eax, dword [0x4a5890]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b3530], eax
push 0x474d50
mov eax, dword [0x4a5890]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b3534], eax
push 0x474d6c
mov eax, dword [0x4a5890]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [fcn.004b3538], eax
push 0x474d78
mov eax, dword [0x4a5890]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b353c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474c8d
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x47567c
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
xor eax, eax
mov edx, 0x4b358c
mov dword [esp], eax
mov eax, 0x4a58ac
xor ecx, ecx
mov cl, byte [eax]
inc eax
mov cl, byte [ecx + 0x4b354c]
mov byte [edx], cl
inc edx
inc dword [esp]
cmp dword [esp], 0x38
jl 0x475691
xor eax, eax
mov esi, 0x4a589c
mov dword [esp], eax
mov dword [esp + 0xc], 0x4b3644
xor eax, eax
xor edx, edx
mov al, byte [0x4b358c]
mov dl, byte [0x4b358d]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov edx, 0x4b358c
xor eax, eax
mov ecx, esi
jmp 0x4756e3
mov bl, byte [edx + edi]
inc eax
mov byte [edx], bl
inc edx
movzx edi, byte [ecx]
mov ebx, 0x1c
sub ebx, edi
cmp eax, ebx
jl 0x4756dc
xor eax, eax
mov al, byte [esi]
cmp eax, 2
jne 0x475710
mov dl, byte [esp + 4]
mov cl, byte [esp + 8]
mov byte [0x4b35a6], dl
mov byte [0x4b35a7], cl
jmp 0x475719
mov al, byte [esp + 4]
mov byte [0x4b35a7], al
xor edx, edx
xor ecx, ecx
mov dl, byte [0x4b35a8]
mov cl, byte [0x4b35a9]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, esi
mov edx, 0x4b35a8
mov eax, 0x1c
jmp 0x475746
mov bl, byte [edx + edi]
inc eax
mov byte [edx], bl
inc edx
movzx edi, byte [ecx]
mov ebx, 0x38
sub ebx, edi
cmp eax, ebx
jl 0x47573f
xor eax, eax
mov al, byte [esi]
cmp eax, 2
jne 0x475773
mov dl, byte [esp + 4]
mov cl, byte [esp + 8]
mov byte [0x4b35c2], dl
mov byte [0x4b35c3], cl
jmp 0x47577c
mov al, byte [esp + 4]
mov byte [0x4b35c3], al
xor eax, eax
mov edx, dword [esp + 0xc]
mov ecx, edx
mov edx, 0x4a58e4
xor ebx, ebx
inc eax
mov bl, byte [edx]
inc edx
mov bl, byte [ebx + 0x4b358c]
mov byte [ecx], bl
inc ecx
cmp eax, 0x30
jl 0x475789
inc dword [esp]
add dword [esp + 0xc], 0x30
inc esi
cmp dword [esp], 0x10
jl 0x4756ba
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x478350
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff684
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push 0x41c
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.0048a3b0
add esp, 0xc
lea edx, [ebp - 0x460]
push 0x40
push 0
push edx
call fcn.0048a3b0
add esp, 0xc
push 0
call fcn.004958f4
pop ecx
push eax
call fcn.00491f38
pop ecx
xor edi, edi
lea esi, [ebp - 0x460]
call fcn.00491f64
mov ecx, 0xff
cdq
idiv ecx
mov byte [esi], dl
inc edi
inc esi
cmp edi, 0x40
jl 0x47839f
push 0x40
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0048a31c
add esp, 0xc
lea edi, [ebp - 0x97c]
mov esi, 0x4a5c04
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x97c]
lea edx, [ebp - 0x418]
push eax
push 0x80
push edx
lea ecx, [ebp - 4]
push ecx
lea eax, [ebp - 0x418]
push eax
call fcn.00480904
add esp, 0x14
mov byte [ebp - 0x420], 0
mov byte [ebp - 0x41f], 0x10
mov word [ebp - 0x41e], 0
mov word [ebp - 0x41c], 0
mov word [ebp - 0x41a], 0x80
mov word [ebp - 8], 0x88
mov dword [ebp - 4], 0x418
push ebx
call fcn.00477f30
pop ecx
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 0x878]
push ecx
push 0
movzx eax, word [ebp - 8]
push eax
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [sym.imp.WINSCARD.DLL_g_rgSCardT1Pci]
push ecx
mov eax, dword [ebx + 6]
push eax
call sub.WINSCARD.DLL_SCardTransmit
mov esi, eax
push ebx
call fcn.00477f58
pop ecx
test esi, esi
jne 0x478481
cmp dword [ebp - 4], 0x82
je 0x47848b
mov eax, 0xf0000004
jmp 0x47859e
sub dword [ebp - 4], 2
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [ebp + edx - 0x878]
push ecx
call fcn.00477f7c
pop ecx
push eax
call fcn.00478158
pop ecx
mov esi, eax
test esi, esi
je 0x4784b6
mov eax, esi
jmp 0x47859e
lea edx, [ebp - 0x97c]
lea ecx, [ebp - 0x878]
push edx
push 0x80
push ecx
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x878]
push edx
call fcn.00480904
add esp, 0x14
cmp dword [ebp - 4], 0x80
je 0x4784ef
mov eax, 0xf0000004
jmp 0x47859e
lea esi, [ebp - 0x878]
cmp dword [esi], 0
je 0x478504
mov eax, 0xf0000004
jmp 0x47859e
push 0x40
lea edx, [esi + 4]
push edx
lea ecx, [ebp - 0x460]
push ecx
call fcn.0048a684
add esp, 0xc
test eax, eax
je 0x478524
mov eax, 0xf0000004
jmp 0x47859e
push 0x28
lea edx, [esi + 0x4c]
push edx
lea ecx, [ebx + 0x112]
push ecx
call fcn.0048a31c
add esp, 0xc
add esi, 0x44
push 8
push esi
mov eax, dword [ebp + 0xc]
push eax
call fcn.0048a31c
mov dx, word [ebx + 0x112]
add esp, 0xc
mov word [ebx + 0x112], dx
mov ecx, dword [ebx + 0x11e]
mov dword [ebx + 0x11e], ecx
mov eax, dword [ebx + 0x122]
mov dword [ebx + 0x122], eax
mov edx, dword [ebx + 0x126]
mov dword [ebx + 0x126], edx
mov ecx, dword [ebx + 0x132]
mov dword [ebx + 0x132], ecx
and word [ebx + 0x114], 0xff
mov dword [ebx + 0x136], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4785a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov eax, dword [ebp + 8]
mov edx, eax
mov eax, dword [ebp + 0xc]
cmp esi, ecx
jle 0x4785c9
mov bl, byte [eax]
xor byte [edx], bl
inc ecx
inc edx
inc eax
cmp esi, ecx
jg 0x4785be
pop esi
pop ebx
pop ebp
ret
Function at 0x478cb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffba0
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push 0
call fcn.004958f4
pop ecx
push eax
call fcn.00491f38
pop ecx
xor edi, edi
lea esi, [ebp - 0x44]
call fcn.00491f64
mov ecx, 0xff
cdq
idiv ecx
mov byte [esi], dl
inc edi
inc esi
cmp edi, 0x40
jl 0x478cd3
push 0x41c
push 0
lea eax, [ebp - 0x460]
push eax
call fcn.0048a3b0
add esp, 0xc
push 0x40
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x454]
push edx
call fcn.0048a31c
add esp, 0xc
lea ecx, [ebp - 0x458]
lea eax, [ebp - 4]
lea edx, [ebp - 0x458]
push 0x4a5c04
push 0x80
push ecx
push eax
push edx
call fcn.00480904
add esp, 0x14
mov byte [ebp - 0x460], 0
mov byte [ebp - 0x45f], 0x10
mov word [ebp - 0x45e], 0
mov word [ebp - 0x45c], 0
mov word [ebp - 0x45a], 0x80
mov word [ebp - 0x48], 0x88
lea ecx, [ebp - 0x460]
push ecx
push ebx
call fcn.0047890c
add esp, 8
lea eax, [ebp - 0x458]
lea edx, [ebp - 4]
lea ecx, [ebp - 0x458]
push 0x4a5c04
push 0x80
push eax
push edx
push ecx
call fcn.00480904
add esp, 0x14
lea esi, [ebp - 0x458]
cmp dword [esi], 0
je 0x478db0
mov eax, 0xf0000004
jmp 0x478e45
push 0x40
lea edx, [esi + 4]
push edx
lea ecx, [ebp - 0x44]
push ecx
call fcn.0048a684
add esp, 0xc
test eax, eax
je 0x478dcd
mov eax, 0xf0000004
jmp 0x478e45
push 0x28
lea edx, [esi + 0x4c]
push edx
lea ecx, [ebx + 0x112]
push ecx
call fcn.0048a31c
add esp, 0xc
add esi, 0x44
push 8
push esi
mov eax, dword [ebp + 0xc]
push eax
call fcn.0048a31c
mov dx, word [ebx + 0x112]
add esp, 0xc
mov word [ebx + 0x112], dx
mov ecx, dword [ebx + 0x11e]
mov dword [ebx + 0x11e], ecx
mov eax, dword [ebx + 0x122]
mov dword [ebx + 0x122], eax
xor eax, eax
mov edx, dword [ebx + 0x126]
mov dword [ebx + 0x126], edx
mov ecx, dword [ebx + 0x132]
mov dword [ebx + 0x132], ecx
and word [ebx + 0x114], 0xff
mov dword [ebx + 0x136], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47d0f0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [0x4b9434], eax
mov dword [0x4b9430], eax
mov dword [0x4b9420], 0x67452301
mov dword [0x4b9424], 0xefcdab89
mov dword [0x4b9428], 0x98badcfe
mov dword [0x4b942c], 0x10325476
push 0x40
push 0
push 0x4b9478
call fcn.0047dcd8
add esp, 0xc
mov byte [0x4b9478], 0x80
ret

Function at 0x47dcf8
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret
Function at 0x47fac0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp esi, 0x40
jle 0x47faef
push 0
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
call fcn.0047fa6c
add esp, 0x10
mov esi, 0x14
lea ebx, [ebp - 0x14]
push 0x40
push 0x36
lea eax, [edi + 0x5c]
push eax
call fcn.0048a3b0
add esp, 0xc
lea edx, [edi + 0x9c]
push 0x40
push 0x5c
push edx
call fcn.0048a3b0
add esp, 0xc
xor ecx, ecx
lea edx, [edi + 0x5c]
mov eax, ebx
cmp esi, ecx
jle 0x47fb2d
mov bl, byte [eax]
xor byte [edx], bl
mov bl, byte [eax]
xor byte [edx + 0x40], bl
inc ecx
inc edx
inc eax
cmp esi, ecx
jg 0x47fb1d
push edi
call fcn.0047dcf8
pop ecx
lea eax, [edi + 0x5c]
push 0x40
push eax
push edi
call fcn.0047f880
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47fc2c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edx, dword [ebp + 8]
lea edi, [edx + 2]
xor esi, esi
mov eax, edi
mov ecx, esi
mov byte [eax], cl
inc esi
inc eax
cmp esi, 0x100
jl 0x47fc3f
mov byte [edx], 0
xor ebx, ebx
mov byte [edx + 1], 0
mov byte [ebp - 1], 0
mov eax, edi
xor esi, esi
mov dword [ebp - 8], eax
xor edx, edx
mov ecx, dword [ebp + 0x10]
mov dl, byte [ebp - 1]
xor eax, eax
mov al, byte [ecx + edx]
mov edx, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [edx]
xor edx, edx
add eax, ecx
mov dl, bl
add eax, edx
and eax, 0x800000ff
jns 0x47fc8b
dec eax
or eax, 0xffffff00
inc eax
mov ebx, eax
xor eax, eax
mov al, bl
add eax, edi
push eax
lea ecx, [esi + edi]
push ecx
call fcn.0047fda8
add esp, 8
xor eax, eax
mov al, byte [ebp - 1]
inc eax
cdq
idiv dword [ebp + 0xc]
mov byte [ebp - 1], dl
inc esi
inc dword [ebp - 8]
cmp esi, 0x100
jl 0x47fc61
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x47fcc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [ebp + 0x10]
push edx
push edi
call fcn.0048a31c
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add esp, 0xc
mov dl, byte [eax + 1]
mov bl, byte [ecx]
mov byte [ebp - 1], dl
mov esi, dword [ebp + 8]
mov eax, edi
mov word [ebp - 4], 0
mov dword [ebp - 8], eax
add esi, 2
jmp 0x47fd85
xor edx, edx
mov dl, bl
inc edx
and edx, 0x800000ff
jns 0x47fd16
dec edx
or edx, 0xffffff00
inc edx
mov ebx, edx
xor edx, edx
mov edi, ebx
xor eax, eax
and edi, 0xff
mov dl, byte [ebp - 1]
mov al, byte [esi + edi]
add eax, edx
and eax, 0x800000ff
jns 0x47fd3a
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 1], al
xor ecx, ecx
mov cl, byte [ebp - 1]
mov eax, edi
add ecx, esi
add eax, esi
push ecx
push eax
call fcn.0047fda8
xor edx, edx
xor eax, eax
mov dl, byte [ebp - 1]
xor ecx, ecx
mov al, byte [esi + edi]
add esp, 8
mov cl, byte [esi + edx]
add eax, ecx
and eax, 0x800000ff
jns 0x47fd71
dec eax
or eax, 0xffffff00
inc eax
and eax, 0xff
mov ecx, dword [ebp - 8]
mov dl, byte [esi + eax]
xor byte [ecx], dl
inc word [ebp - 4]
inc dword [ebp - 8]
movsx eax, word [ebp - 4]
cmp eax, dword [ebp + 0xc]
jl 0x47fd01
mov edx, dword [ebp + 8]
mov byte [edx], bl
mov ecx, dword [ebp + 8]
mov al, byte [ebp - 1]
mov byte [ecx + 1], al
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret