joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100014c7
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
xor esi, esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push 1
pop edi
mov dword [ebp - 8], eax
push edi
push eax
call fcn.100dd1f4
call sym.runtime.dll_runtimeGetRuntime
push dword [ebp - 8]
mov dword [0x10115b68], eax
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
call fcn.100016c9
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
mov al, byte [ebp - 1]
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x18], al
call fcn.10002043
push ebx
call fcn.100dcb10
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x18]
call fcn.100022b2
mov al, byte [ebp - 1]
push esi
mov byte [ebp - 0x28], al
lea ecx, [ebp - 0x28]
call fcn.10002043
cmp dword [ebp - 0x10], esi
je 0x10001581
cmp dword [ebp - 0x14], esi
je 0x1000154e
lea ecx, [ebp - 0x18]
call fcn.10002017
mov eax, dword [ebp - 0x14]
jmp 0x10001553
mov eax, 0x100f7364
cmp byte [eax], 0x20
jne 0x10001581
push dword [0x100f7360]
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x18]
push edi
push eax
call fcn.10001bf1
push dword [0x100f7360]
lea ecx, [ebp - 0x18]
push esi
push eax
call fcn.10001ec7
push edi
lea ecx, [ebp - 0x38]
jmp 0x10001532
push edi
lea eax, [ebp - 1]
push esi
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 1], 0x22
call fcn.10001f95
test eax, eax
jne 0x10001607
push edi
lea eax, [ebp - 1]
push edi
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 1], 0x22
call fcn.10001f95
mov ebx, eax
mov eax, dword [0x100f7360]
cmp ebx, eax
je 0x10001675
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.10001bf1
push dword [0x100f7360]
lea ecx, [ebp - 0x28]
push esi
push eax
call fcn.10001ec7
push edi
lea ecx, [ebp - 0x38]
call fcn.10002043
dec ebx
lea eax, [ebp - 0x38]
push ebx
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.10001bf1
push dword [0x100f7360]
lea ecx, [ebp - 0x18]
push esi
push eax
call fcn.10001ec7
push edi
lea ecx, [ebp - 0x38]
jmp 0x10001670
push edi
lea eax, [ebp - 1]
push esi
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 1], 0x20
call fcn.10001f95
mov ebx, eax
mov eax, dword [0x100f7360]
cmp ebx, eax
je 0x10001675
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.10001bf1
push dword [0x100f7360]
lea ecx, [ebp - 0x28]
push esi
push eax
call fcn.10001ec7
push edi
lea ecx, [ebp - 0x38]
call fcn.10002043
push ebx
lea eax, [ebp - 0x38]
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.10001bf1
push dword [0x100f7360]
lea ecx, [ebp - 0x18]
push esi
push eax
call fcn.10001ec7
push edi
lea ecx, [ebp - 0x38]
call fcn.10002043
mov eax, dword [ebp - 0x24]
cmp eax, esi
jne 0x10001681
mov eax, 0x100f7364
mov ecx, dword [0x10115b68]
push esi
push eax
mov edx, dword [ecx]
push dword [0x10115b60]
call dword [edx + 0x24]
mov ecx, dword [0x10115b68]
mov eax, dword [ecx]
call dword [eax + 0x10]
push esi
push esi
push dword [ebp - 8]
call fcn.100dd1f4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10001b6b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, 0x10115b40
push eax
call fcn.10002271
mov eax, dword [eax]
cmp eax, dword [0x10115b44]
jne 0x10001ba7
push dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, 0x10115b20
push eax
call fcn.10002271
mov eax, dword [eax]
cmp eax, dword [0x10115b24]
je 0x10001bac
mov eax, dword [eax + 0x1c]
jmp 0x10001bed
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.Cant_find_symbol:
push eax
call fcn.10003578
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
jne 0x10001bcc
mov eax, 0x100f7364
push 0
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret 4

Function at 0x100042c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f0080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 0x30]
push ebx
push edi
mov byte [esp + 8], al
mov edi, str.Startup_Error:
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], ebx
push ecx
push str.Startup_Error:
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.100022b2
mov ecx, dword [esp + 0x38]
lea edx, [esp + 8]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x3c], ebx
call fcn.10004520
add esp, 0xc
mov eax, dword [esp + 0xc]
mov byte [esp + 0x30], 2
cmp eax, ebx
je 0x10004353
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x1000434a
cmp al, 0xff
je 0x1000434a
dec al
mov byte [ecx], al
jmp 0x10004353
push ecx
call fcn.100d02fa
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], ebx
cmp eax, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jne 0x1000436c
mov eax, 0x100f7364
mov ecx, dword [0x10115c94]
push eax
call fcn.1003ebd0
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x100043ad
mov al, byte [ecx - 1]
cmp al, bl
je 0x100043a3
cmp al, 0xff
je 0x100043a3
dec al
pop edi
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
dec ecx
push ecx
call fcn.100d02fa
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x1001c310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f0ae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
mov ebx, ecx
push esi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
push edi
mov dword [esp + 0xc], 0x3f800000
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
push 0
mov dword [esp + 0x20], ecx
push 0x3f800000
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
call fcn.1000d380
mov ecx, dword [eax]
push 0x3f800000
mov dword [esp + 0x28], ecx
push 0
mov edx, dword [eax + 4]
push 0
lea ecx, [esp + 0x9c]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
call fcn.1000d380
mov ecx, dword [eax]
mov esi, dword [esp + 0xac]
mov dword [esp + 0x30], ecx
push 0
mov edx, dword [eax + 4]
mov cl, byte [esi]
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], 0
mov eax, dword [eax + 8]
mov byte [esp + 0x54], cl
lea ecx, [esp + 0x54]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.10002043
mov edx, dword [0x100f7360]
lea ecx, [esp + 0x50]
push edx
push 0
push esi
call fcn.10001ec7
mov ecx, 0xc
lea esi, [esp + 0x18]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0xac], 0
call fcn.1001f040
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x54]
test eax, eax
mov dword [esp + 0x4c], edx
je 0x1001c44b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x1001c442
cmp al, 0xff
je 0x1001c442
dec al
mov byte [ecx], al
jmp 0x1001c44b
push ecx
call fcn.100d02fa
add esp, 4
mov ecx, dword [esp + 0x9c]
lea eax, [esi + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 4
Function at 0x100332b0
Capabilities:
Set socket configuration

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x5c]
mov ebx, dword [esi + 4]
cmp eax, edi
mov dword [esi], 0x100f742c
jge 0x100332e7
lea eax, [esp + 0xc]
push 4
push eax
push 0xffffff7f
push 0xffff
push ebx
mov dword [esp + 0x20], 1
call sub.WSOCK32.dll_setsockopt
push ebx
call sub.WSOCK32.dll_closesocket
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x10], eax
call fcn.100d02fa
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0xc]
push eax
mov dword [esp + 0x14], eax
call fcn.100d02fa
add esp, 8
mov ecx, esi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.100385a0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10033870
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x100f1ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x100f7440
mov eax, dword [esi + 8]
mov dword [esp + 0x20], 0
test eax, eax
je 0x100338f1
lea edi, [eax + 8]
push ebx
lea eax, [esp + 0xc]
push ebp
push eax
mov ecx, edi
mov dword [esp + 0x14], esi
call fcn.10038010
lea ecx, [esp + 0x10]
mov ebp, eax
push ecx
mov ecx, edi
call fcn.10037fc0
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x14], ebx
je 0x100338e1
lea ecx, [esp + 0x14]
call fcn.10038060
cmp dword [esp + 0x14], ebp
jne 0x100338d2
push ebp
lea edx, [esp + 0x20]
push ebx
push edx
mov ecx, edi
call fcn.10035ba0
pop ebp
pop ebx
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 4]
test eax, eax
jge 0x1003391a
lea eax, [esp + 0xc]
push 4
push eax
push 0xffffff7f
push 0xffff
push edi
mov dword [esp + 0x20], 1
call sub.WSOCK32.dll_setsockopt
push edi
call sub.WSOCK32.dll_closesocket
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.100385a0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x10033b70
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x100f1adb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x10033bb4
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
je 0x10033baf
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esi + 0x14], ebx
jne 0x10033b9d
mov eax, dword [esi]
push edi
mov edi, dword [esi + 4]
cmp eax, ebx
jge 0x10033bdd
lea ecx, [esp + 0xc]
push 4
push ecx
push 0xffffff7f
push 0xffff
push edi
mov dword [esp + 0x20], 1
call sub.WSOCK32.dll_setsockopt
push edi
call sub.WSOCK32.dll_closesocket
mov eax, dword [esi + 0xc]
add esi, 8
push eax
lea edx, [esp + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x20], 0xffffffff
push ecx
push edx
mov ecx, esi
call fcn.10035ba0
mov eax, dword [esi + 4]
push eax
call fcn.100d02fa
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
call fcn.100d0249
mov eax, dword [0x10116a4c]
pop edi
dec eax
mov dword [0x10116a4c], eax
jne 0x10033c3f
mov ecx, dword [0x10116a48]
push ecx
call fcn.100d02fa
add esp, 4
mov dword [0x10116a48], ebx
lea ecx, [esp + 8]
call fcn.100d02e5
mov ecx, dword [esp + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10033c60
Capabilities:
Get socket status

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100f1afe
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx]
push edi
cmp eax, ebp
je 0x10033c8f
xor eax, eax
jmp 0x10033dc9
mov eax, dword [ebx + 4]
mov ecx, 0x3f
mov dword [esp + 0x38], eax
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x34], 1
rep stosd dword es:[edi], eax
mov ecx, dword [0x10116a28]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 0x14], edx
mov ecx, 0x3e8
cdq
idiv ecx
lea ecx, [esp + 0x34]
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [esp + 0x14]
push eax
push ebp
push ebp
push ecx
shl edx, 3
push ebp
mov dword [esp + 0x2c], edx
call sub.WSOCK32.dll_select
cmp eax, ebp
jne 0x10033cfd
xor eax, eax
jmp 0x10033dc9
cmp eax, 1
je 0x10033d0f
mov dword [ebx], 0xffffffff
xor eax, eax
jmp 0x10033dc9
mov edx, dword [ebx + 4]
push ebp
push ebp
push edx
call sub.WSOCK32.dll_accept
mov edi, eax
cmp edi, 0xffffffff
jne 0x10033d2a
mov dword [ebx], eax
xor eax, eax
jmp 0x10033dc9
push esi
push 0x18
call fcn.100ddb85
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, ebp
mov dword [esp + 0x144], ebp
je 0x10033da1
mov ecx, esi
call fcn.100384f0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
push ecx
push edi
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebp
mov dword [esi], 0x100f7440
mov dword [esp + 0x20], 0x10
call sub.WSOCK32.dll_getpeername
test eax, eax
je 0x10033d80
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], ebp
jmp 0x10033da3
mov edx, dword [esp + 0x2c]
push edx
call sub.WSOCK32.dll_ntohl
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x2a]
push eax
call sub.WSOCK32.dll_ntohs
and eax, 0xffff
mov dword [esi + 0x14], eax
jmp 0x10033da3
xor esi, esi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [ebx + 8]
mov dword [esp + 0x14c], 0xffffffff
mov dword [esp + 0x18], esi
call fcn.10035a70
mov eax, dword [esp + 0x10]
pop esi
mov ecx, dword [esp + 0x138]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret
Function at 0x1003d920
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100f233c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x24]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esi + 4], ecx
mov dword [esi], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dl, byte [edi]
lea ecx, [esi + 0x2c]
mov dword [esp + 0xc], esi
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x100f7360]
push eax
push ebx
push edi
call fcn.10001ec7
mov cl, byte [esp + 0x30]
mov byte [esi + 0x3c], 1
mov dword [esp + 0x20], ebx
mov byte [esi + 0x40], cl
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dl, byte [esp + 0x30]
mov dword [esi + 0x54], ebx
mov byte [esi + 0x50], dl
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov al, byte [esp + 0x30]
lea edi, [esi + 0x64]
mov byte [esi + 0x60], bl
mov byte [edi], al
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
push ebx
mov byte [esp + 0x24], 3
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, esi
call fcn.100404c0
cmp byte [esi + 0x60], bl
je 0x1003d9dc
push 5
jmp 0x1003d9dd
push ebx
push edi
push 0x10040010
call sub.DDRAW.dll_DirectDrawEnumerateExA
lea ecx, [esp + 0x10]
push 8
push ecx
call dword [sym.imp.WINMM.dll_timeGetDevCaps]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
lea edx, [esi + 0x7c]
mov ecx, 0x25
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
push edx
mov dword [edx], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x1003ebd0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x10116b00]
push esi
test eax, eax
mov esi, ecx
je 0x1003ecb2
push edi
mov edi, eax
mov eax, dword [esi]
push 0
push 0
push 0x403
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, byte [0x10116ac8]
test al, al
jne 0x1003eca3
cmp dword [0x10116ae0], 3
jne 0x1003ec38
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
call esi
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0xc]
mov eax, dword [edi]
push 0
push ecx
mov ecx, edi
call dword [eax + 0x18]
pop edi
pop esi
ret 4
mov al, byte [0x10116b8c]
mov byte [0x10116ba8], 1
test al, al
je 0x1003ec50
mov ecx, dword [esi + 0x10]
call fcn.1004ab60
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1003ec74
cmp dword [0x10116ae0], 3
jne 0x1003ec6c
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1003ec6c
call fcn.10052f70
mov ecx, dword [esi + 0xc]
call fcn.10052e60
mov eax, dword [0x10116ae0]
mov byte [0x10116ac8], 1
cmp eax, 3
mov byte [0x10116ba8], 0
jne 0x1003ec94
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
mov ecx, dword [0x10116b00]
test ecx, ecx
je 0x1003eca3
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, dword [edi]
push 0
push ecx
mov ecx, edi
call dword [eax + 0x18]
pop edi
pop esi
ret 4
Function at 0x10049120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100f29e8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x34]
push edi
mov edi, dword [esi + 0xb0]
mov eax, dword [esi + 0xa8]
add edi, ecx
cmp edi, eax
jge 0x100492f5
mov ecx, dword [esi + 0x98]
call fcn.10053880
mov ecx, dword [esi + 0xa0]
add eax, edi
cmp eax, ecx
jle 0x100492f5
mov ecx, dword [esi + 0xac]
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0xa4]
add ecx, edx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jge 0x100492f5
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
mov eax, dword [ebp + 8]
test eax, eax
jbe 0x100491e7
mov eax, dword [ebp + 4]
test eax, eax
jne 0x100491ac
mov eax, 0x100f7364
jmp 0x100491ae
add eax, ebx
movsx eax, byte [eax]
mov ecx, dword [esi + 0x98]
push eax
call fcn.100536d0
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x9c]
add ecx, eax
cmp ecx, edx
jg 0x100491e3
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
add edx, eax
mov eax, dword [ebp + 8]
inc ebx
mov dword [esp + 0x34], edx
cmp ebx, eax
jb 0x1004919e
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
mov edi, ebx
cmp ebx, eax
jae 0x100492f5
jmp 0x100491fa
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0xa4]
jge 0x10049233
mov eax, dword [ebp + 4]
test eax, eax
jne 0x10049210
mov eax, 0x100f7364
jmp 0x10049212
add eax, edi
movsx edx, byte [eax]
mov ecx, dword [esi + 0x98]
push edx
call fcn.100536d0
mov edx, dword [esp + 0x10]
add edx, eax
mov eax, dword [ebp + 8]
inc edi
mov dword [esp + 0x10], edx
cmp edi, eax
jb 0x100491f6
cmp edi, ebx
jle 0x100492f5
sub edi, ebx
lea eax, [esp + 0x14]
push edi
push ebx
push eax
mov ecx, ebp
call fcn.10001bf1
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0xc0]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov cl, byte [esi + 0x87]
push eax
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x74]
and eax, edx
shr eax, cl
mov cl, byte [esi + 0x86]
and edi, edx
mov ebx, dword [esi + 0x7c]
mov dword [esp + 0x38], 0
shl eax, cl
mov cl, byte [esi + 0x85]
shr edi, cl
mov cl, byte [esi + 0x84]
shl edi, cl
mov cl, byte [esi + 0x83]
or eax, edi
mov edi, dword [esi + 0x70]
and edi, edx
shr edi, cl
mov cl, byte [esi + 0x82]
shl edi, cl
mov cl, byte [esi + 0x81]
or eax, edi
mov edi, dword [esi + 0x6c]
and edi, edx
shr edi, cl
mov cl, byte [esi + 0x80]
shl edi, cl
mov ecx, dword [esi + 0x98]
or eax, edi
or eax, ebx
push eax
push esi
call fcn.10053700
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100492f5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100492ec
cmp al, 0xff
je 0x100492ec
dec al
mov byte [ecx], al
jmp 0x100492f5
push ecx
call fcn.100d02fa
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x1004b090
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100f2b3b
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
sub esp, 8
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, ecx
push edi
push esi
push ebx
push eax
call fcn.10057210
mov edi, eax
test edi, edi
jne 0x1004b0d7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
push 0xcc
call fcn.100ddb85
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1c], 0
je 0x1004b100
push ebx
push edi
push esi
mov ecx, eax
call fcn.10047740
jmp 0x1004b102
xor eax, eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0xc]
push ecx
push edx
lea ecx, [esi + 0x264]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x30], eax
call fcn.1004ca70
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x10053090
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
lea eax, [esi - 0xc7]
cmp eax, 0xc
ja case.0x100530a1.202
jmp dword [eax*4 + 0x10053220]
pop edi
mov eax, 3
pop esi
ret 4
pop edi
mov eax, 4
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
pop edi
mov eax, 2
pop esi
ret 4
pop edi
mov eax, 5
pop esi
ret 4
pop edi
mov eax, 6
pop esi
ret 4
pop edi
mov eax, 0x1c
pop esi
ret 4
pop edi
mov eax, 0x1d
pop esi
ret 4
pop edi
mov eax, 0x1f
pop esi
ret 4
pop edi
mov eax, 0x1e
pop esi
ret 4
and esi, 0x7f
push 1
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edi, eax
test edi, edi
jne 0x10053123
pop edi
pop esi
ret 4
mov ecx, dword [0x10116cc0]
push 0x2a
call fcn.10053500
mov ecx, dword [0x10116cc0]
push 0x36
neg al
sbb al, al
and eax, 0x80
mov byte [0x10116d80], al
call fcn.10053500
mov cl, byte [0x10116d80]
push 0x1d
neg al
sbb al, al
and eax, 0x80
mov byte [0x10116d81], al
or al, cl
mov ecx, dword [0x10116cc0]
mov byte [0x10116cf0], al
call fcn.10053500
mov ecx, dword [0x10116cc0]
push 0x9d
neg al
sbb al, al
and eax, 0x80
mov byte [0x10116d82], al
call fcn.10053500
mov cl, byte [0x10116d82]
push 0x38
neg al
sbb al, al
and eax, 0x80
mov byte [0x10116d83], al
or al, cl
mov ecx, dword [0x10116cc0]
mov byte [0x10116cf1], al
call fcn.10053500
mov ecx, dword [0x10116cc0]
push 0xb8
neg al
sbb al, al
and eax, 0x80
mov byte [0x10116d84], al
call fcn.10053500
mov cl, byte [0x10116d84]
push 0
neg al
sbb al, al
and eax, 0x80
mov byte [0x10116d85], al
or al, cl
mov byte [0x10116cf2], al
lea eax, [esp + 0x10]
push eax
push 0x10116ce0
push esi
push edi
call dword [sym.imp.USER32.dll_ToAscii]
cmp eax, 1
je 0x10053212
pop edi
xor eax, eax
pop esi
ret 4
mov eax, dword [esp + 0xc]
pop edi
and eax, 0xff
pop esi
ret 4