joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482550
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4825c3
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4825b8
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004a8aa8
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret

Function at 0x494200
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4cb288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004be8f9
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.00494140
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004be827
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4942c7
cmp dword [esp + 0x40], 1
jne 0x4942c5
cmp ecx, eax
jge 0x4942c7
mov eax, ecx
cmp eax, 0x12c
jge 0x4942d3
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.00494320
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004be96b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x498600
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4cb776
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x52ee68]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.004ba0aa
mov edx, dword [0x52ee68]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x49865a
mov dword [esp + 0x1c], ebx
jmp 0x498661
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.004bc20b
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.004b7d87
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x4986b2
mov dword [esp + 0x14], ebx
jmp 0x4986b9
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x4986d4
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x4986ce
cmp eax, 2
jne 0x4986d4
mov dword [esp + 0x18], edi
jmp 0x4986d8
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x4986e6
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004b96df
mov edi, eax
cmp edi, ebx
jne 0x4986f6
xor eax, eax
jmp 0x4986f9
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x498721
mov ecx, esi
call fcn.004bc20b
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x49873d
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49875c
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x49875c
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.004b7c9a
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.004b7c9a
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x499410
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4cb886
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x52ee68]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xac], ebx
call fcn.004ba0aa
cmp dword [0x55bb18], ebx
je 0x499480
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.004b7c9a
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0x52ee68]
push ebp
push edi
mov edi, 1
mov dword [0x55bb18], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x4994a9
mov dword [esp + 0x20], ebx
jmp 0x4994b0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.004bc20b
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], edx
call fcn.004b7d87
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x49950e
mov dword [esp + 0x14], ebx
jmp 0x499515
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x49952f
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x499529
cmp eax, 2
jne 0x49952f
mov dword [esp + 0x18], edi
jmp 0x499533
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x499541
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004b96df
mov edi, eax
cmp edi, ebx
jne 0x499551
xor eax, eax
jmp 0x499554
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x49957c
mov ecx, esi
call fcn.004bc20b
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x499594
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x55bb18], 0
test eax, eax
je 0x4995bd
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x4995bd
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.004b7c9a
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004b7c9a
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x4a2aa0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4a2ae9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4a2f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cc700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004a2b10
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004a2b90
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004a2b90
lea ecx, [esi + 0xc]
call fcn.004b7c25
lea ecx, [esi + 0x10]
call fcn.004b7c25
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004a4120
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004a4120
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004a4120
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004b7c9a
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004b7c9a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a4310
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4a4376
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4a4376
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4a4357
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4ba0aa
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ba0e2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b80f5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b80cd
jmp 0x4ba0ee
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4bb91f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4bb961
call fcn.004c1f08
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4bb961
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4bb958
xor eax, eax
jmp 0x4bb969
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004bb96f
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c2438
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4c2466
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c2484
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c239e
jmp 0x4c2484
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c2484
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c239e
test edi, edi
mov eax, edi
jne 0x4c246e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4c4ded
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x4c4e15
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x4c4e26
push 2
call edi
test ax, ax
jge 0x4c4e26
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004b96df
cmp dword [esi + 0x30], ebx
jne 0x4c4f00
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004b96df
cmp eax, dword [esp + 0x34]
jne 0x4c4f00
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x4c4e9c
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4c4ee1
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4c4f00
cmp eax, 0x205
je 0x4c4f00
cmp eax, 0x201
je 0x4c4f00
cmp eax, 0x204
je 0x4c4f00
cmp eax, ebx
jne 0x4c4ec7
cmp dword [esp + 0x1c], 0x1b
je 0x4c4f00
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x58a304]
jbe 0x4c4ef6
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x4c4e59
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x40fa00
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
test ebx, ebx
je 0x40fa40
mov dword [esp + 4], eax
mov dword [esp], 0x4f0e6b
call sub.cygwin1.dll_printf
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 8]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
add esp, 0x18
pop ebx
jmp sym.zsh.exe_quotedzputs
add esp, 0x18
pop ebx
ret

Function at 0x4129e0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
mov eax, dword [0x51e030]
or eax, dword [sym.zsh.exe_exit_pending]
mov eax, dword [sym.zsh.exe_lastval]
cmovne eax, dword [0x51e02c]
mov dword [esp], eax
call sub.cygwin1.dll_exit
lea esi, [esi]
lea esi, [esi]

Function at 0x412a10
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
mov eax, dword [0x51e030]
or eax, dword [sym.zsh.exe_exit_pending]
mov eax, dword [sym.zsh.exe_lastval]
cmovne eax, dword [0x51e02c]
mov dword [esp], eax
call sub.cygwin1.dll__exit
lea esi, [esi]
lea esi, [esi]

Function at 0x4131b0
Capabilities:
Set current directory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov esi, dword [esp + 0x20]
cmp byte [esi], 0
je 0x413253
mov edi, 0xfffffffe
lea esi, [esi]
nop
mov dword [esp], esi
call fcn.004e5da0
test eax, eax
je 0x41324f
call sub.cygwin1.dll___errno
cmp dword [eax], 0x5b
je 0x4131f4
call sub.cygwin1.dll___errno
cmp dword [eax], 0xc
jne 0x413280
mov dword [esp], esi
call sub.cygwin1.dll_strlen
cmp eax, 0xfff
jbe 0x413280
lea ebx, [esi + 0xfff]
jmp 0x413217
sub ebx, 1
cmp ebx, esi
je 0x413280
cmp byte [ebx], 0x2f
jne 0x413210
cmp ebx, esi
je 0x413280
cmp edi, 0xfffffffe
je 0x413260
mov byte [ebx], 0
mov dword [esp], esi
call fcn.004e5da0
mov byte [ebx], 0x2f
test eax, eax
js 0x413280
mov esi, ebx
lea esi, [esi]
movzx eax, byte [esi + 1]
add esi, 1
cmp al, 0x2f
je 0x413240
test al, al
jne 0x4131d0
test edi, edi
jns 0x4132b6
xor eax, eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], 0x8000
mov dword [esp], 0x4f175c
call sub.cygwin1.dll__open64
mov edi, eax
jmp 0x413225
test edi, edi
jns 0x413296
xor eax, eax
cmp edi, 0xfffffffe
sete al
add esp, 0x10
pop ebx
sub eax, 2
pop esi
pop edi
ret
mov dword [esp], edi
call sub.cygwin1.dll_fchdir
mov dword [esp], edi
test eax, eax
js 0x4132c2
call fcn.004e5db0
add esp, 0x10
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
ret
mov dword [esp], edi
call fcn.004e5db0
xor eax, eax
jmp 0x413255
call fcn.004e5db0
add esp, 0x10
mov eax, 0xfffffffe
pop ebx
pop esi
pop edi
ret
Function at 0x433da0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
add dword [sym.zsh.exe_queueing_enabled], 1
mov edi, dword [esp + 0x20]
test byte [sym.zsh.exe_emulation], 0xc
je 0x433e80
mov esi, dword [sym.zsh.exe_home]
test esi, esi
je 0x433ea0
mov dword [esp], esi
call sub.cygwin1.dll_strlen
mov dword [esp], edi
mov ebx, eax
call sub.cygwin1.dll_strlen
lea eax, [ebx + eax + 2]
mov dword [esp], eax
call sym.zsh.exe_zhalloc
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov ebx, eax
mov dword [esp + 4], 0x4f38eb
mov dword [esp], eax
call sub.cygwin1.dll_sprintf
sub dword [sym.zsh.exe_queueing_enabled], 1
jne 0x433e6d
mov eax, dword [sym.zsh.exe_queue_front]
cmp dword [sym.zsh.exe_queue_rear], eax
je 0x433e6d
lea esi, [esi]
add eax, 1
cdq
shr edx, 0x19
add eax, edx
and eax, 0x7f
sub eax, edx
mov dword [sym.zsh.exe_queue_front], eax
mov eax, dword [eax*4 + sym.zsh.exe_signal_mask_queue]
mov dword [esp], eax
call sym.zsh.exe_signal_setmask
mov esi, eax
mov eax, dword [sym.zsh.exe_queue_front]
mov eax, dword [eax*4 + sym.zsh.exe_signal_queue]
mov dword [esp], eax
call sym.zsh.exe_zhandler
mov dword [esp], esi
call sym.zsh.exe_signal_setmask
mov eax, dword [sym.zsh.exe_queue_front]
cmp eax, dword [sym.zsh.exe_queue_rear]
jne 0x433e20
mov dword [esp + 0x20], ebx
add esp, 0x10
pop ebx
pop esi
pop edi
jmp sym.zsh.exe_source
mov dword [esp], str.ZDOTDIR
call sym.zsh.exe_getsparam_u
mov esi, eax
test eax, eax
jne 0x433dcc
jmp 0x433dbe
sub dword [sym.zsh.exe_queueing_enabled], 1
jne 0x433f0d
mov eax, dword [sym.zsh.exe_queue_front]
cmp dword [sym.zsh.exe_queue_rear], eax
je 0x433f0d
lea esi, [esi]
lea esi, [esi]
add eax, 1
cdq
shr edx, 0x19
add eax, edx
and eax, 0x7f
sub eax, edx
mov dword [sym.zsh.exe_queue_front], eax
mov eax, dword [eax*4 + sym.zsh.exe_signal_mask_queue]
mov dword [esp], eax
call sym.zsh.exe_signal_setmask
mov ebx, eax
mov eax, dword [sym.zsh.exe_queue_front]
mov eax, dword [eax*4 + sym.zsh.exe_signal_queue]
mov dword [esp], eax
call sym.zsh.exe_zhandler
mov dword [esp], ebx
call sym.zsh.exe_signal_setmask
mov eax, dword [sym.zsh.exe_queue_front]
cmp eax, dword [sym.zsh.exe_queue_rear]
jne 0x433ec0
add esp, 0x10
pop ebx
pop esi
pop edi
ret
Function at 0x439450
Capabilities:
Terminate process

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov dword [esp], 0x708
mov ebx, dword [esp + 0x20]
call sym.zsh.exe_zalloc
mov dword [sym.zsh.exe_jobtab], eax
test eax, eax
je 0x4394e8
mov dword [sym.zsh.exe_jobtabsize], 0x32
lea edi, [eax + 4]
and edi, 0xfffffffc
mov dword [eax], 0
mov dword [eax + 0x704], 0
sub eax, edi
lea ecx, [eax + 0x708]
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
lea edi, [ebx + 4]
mov esi, dword [ebx]
mov dword [esp], esi
mov dword [0x5227cc], esi
call sub.cygwin1.dll_strlen
mov ebx, dword [ebx + 4]
add eax, esi
test ebx, ebx
jne 0x4394d3
jmp 0x4394da
mov dword [esp], ebx
add edi, 4
call sub.cygwin1.dll_strlen
add eax, ebx
mov ebx, dword [edi]
test ebx, ebx
je 0x4394da
lea edx, [eax + 1]
cmp ebx, edx
je 0x4394c0
sub eax, esi
mov dword [0x5227c8], eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [esp], str.failed_to_allocate_job_table__aborting.
call sym.zsh.exe_zerr
mov dword [esp], 1
call sub.cygwin1.dll_exit
Function at 0x444820
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, eax
sub esp, 0x28
mov eax, dword [0x522c70]
test eax, eax
je 0x444880
mov edx, dword [ebx]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
add edx, eax
not eax
mov dword [esp + 0x10], 0xffffffff
and edx, eax
mov dword [esp + 0xc], 0x22
mov dword [ebx], edx
mov dword [esp + 8], 3
mov dword [esp + 4], edx
mov dword [esp], 0
call sub.cygwin1.dll__mmap64
cmp eax, 0xffffffff
je 0x444896
add esp, 0x28
pop ebx
ret
mov dword [esp], 8
call sub.cygwin1.dll_sysconf
sub eax, 1
mov dword [0x522c70], eax
jmp 0x44482f
mov dword [esp], str.fatal_error:_out_of_heap_memory
call sym.zsh.exe_zerr
mov dword [esp], 1
call sub.cygwin1.dll_exit
nop

Function at 0x4455d0
Capabilities:
Terminate process

Disassembly:
push esi
mov edx, 1
push ebx
sub esp, 0x14
add dword [sym.zsh.exe_queueing_enabled], 1
mov eax, dword [esp + 0x20]
test eax, eax
cmove eax, edx
mov dword [esp], eax
call sub.cygwin1.dll_malloc
test eax, eax
je 0x445665
sub dword [sym.zsh.exe_queueing_enabled], 1
mov ebx, eax
je 0x445650
add esp, 0x14
mov eax, ebx
pop ebx
pop esi
ret
add eax, 1
cdq
shr edx, 0x19
add eax, edx
and eax, 0x7f
sub eax, edx
mov dword [sym.zsh.exe_queue_front], eax
mov eax, dword [eax*4 + sym.zsh.exe_signal_mask_queue]
mov dword [esp], eax
call sym.zsh.exe_signal_setmask
mov esi, eax
mov eax, dword [sym.zsh.exe_queue_front]
mov eax, dword [eax*4 + sym.zsh.exe_signal_queue]
mov dword [esp], eax
call sym.zsh.exe_zhandler
mov dword [esp], esi
call sym.zsh.exe_signal_setmask
mov eax, dword [sym.zsh.exe_queue_front]
cmp eax, dword [sym.zsh.exe_queue_rear]
jne 0x445610
add esp, 0x14
mov eax, ebx
pop ebx
pop esi
ret
mov dword [esp], str.fatal_error:_out_of_memory
call sym.zsh.exe_zerr
mov dword [esp], 1
call sub.cygwin1.dll_exit
lea esi, [esi]
Function at 0x445780
Capabilities:
Terminate process

Disassembly:
push esi
push ebx
sub esp, 0x14
add dword [sym.zsh.exe_queueing_enabled], 1
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
je 0x4458a0
test edx, edx
jne 0x445818
mov dword [esp], eax
xor ebx, ebx
call fcn.004e5e70
sub dword [sym.zsh.exe_queueing_enabled], 1
jne 0x44580d
mov eax, dword [sym.zsh.exe_queue_front]
cmp dword [sym.zsh.exe_queue_rear], eax
je 0x44580d
add eax, 1
cdq
shr edx, 0x19
add eax, edx
and eax, 0x7f
sub eax, edx
mov dword [sym.zsh.exe_queue_front], eax
mov eax, dword [eax*4 + sym.zsh.exe_signal_mask_queue]
mov dword [esp], eax
call sym.zsh.exe_signal_setmask
mov esi, eax
mov eax, dword [sym.zsh.exe_queue_front]
mov eax, dword [eax*4 + sym.zsh.exe_signal_queue]
mov dword [esp], eax
call sym.zsh.exe_zhandler
mov dword [esp], esi
call sym.zsh.exe_signal_setmask
mov eax, dword [sym.zsh.exe_queue_front]
cmp eax, dword [sym.zsh.exe_queue_rear]
jne 0x4457c0
add esp, 0x14
mov eax, ebx
pop ebx
pop esi
ret
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_realloc
mov ebx, eax
test eax, eax
je 0x4458b2
sub dword [sym.zsh.exe_queueing_enabled], 1
jne 0x44580d
mov eax, dword [sym.zsh.exe_queue_front]
cmp dword [sym.zsh.exe_queue_rear], eax
je 0x44580d
lea esi, [esi]
add eax, 1
cdq
shr edx, 0x19
add eax, edx
and eax, 0x7f
sub eax, edx
mov dword [sym.zsh.exe_queue_front], eax
mov eax, dword [eax*4 + sym.zsh.exe_signal_mask_queue]
mov dword [esp], eax
call sym.zsh.exe_signal_setmask
mov esi, eax
mov eax, dword [sym.zsh.exe_queue_front]
mov eax, dword [eax*4 + sym.zsh.exe_signal_queue]
mov dword [esp], eax
call sym.zsh.exe_zhandler
mov dword [esp], esi
call sym.zsh.exe_signal_setmask
mov eax, dword [sym.zsh.exe_queue_front]
cmp eax, dword [sym.zsh.exe_queue_rear]
jne 0x445848
jmp 0x44580d
mov dword [esp], edx
call sub.cygwin1.dll_malloc
mov ebx, eax
test eax, eax
jne 0x4457aa
mov dword [esp], str.fatal_error:_out_of_memory
call sym.zsh.exe_zerr
mov dword [esp], 1
call sub.cygwin1.dll_exit
lea esi, [esi]
Function at 0x45d5e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, edx
push edi
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x2c
mov edi, dword [0x52305c]
add edi, ecx
lea eax, [edi + 3]
and eax, 0xfffffffc
test byte [esp + 0x40], 1
cmove edi, eax
mov eax, dword [0x523058]
cmp dword [0x523054], edi
jl 0x45d6d0
mov dword [0x52305c], edi
test ebx, ebx
je 0x45d70e
test byte [esp + 0x40], 2
je 0x45d688
test esi, esi
je 0x45d676
mov ecx, dword [0x523060]
add esi, ecx
jmp 0x45d656
movsx edx, dl
add ebx, 1
movzx edx, byte [edx + 0x4e8038]
mov byte [ecx], dl
add ecx, 1
cmp esi, ecx
je 0x45d676
movzx ebp, byte [ebx]
mov edx, ebp
test byte [ebp + ebp + sym.zsh.exe_typtab], 0x10
jne 0x45d640
cmp dl, 0x83
je 0x45d6c0
mov byte [ecx], dl
add ecx, 1
add ebx, 1
cmp esi, ecx
jne 0x45d656
add eax, edi
mov dword [0x523060], eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [0x523060]
lea ebp, [ebx + esi]
test esi, esi
je 0x45d676
lea esi, [esi]
movzx edx, byte [ebx]
add ebx, 1
add ecx, 1
mov byte [ecx - 1], dl
cmp ebp, ebx
jne 0x45d698
add eax, edi
mov dword [0x523060], eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx edx, byte [ebx + 1]
add ebx, 2
xor edx, 0x20
jmp 0x45d64d
lea edx, [edi + edi]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x1c], edx
call sym.zsh.exe_zrealloc
mov ecx, dword [0x52305c]
mov edx, dword [esp + 0x1c]
mov dword [0x52305c], edi
mov dword [0x523058], eax
add ecx, eax
mov dword [0x523054], edx
mov dword [0x523060], ecx
test ebx, ebx
jne 0x45d622
mov edx, dword [0x523060]
mov ebx, ebp
add eax, edi
mov dword [0x523060], eax
mov byte [edx], bl
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret