joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419600
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push edi
mov edi, eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
cmp eax, ecx
je 0x419625
cmp esi, dword [edi + 0x68]
je 0x419625
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x68]
cmp esi, eax
je 0x41971f
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x419694
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], esi
call ebx
mov ecx, dword [edi + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
lea edx, [esp + 8]
push edx
call eax
mov ecx, dword [edi + 0x68]
push 0
push 0
push str.killfocus
call fcn.00419c60
mov dword [edi + 0x68], 0
test esi, esi
je 0x41971f
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, edi
jne 0x41971f
mov edx, dword [esi]
mov eax, dword [edx + 0xc8]
mov ecx, esi
call eax
test al, al
je 0x41971f
mov edx, dword [esi]
mov eax, dword [edx + 0xd4]
mov ecx, esi
call eax
test al, al
je 0x41971f
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [edi + 0x68], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], esi
call ebx
mov ecx, dword [edi + 0x68]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x108]
lea eax, [esp + 8]
push eax
call edx
mov ecx, dword [edi + 0x68]
push 0
push 0
push str.setfocus
call fcn.00419c60
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425210
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4d4], 0
je 0x425294
push ebx
mov ebx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
cmp edi, 0x100
jne 0x425272
cmp bx, 0xd
jne 0x425272
cmp byte [esi + 0x4da], 0
je 0x425253
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x425272
cmp byte [esi + 0x4db], 0
jne 0x425272
mov edi, dword [esi + 0x40]
test edi, edi
je 0x42526a
push 0
push 0
push str.return
mov ecx, esi
call fcn.00419c60
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esi + 0x4d4]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ebx
push edi
call edx
pop edi
pop ebx
pop esi
ret 0x10
mov eax, 1
pop esi
ret 0x10
Function at 0x435930
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x98
push ebx
push edi
lea ecx, [esp + 0xc]
mov dword [esi + 0x10], eax
push ecx
mov eax, esi
call fcn.00435b00
mov ecx, dword [esi + 0x10]
cmp byte [ecx + 0x5cd], 0
mov edi, 0x40000080
je 0x435966
mov edi, 0x400000a0
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, dword [eax]
sub edx, ecx
push edx
mov edx, dword [esp + 0x10]
sub ebx, edx
push ebx
push ecx
push edx
push 0
push edi
push 0
push eax
mov eax, esi
call fcn.0044d9d0
mov ecx, dword [esi + 0x10]
mov edi, dword [ecx + 0x4a8]
cmp edi, 0xffffffff
je 0x4359cd
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
test edi, edi
jl 0x4359c2
cmp edi, dword [eax + 0x22c]
jge 0x4359c2
mov ecx, dword [eax + 0x228]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx]
jmp 0x4359c9
call fcn.00419f20
mov eax, dword [eax]
test eax, eax
jne 0x4359de
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
call fcn.00419f20
mov eax, dword [eax]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 1
push ebx
push eax
mov eax, dword [esi + 4]
push 0x30
push eax
call edi
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 0x5c8]
mov eax, dword [esi + 4]
push 0
push edx
push 0xc5
push eax
call edi
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x5cd], 0
je 0x435a2b
movzx ecx, word [eax + 0x5ce]
mov edx, dword [esi + 4]
push 0
push ecx
push 0xcc
push edx
call edi
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x1c]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x435a5c
push eax
call fcn.0044f1f9
add esp, 4
mov edx, dword [esi + 4]
push 0
push 0
push 0xb9
push edx
call edi
mov eax, dword [esi + 4]
push 0
push 3
push 0xd3
push eax
call edi
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd4]
call eax
mov ecx, dword [esi + 4]
sub al, bl
neg al
sbb eax, eax
add eax, 1
push eax
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 4]
xor eax, eax
cmp byte [edx + 0x5cc], bl
push 0
sete al
push eax
push 0xcf
push ecx
call edi
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x7e8]
or edx, eax
mov eax, dword [esi + 4]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov byte [esi + 0x18], bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x435da0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x47a060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x10], 0
je 0x435e12
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
add esi, 1
lea eax, [esi + esi]
call fcn.00452ae0
mov ebx, esp
test ebx, ebx
je 0x435e12
mov ecx, dword [edi + 4]
push esi
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [edi + 0x10]
add esi, 0x1b8
push ebx
or eax, 0xffffffff
call fcn.0041aea0
mov esi, dword [edi + 0x10]
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
push 0
push 0
push str.textchanged
mov ecx, esi
call eax
mov ecx, esi
mov edi, eax
call fcn.00419c60
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044eeec
mov esp, ebp
pop ebp
ret
Function at 0x448b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov esi, eax
and esi, 7
je 0x448b32
cmp eax, esi
jge 0x448b2a
mov edx, edi
call fcn.004482e0
mov ecx, esi
shr dword [edi + 0xc], cl
sub dword [edi + 8], esi
xor eax, eax
cmp dword [edi + 8], eax
jle 0x448b5c
lea ecx, [eax - 8]
lea esp, [esp]
mov dl, byte [edi + 0xc]
shr dword [edi + 0xc], 8
add dword [edi + 8], ecx
mov byte [esp + eax + 8], dl
add eax, 1
cmp dword [edi + 8], 0
jg 0x448b40
cmp eax, 4
jge 0x448b7d
mov esi, dword [edi + 4]
mov edx, dword [edi]
cmp edx, esi
jb 0x448b69
xor ecx, ecx
jmp 0x448b6f
movzx ecx, byte [edx]
add edx, 1
mov byte [esp + eax + 8], cl
add eax, 1
cmp eax, 4
jl 0x448b61
mov dword [edi], edx
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0xb]
movzx edx, byte [esp + 0xa]
movzx esi, ah
movzx eax, al
shl esi, 8
add esi, eax
shl ecx, 8
mov eax, esi
add ecx, edx
xor eax, 0xffff
cmp ecx, eax
je 0x448bb6
mov dword [0x47d19c], str.zlib_corrupt
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [edi]
add ecx, esi
cmp ecx, dword [edi + 4]
jbe 0x448bcf
pop edi
mov dword [0x47d19c], 0x472630
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [edi + 0x10]
add edx, esi
cmp edx, dword [edi + 0x18]
jbe 0x448be4
mov ecx, esi
call fcn.00448320
test eax, eax
je 0x448bb0
push ebx
mov ebx, dword [edi]
push ebp
mov ebp, dword [edi + 0x10]
push esi
push ebx
push ebp
call fcn.00453d80
add esp, 0xc
add ebx, esi
add ebp, esi
mov dword [edi + 0x10], ebp
pop ebp
mov dword [edi], ebx
pop ebx
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x44e7d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x98
push ebx
mov dword [edi + 0x10], eax
push ebp
mov dword [eax + 0x5d4], 0
cmp dword [edi + 4], 0
push esi
jne 0x44e858
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
mov ecx, dword [eax + 4]
mov ebp, dword [eax]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x14]
sub ebx, ecx
push ebx
sub esi, ebp
push esi
push ecx
mov ecx, dword [eax]
push ebp
push 0
push 0x40000000
push 0
push ecx
mov eax, edi
call fcn.0044d9d0
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov ebx, dword [ecx + 0x4a8]
call eax
mov esi, eax
mov eax, ebx
call fcn.0041a410
mov ecx, dword [eax]
mov edx, dword [edi + 4]
push 1
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x20]
push edx
call eax
mov ecx, dword [eax]
cmp word [ecx], 0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
sete bl
cmp eax, edx
je 0x44e885
push eax
call fcn.0044f1f9
add esp, 4
test bl, bl
je 0x44e898
mov eax, dword [edi + 0x10]
add eax, 0x5c4
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 4]
add ecx, 0x5c4
push ecx
push 0
push 0x1002
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
pop esi
pop ebp
mov byte [edi + 0x18], 1
pop ebx
add esp, 0x98
ret

Function at 0x44eeec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47a060]
jne 0x44eef6
repz ret
jmp fcn.00454268
Function at 0x44f6d3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x44f710
cmp dword [ebp + 0x14], edi
je 0x44f710
cmp ecx, edi
jne 0x44f717
call fcn.00454120
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0044f38d
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x44f72b
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x44f74c
cmp ebx, 0xffffffff
je 0x44f73b
push ebx
push edi
push ecx
call fcn.00452a60
add esp, 0xc
cmp esi, edi
je 0x44f6f8
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x44f6f8
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x44f768
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x44f76f
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x44f860
test word [esi + 0xc], 0x10c
je 0x44f7c3
mov eax, dword [esi + 4]
test eax, eax
je 0x44f7c3
jl 0x44f8c1
cmp ebx, eax
mov edi, ebx
jb 0x44f794
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x44f868
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0044ee27
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x44f858
cmp ebx, dword [ebp - 0xc]
jb 0x44f830
cmp dword [ebp - 0xc], 0
je 0x44f7ed
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x44f7e2
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x44f7e9
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x44f7f8
mov eax, SysReAllocString
cmp ebx, eax
ja 0x44f7f8
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x44f894
push eax
push dword [ebp - 8]
push esi
call fcn.00455422
pop ecx
push eax
call fcn.00456098
add esp, 0xc
test eax, eax
je 0x44f8d3
cmp eax, 0xffffffff
je 0x44f8c1
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x44f858
push esi
call fcn.004559b7
cmp eax, 0xffffffff
pop ecx
je 0x44f8c5
cmp dword [ebp - 4], 0
je 0x44f894
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x44f777
mov eax, dword [ebp + 0x14]
jmp 0x44f712
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x44f87f
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00452a60
add esp, 0xc
call fcn.00454120
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x44f708
cmp dword [ebp + 0xc], 0xffffffff
je 0x44f8aa
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00452a60
add esp, 0xc
call fcn.00454120
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x44f708
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x44f712
or dword [esi + 0xc], 0x10
jmp 0x44f8c5
Function at 0x44fa78
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x44faa5
call fcn.00454133
mov dword [eax], esi
call fcn.00454120
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0044f38d
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x44fa81
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44fad4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00454146
pop ecx
call fcn.00454120
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x44fafb
test al, 1
je 0x44fafb
test byte [esp + 0xc], 2
je 0x44fafb
call fcn.00454133
mov dword [eax], 5
call fcn.00454120
mov dword [eax], 0xd
jmp 0x44facb
xor eax, eax
pop esi
ret

Function at 0x4550f3
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x47a328]
je 0x45510e
inc edi
cmp edi, 0x17
jb 0x4550ff
cmp edi, 0x17
jae 0x45528e
push ebp
push 3
call fcn.0045e3b5
cmp eax, 1
pop ecx
je 0x45525a
push 3
call fcn.0045e3b5
test eax, eax
pop ecx
jne 0x455142
cmp dword [0x47a050], 1
je 0x45525a
cmp ebx, 0xfc
je 0x45528d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x47ca98
push ebp
call fcn.00451b07
add esp, 0xc
test eax, eax
je 0x455178
push esi
push esi
push esi
push esi
push esi
call fcn.0044f291
add esp, 0x14
push 0x104
mov esi, 0x47cab1
push esi
push 0
mov byte [0x47cbb5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4551bc
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00451b07
add esp, 0xc
test eax, eax
je 0x4551bc
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0044f291
add esp, 0x14
push esi
call fcn.00452330
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x455201
push esi
call fcn.00452330
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x47cdac
push 0x467da4
sub ecx, eax
push ecx
push eax
call fcn.00451ec1
add esp, 0x14
test eax, eax
je 0x455201
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0044f291
add esp, 0x14
jmp 0x455203
xor esi, esi
push 0x467da0
push ebx
push ebp
call fcn.00451e50
add esp, 0xc
test eax, eax
je 0x455223
push esi
push esi
push esi
push esi
push esi
call fcn.0044f291
add esp, 0x14
push dword [edi*8 + 0x47a32c]
push ebx
push ebp
call fcn.00451e50
add esp, 0xc
test eax, eax
je 0x455245
push esi
push esi
push esi
push esi
push esi
call fcn.0044f291
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0045e1f8
add esp, 0xc
jmp 0x45528d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x45528d
cmp ebp, 0xffffffff
je 0x45528d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x47a32c]
push dword [esi]
call fcn.00452330
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x45e1f8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0045331c
xor ebx, ebx
cmp dword [0x47d07c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x45e2ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x45e3ae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x45e3ae
push eax
call fcn.004532ae
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47d07c], eax
call esi
push eax
call fcn.004532ae
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47d080], eax
call esi
push eax
call fcn.004532ae
mov dword [0x47d084], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00453a1d
test eax, eax
pop ecx
pop ecx
je 0x45e29c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044f291
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x45e2ce
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004532ae
cmp eax, ebx
pop ecx
mov dword [0x47d08c], eax
je 0x45e2ce
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004532ae
pop ecx
mov dword [0x47d088], eax
mov eax, dword [0x47d088]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x45e353
cmp dword [0x47d08c], ecx
je 0x45e353
push eax
call fcn.00453325
push dword [0x47d08c]
mov esi, eax
call fcn.00453325
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x45e353
cmp edi, ebx
je 0x45e353
call esi
cmp eax, ebx
je 0x45e320
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45e320
test byte [ebp - 0x18], 1
jne 0x45e353
lea eax, [ebp - 0x10]
push eax
call fcn.00453a54
test eax, eax
pop ecx
je 0x45e33b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044f291
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x45e34a
or dword [ebp + 0x10], 0x200000
jmp 0x45e38e
or dword [ebp + 0x10], 0x40000
jmp 0x45e38e
mov eax, dword [0x47d080]
cmp eax, dword [ebp - 8]
je 0x45e38e
push eax
call fcn.00453325
cmp eax, ebx
pop ecx
je 0x45e38e
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45e38e
mov eax, dword [0x47d084]
cmp eax, dword [ebp - 8]
je 0x45e38e
push eax
call fcn.00453325
cmp eax, ebx
pop ecx
je 0x45e38e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47d07c]
call fcn.00453325
cmp eax, ebx
pop ecx
je 0x45e3ae
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45e3b0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403694
Capabilities:
Enumerate processes

Disassembly:
push 0x24c
mov eax, 0x47909c
call fcn.0044ef10
mov esi, ecx
mov ebx, esi
call fcn.0040380b
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4036c1
xor al, al
jmp 0x403732
lea eax, [ebp - 0x258]
push eax
push ebx
mov dword [ebp - 0x258], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x403725
and dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
call fcn.0040315e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00403794
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403211
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4036db
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
call fcn.0044ef93
ret
Function at 0x403b23
Capabilities:
Check if file exists

Disassembly:
push 0xb4
mov eax, 0x47ca6d
call fcn.0044ef10
call fcn.00403ffe
xor esi, esi
push esi
call fcn.004043fd
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
mov dword [ebp - 4], esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
lea ebx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00403eef
lea eax, [ebp - 0x48]
push eax
call fcn.00403e45
pop ecx
pop ecx
call section..text
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x54], esi
je 0x403bef
push 0x48fb68
push eax
call fcn.00403d31
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00403da2
lea ecx, [ebp - 0x80]
push str..dll
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00403dc4
add esp, 0x18
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004039b8
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp - 0x80]
call fcn.00403211
push esi
push ebx
lea ecx, [ebp - 0xb8]
call fcn.00403211
jmp 0x403c0f
push str..dll
push eax
lea ebx, [ebp - 0x48]
call fcn.00403d31
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004039b8
xor ebx, ebx
inc ebx
push esi
push ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00403211
push 0xa
call fcn.004043fd
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebp - 0x18], 8
mov edi, eax
mov eax, dword [ebp - 0x2c]
jae 0x403c3d
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
call fcn.00403020
push 0x48fb6c
push 0xc9
push edi
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, esi
jne 0x403c63
xor edi, edi
jmp 0x403c71
push eax
push edi
lea eax, [ebp - 0x80]
call fcn.00404e39
pop ecx
pop ecx
mov edi, eax
push esi
push ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00403211
cmp edi, esi
je 0x403cfe
push 0x32
call fcn.004043fd
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
pop ecx
jae 0x403c97
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403cfe
push 0x3c
call fcn.004043fd
pop ecx
call fcn.00401a4d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x403cbb
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, esi
je 0x403cfe
push 0x46
call fcn.004043fd
lea eax, [ebp - 0xc0]
push eax
call fcn.0043ea16
pop ecx
pop ecx
push 0x48fb7c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x403cf6
push dword [ebp - 0xc0]
call eax
pop ecx
push 0x50
call fcn.004043fd
pop ecx
push 0x5a
call fcn.004043fd
pop ecx
call fcn.00402261
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00403211
push esi
push ebx
lea ecx, [ebp - 0x64]
call fcn.00403211
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.00403211
xor eax, eax
call fcn.0044ef93
ret