joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450888
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 0x450a33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450a14
mov dl, 1
mov eax, dword [0x411a98]
call fcn.00403120
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ea0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450a03
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.0043e894
test al, al
je 0x4509f6
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, 0x450a44
lea eax, [ebp - 0x254]
call fcn.00408a1c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4509f6
xor eax, eax
push ebp
push 0x4509ef
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 0x450a7c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4509d8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404110
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 0x4509d8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4509f6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4508f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415574
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 0x450a3a
lea eax, [ebp - 0x260]
call fcn.00403ea0
ret

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

Disassembly:
push ecx
mov eax, dword [0x46dbdc]
cmp byte [eax + 0xa5], 0
jne 0x4513d9
cmp dword [0x46dbf4], 0
jne 0x45139a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x451324
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46dbf4], eax
cmp dword [0x46dbf0], 0
jne 0x4513b5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46dbf0], eax
cmp dword [0x46dbf8], 0
jne 0x4513d9
push esp
push 0
push 0
push 0x4512c8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46dbf8], eax
pop edx
ret
Function at 0x4514d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4514e7
add esp, 0xfffffff0
call fcn.00403474
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419384
mov eax, dword [0x46c950]
cmp word [eax + 2], 0
jne 0x45150f
mov eax, dword [0x46c950]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452ba8
mov eax, dword [0x46ca04]
cmp word [eax + 2], 0
jne 0x451529
mov eax, dword [0x46ca04]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452da0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41167c]
call fcn.00403120
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41167c]
call fcn.00403120
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b8e0]
call fcn.00423500
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4516b0
mov eax, dword [0x46c874]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004238d0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x453340
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46c874]
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.0040c0ec
test eax, eax
je 0x45161e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408410
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c114
test eax, eax
je 0x451632
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404110
mov eax, dword [0x46c75c]
cmp byte [eax], 0
jne 0x451666
mov eax, ebx
call fcn.004517d8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045351c
mov eax, ebx
call fcn.00453ee0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4516a6
call fcn.004034cc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451a58
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46dbdc]
cmp dword [eax + 0x30], 0
je 0x451b02
cmp dword [ebx + 0x94], 0
jne 0x451afc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4519e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451afc
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 0x451ac2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451afc
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.004139e4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451ad1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452664
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x452699
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.00403f90
jmp 0x4526a6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ef4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4536f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453739
mov eax, esi
call fcn.00439ec0
test al, al
je 0x453739
mov eax, dword [ebx + 0x84]
call fcn.00439bbc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453739
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439bbc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x456e00
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x456e2e
mov eax, ebx
call fcn.004578b4
cmp dword [ebx + 0x40], 0
je 0x456e27
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x456e9f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x456e91
cmp dword [ebx + 8], 0
je 0x456e50
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x456e62
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x456e91
cmp dword [ebx + 8], 0
je 0x456e43
cmp eax, 3
je 0x456e75
dec eax
jne 0x456e43
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x456e43
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x456e43
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x456ebd
cmp dword [ebx + 0x14], 0xcc
je 0x456ebd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00456ec8
pop ebx
ret
Function at 0x402cb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x444618
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453c00]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x33
push 8
mov dword [esp + 0x20], vtable.AxAnsiString.0
call fcn.004181b0
push eax
call dword [0x446104]
mov dword [esp + 0x1c], eax
xor eax, eax
xor ebx, ebx
lea edi, [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
call fcn.0040ec10
mov dword [esp + 0x30], ebx
push 1
push str.Hall.exe
mov eax, 0x104
mov ecx, edi
call fcn.00411d20
push eax
call fcn.00412ad0
add esp, 0xc
push str.MUPDATE.EXE::STARTHALL::978DF9BF_3C03_4b2c_9843_922E5F13AAA2
push ebx
push 1
push ebx
call dword [0x446324]
mov edi, eax
mov eax, dword [esi + 0x48]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x402d40
mov ecx, dword [str._noreloadupdate]
mov dword [eax], ecx
mov edx, dword [0x44a9c0]
mov dword [eax + 4], edx
mov ecx, dword [0x44a9c4]
push ebx
mov dword [eax + 8], ecx
mov edx, dword [0x44a9c8]
push ebx
push ebx
lea ecx, [esp + 0x24]
mov dword [eax + 0xc], edx
call fcn.00411e90
mov eax, 0x44a7a2
cmp dword [esp + 0x24], ebx
je 0x402d86
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x48]
push 5
push ebx
push ecx
push eax
push str.open
push ebx
call dword [0x446374]
cmp eax, 0x20
jbe 0x402dbc
mov ebp, dword [0x4462d8]
cmp edi, ebx
je 0x402de5
push 0x2710
push edi
call dword [0x446338]
push edi
cmp eax, ebx
je 0x402de3
call ebp
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0040ebc0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
call ebp
mov edx, dword [esi + 0x3c4]
push edx
call dword [0x4462dc]
mov eax, dword [esi + 0x3c4]
push eax
call ebp
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x1c]
mov esi, dword [0x446100]
mov dword [esp + 0x18], vtable.AxAnsiString.0
cmp eax, ebx
je 0x402e27
push eax
push ebx
call fcn.004181b0
push eax
call esi
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x402e3d
push eax
push ebx
call fcn.004181b0
push eax
call esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x40a600
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4445e6
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x453c00]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov dword [ebp - method.AxAnsiString.virtual_0], vtable.AxAnsiString.0
push 0x33
push 8
call fcn.004181b0
push eax
call dword [0x446104]
mov dword [ebp - 0x418], eax
xor eax, eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x414], eax
xor ebx, ebx
lea edi, [ebp - 0x41c]
call fcn.0040ec10
mov dword [ebp - 4], ebx
call dword [0x446330]
push eax
push esi
push str._s_r_d
mov ecx, edi
call fcn.0040f0f0
add esp, 0xc
mov ebx, 1
mov byte [ebp - 4], bl
push 0
push 0
push 0
push 0
push ebx
push 0
lea ecx, [ebp - 0x438]
call fcn.00421629
mov byte [ebp - 4], 2
mov dword [ebp - 0x424], 0xfa0
push 0
push 4
lea ecx, [ebp - 0x424]
push ecx
push 2
lea ecx, [ebp - 0x438]
call fcn.00420e74
push 0
push 0
push 0x80000001
push ebx
mov esi, edi
call fcn.00412510
push eax
lea ecx, [ebp - 0x438]
call fcn.00421f8f
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x40a7f6
mov dword [ebp - 0x40c], edi
lea edx, [ebp - 0x40c]
push edx
mov ecx, esi
call fcn.00420f2e
cmp dword [ebp - 0x40c], 0xc8
jne 0x40a7f6
push edi
lea eax, [ebp - 0x40c]
push eax
push 5
mov ecx, esi
call fcn.00420f05
cmp dword [ebp - 0x40c], 0x6400000
jae 0x40a7f6
mov dword [ebp - 0x408], edi
push 0x44b1b0
mov ecx, dword [ebp - 0x420]
push ecx
lea edx, [ebp - 0x408]
push edx
call fcn.00428478
add esp, 0xc
cmp dword [ebp - 0x408], edi
je 0x40a7f6
push 0x3e8
push edi
lea eax, [ebp - 0x404]
push eax
call fcn.0042aed0
add esp, 0xc
jmp 0x40a790
mov edx, dword [esi]
push 0x3e8
lea eax, [ebp - 0x404]
push eax
mov ecx, esi
mov edx, dword [edx + 0x34]
call edx
cmp eax, edi
jbe 0x40a7c3
mov ecx, dword [ebp - 0x408]
push ecx
push ebx
push eax
lea edx, [ebp - 0x404]
push edx
call fcn.00428855
add esp, 0x10
jmp 0x40a790
mov eax, dword [ebp - 0x408]
push eax
call fcn.00428da1
add esp, 4
cmp eax, dword [ebp - 0x40c]
je 0x40a81a
mov ecx, dword [ebp - 0x408]
push ecx
call fcn.00428a5e
add esp, 4
mov edx, dword [ebp - 0x420]
push edx
call dword [0x4462cc]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x438]
call fcn.00421cd6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x41c]
call fcn.0040ebc0
xor eax, eax
jmp 0x40a88b
mov eax, dword [ebp - 0x408]
push eax
call fcn.00428a5e
add esp, 4
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 0x4c]
call eax
mov edx, dword [esi]
push ebx
mov ecx, esi
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x438]
call fcn.00421bf3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x438]
call fcn.00421cd6
mov dword [ebp - 4], edi
jmp 0x40a877
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x41c]
call fcn.0040ebc0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004279c9
mov esp, ebp
pop ebp
ret 4
Function at 0x40dfb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444568
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453c00]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebp, ebp
mov esi, ecx
push ebp
push ebp
add esi, 4
push ebp
mov ecx, esi
call fcn.00411e90
cmp dword [esi + 0xc], ebp
je 0x40e077
push 0x33
push 8
mov dword [esp + 0x28], vtable.AxAnsiString.0
call fcn.004181b0
push eax
call dword [0x446104]
mov dword [esp + 0x24], eax
xor eax, eax
xor ebx, ebx
lea edi, [esp + 0x20]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call fcn.0040ec10
mov dword [esp + 0x38], ebp
push ebp
push ebp
push ebp
mov ecx, esi
call fcn.00411e90
cmp dword [esi + 0xc], ebp
jne 0x40e03c
mov esi, 0x44a7a2
jmp 0x40e03f
mov esi, dword [esi + 4]
push esi
push 0x20
mov eax, 0x20
lea ecx, [esp + 0x28]
call fcn.00411d20
push eax
push ebp
push str.SubSiteID
push str.SiteResoure
call dword [0x4461c4]
cmp eax, ebp
jne 0x40e090
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0040ebc0
or eax, 0xffffffff
or edx, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
lea eax, [esp + 0x14]
push eax
push str._I64d
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.00411cd0
add esp, 8
test eax, eax
jle 0x40e066
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0040ebc0
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x412830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444811
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453c00]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x38]
xor edi, edi
push 0x33
mov dword [esp + 0x18], edi
push 8
mov dword [esp + 0x20], vtable.AxAnsiString.0
call fcn.004181b0
push eax
call dword [0x446104]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
xor eax, eax
lea edi, [esp + 0x18]
call fcn.0040ec10
mov dword [esp + 0x30], 1
push 0
push 0
push 0
mov ecx, edi
call fcn.00411e90
push 0
push 0
push 0
mov ecx, esi
call fcn.00411e90
cmp dword [esi + 0xc], 0
jne 0x4128c5
mov esi, 0x44a7a2
jmp 0x4128c8
mov esi, dword [esi + 4]
mov ebx, dword [esp + 0x24]
push esi
lea esi, [esp + 0x1c]
call fcn.0040ed60
xor esi, esi
push esi
push esi
push esi
lea ecx, [esp + 0x24]
call fcn.00411e90
mov ebx, 0x44a7a2
cmp dword [esp + 0x24], esi
je 0x4128f3
mov ebx, dword [esp + 0x1c]
push 0x33
push 8
mov dword [ebp], vtable.AxAnsiString.0
call fcn.004181b0
push eax
call dword [0x446104]
mov dword [ebp + 4], eax
xor eax, eax
mov edi, ebp
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
call fcn.0040ec10
xor ebx, ebx
mov dword [esp + 0x14], 1
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x1c]
mov esi, dword [0x446100]
mov dword [esp + 0x18], vtable.AxAnsiString.0
cmp eax, ebx
je 0x41294e
push eax
push ebx
call fcn.004181b0
push eax
call esi
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x412964
push eax
push ebx
call fcn.004181b0
push eax
call esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x414450
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x414464
or eax, 0xffffffff
pop ebp
add esp, 8
ret
test edx, edx
je 0x41445c
mov ecx, dword [ebp + 4]
push ebx
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
xor eax, eax
cmp ecx, 2
mov dword [esp + 0x10], ebx
jl 0x4144ba
add ecx, 0xfffffffe
shr ecx, 1
inc ecx
lea ebx, [ecx + ecx]
lea eax, [esi + 1]
mov dword [esp + 0x14], ebx
nop
movzx ebx, byte [edx + eax - 1]
imul ebx, eax
add esi, ebx
movzx ebx, byte [eax + edx]
lea ebp, [eax + 1]
imul ebx, ebp
add edi, ebx
add eax, 2
sub ecx, 1
jne 0x414490
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, dword [ebp + 4]
jae 0x4144c7
movzx ebx, byte [eax + edx]
inc eax
imul ebx, eax
lea eax, [edi + esi]
pop edi
movzx ecx, bp
add eax, ebx
pop esi
xor eax, ecx
pop ebx
and eax, 0x1ffff
pop ebp
add esp, 8
ret
Function at 0x415440
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x44476e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453c00]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x44]
mov ebx, dword [0x4464b8]
push edi
call ebx
test byte [0x45a304], 1
jne 0x4154a6
or dword [0x45a304], 1
mov dword [esp + 0x3c], 0
call fcn.00415640
push 0x4456d0
call fcn.004282b3
add esp, 4
mov dword [esp + 0x3c], 0xffffffff
push edi
call ebx
test eax, eax
je 0x415598
mov ebp, dword [0x446448]
jmp 0x4154c0
push 0x17
mov esi, 1
call dword [0x4464b0]
test eax, eax
je 0x4154d6
mov esi, 2
push esi
call dword [0x4464cc]
test ax, ax
je 0x415598
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call dword [0x4464c0]
test eax, eax
je 0x415583
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
call ebp
mov eax, dword [esp + 0x1c]
cmp eax, 0x200
ja 0x41553f
je 0x41554d
cmp eax, 0x20
je 0x41554d
cmp eax, 0xa0
je 0x41554d
lea ecx, [esp + 0x18]
push ecx
call dword [0x4464c4]
lea edx, [esp + 0x18]
push edx
call dword [0x4464b4]
jmp 0x41558d
cmp eax, 0x2a2
jb 0x415527
cmp eax, 0x2a3
ja 0x415527
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
mov ebx, 0x45a2cc
call fcn.004145b0
test eax, eax
jne 0x41556a
mov eax, dword [0x45a2e5]
mov ebx, dword [0x4464b8]
mov ecx, 7
lea esi, [esp + 0x18]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x44]
jmp 0x41558d
push 1
push 1
call dword [0x4461cc]
push edi
call ebx
test eax, eax
jne 0x4154c0
mov eax, dword [0x45a2e1]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
mov edi, eax
jle 0x41561c
jmp 0x4155b5
mov eax, dword [0x45a2e1]
cmp esi, ebx
jl 0x4155d7
cmp esi, eax
jge 0x4155d7
mov ecx, dword [0x45a2d0]
mov eax, dword [0x45a2d4]
add eax, ecx
imul eax, esi
add eax, ecx
add eax, dword [0x45a2dd]
jne 0x4155dc
mov eax, dword [0x45a2e5]
push eax
call dword [0x4464c4]
cmp esi, ebx
jl 0x41560b
cmp esi, dword [0x45a2e1]
jge 0x41560b
mov ecx, dword [0x45a2d0]
mov edx, dword [0x45a2d4]
lea eax, [ecx + edx]
imul eax, esi
add eax, ecx
add eax, dword [0x45a2dd]
jne 0x415610
mov eax, dword [0x45a2e5]
push eax
call dword [0x4464b4]
inc esi
cmp esi, edi
jl 0x4155b0
mov eax, 1
mov dword [0x45a2e1], ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x417120
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x9c0
push esi
push edi
push 0x44b25c
push str._dev_urandom
call fcn.00428461
mov edi, eax
add esp, 8
test edi, edi
je 0x41718c
push ebx
push ebp
lea esi, [esp + 0x10]
mov ebp, 0x270
mov eax, ebp
dec ebp
mov bl, 1
test eax, eax
je 0x41716b
push edi
push 1
push 4
push esi
call fcn.0042964a
add esp, 0x10
add esi, 4
test eax, eax
jne 0x41714b
xor bl, bl
push edi
call fcn.00428a5e
add esp, 4
pop ebp
test bl, bl
pop ebx
je 0x41718c
lea eax, [esp + 8]
call fcn.004171d0
pop edi
pop esi
add esp, 0x9c0
ret
push 0
call fcn.004290d6
mov esi, eax
mov edi, edx
call fcn.004423ca
push eax
push edi
push esi
call fcn.004173a0
add esp, 0x10
mov edx, eax
call fcn.004172b0
mov edi, 0x4598d0
call fcn.004172f0
pop edi
pop esi
add esp, 0x9c0
ret

Function at 0x4172b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x4598d4
mov ecx, 1
mov dword [0x4598d4], edx
push esi
mov edx, dword [eax]
mov esi, edx
shr esi, 0x1e
xor esi, edx
imul esi, esi, 0x6c078965
add esi, ecx
mov dword [eax + 4], esi
inc ecx
add eax, 4
cmp ecx, 0x270
jl 0x4172c1
pop esi
ret

Function at 0x4172f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
lea esi, [edi + 4]
mov eax, esi
mov edx, 0xe3
lea esp, [esp]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
xor ebx, ecx
and ebx, 0x7ffffffe
xor ebx, dword [eax]
and ecx, 1
neg ecx
shr ebx, 1
and ecx, 0x9908b0df
xor ebx, ecx
xor ebx, dword [eax + 0x634]
dec edx
mov dword [eax], ebx
add eax, 4
test edx, edx
jne 0x417300
mov edx, 0x18c
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
xor ebx, ecx
and ebx, 0x7ffffffe
xor ebx, dword [eax]
and ecx, 1
neg ecx
shr ebx, 1
and ecx, 0x9908b0df
xor ebx, ecx
xor ebx, dword [eax - 0x38c]
add eax, 4
sub edx, 1
mov dword [eax - 4], ebx
jne 0x417333
mov ecx, dword [esi]
mov edx, dword [eax]
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [eax]
and ecx, 1
neg ecx
shr edx, 1
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [eax - 0x38c]
mov dword [eax], edx
mov dword [edi + 0x9c4], esi
pop esi
mov dword [edi + 0x9c8], 0x270
pop ebx
ret

Function at 0x417440
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push edi
call fcn.00417080
mov edi, eax
cmp dword [edi + 0x9c8], 0
jne 0x417456
call fcn.004172f0
mov eax, dword [edi + 0x9c4]
dec dword [edi + 0x9c8]
mov ecx, dword [eax]
add eax, 4
mov dword [edi + 0x9c4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop edi
ret