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

Disassembly:
mov eax, dword [0x4a78f8]
add eax, 4
imul eax, eax, 0xe8
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push eax
call fcn.00485609
xor ebx, ebx
add esp, 4
mov dword [0x4a9e60], eax
cmp eax, ebx
jne 0x415f63
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov esi, dword [0x4a7978]
push 0x403800
mov edi, eax
push 0x4ef6d80
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4ab2a0]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4a7978], eax
call edi
cmp dword [ebp], ebx
jne 0x415fa1
mov ebp, 1
jmp 0x41604f
mov edx, dword [0x4a7978]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xcc], bl
call esi
mov ecx, dword [0x4a7978]
mov dword [ecx + 0xbc], eax
mov dword [ecx + 0xc0], 0x64
cmp byte [0x4ab3f8], bl
jne 0x415fef
mov eax, dword [0x4ab2a0]
push 0x403700
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4ab3f8], cl
mov byte [ebp + 0x615], 1
call esi
mov ecx, dword [ebp]
push ebx
mov esi, 1
add dword [0x4ab410], esi
push ebx
push esi
mov dword [ebp + 0x62c], eax
mov dword [ebp + 0x628], eax
call fcn.00424860
sub dword [0x4ab410], esi
mov dword [esp + 0x14], eax
cmp byte [0x4ab3f8], bl
je 0x416045
mov edx, dword [0x4ab2a0]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x416045
mov byte [0x4ab3f8], bl
mov byte [ebp + 0x615], bl
mov ebp, dword [esp + 0x14]
mov eax, dword [0x4a7978]
cmp dword [eax + 0xe4], ebx
lea esi, [eax + 0xe4]
je 0x416098
mov eax, dword [esi]
cmp dword [eax + 8], 6
jne 0x416074
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x416086
push eax
call fcn.00485468
add esp, 4
mov ecx, dword [esi]
push ecx
call fcn.004851c8
mov eax, dword [0x4a7978]
add esp, 4
mov dword [esi], ebx
mov edx, dword [0x4abaa0]
push 1
push ebx
push 0xffffffffffffffff
mov byte [eax + 0xcc], 1
mov esi, eax
push 0x4998ac
mov dword [eax + 0x94], ebx
mov dword [eax + 0x98], ebx
mov dword [eax + 0x9c], ebx
mov dword [eax + 0xa4], ebx
mov dword [eax + 0xa8], ebx
mov byte [eax + 0xd8], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x4c], ebx
mov byte [eax + 0xc8], bl
mov dword [eax + 0x48], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], ebx
mov ecx, 0x3a
mov edi, 0x4a9f50
rep movsd dword es:[edi], dword [esi]
push edx
mov byte [eax + 0xcc], 1
mov dword [eax + 0xc0], ebx
mov word [eax + 0xcd], 1
mov dword [eax + 0x2c], CreateStatusWindowA
call fcn.00475300
mov eax, dword [0x4a8a8c]
cmp word [eax], bx
jne 0x416171
cmp dword [0x4acba4], ebx
jne 0x416171
cmp dword [0x4ab3d0], ebx
jne 0x416171
cmp dword [0x4ab3d4], ebx
jne 0x416171
cmp byte [0x4ab3f4], bl
jne 0x416171
neg ebp
sbb ebp, ebp
and ebp, 7
push ebx
add ebp, 2
push ebp
push 0x4ad328
call fcn.004161b0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x4161b0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
sub esp, 0xa4
push ebx
xor ebx, ebx
push esi
push edi
mov dword [eax + 0x5d0], ecx
cmp byte [0x4adb3f], bl
jne 0x416338
cmp byte [eax + 0x614], bl
je 0x416338
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x4abaa0]
push ebx
push 1
mov dword [0x4ae5d4], eax
call fcn.00401210
push 0x7f
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004883f0
mov eax, dword [0x4a7978]
inc dword [0x4ab410]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xbb], bl
mov ecx, 0x3a
mov esi, 0x4a9f50
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4a7978], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4ad328
call fcn.00415e30
mov dword [0x4ad940], ebx
mov dword [0x4ad944], ebx
cmp dword [0x4ab43c], ebx
je 0x416262
push 0x4abaa8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x5c4]
mov edi, dword [0x4a78ec]
mov dword [0x4a78ec], ebx
mov byte [0x4adb3f], 1
mov byte [esp + 0xf], 1
mov byte [0x4a8e23], bl
cmp ecx, ebx
je 0x4162a2
call fcn.00401280
test eax, eax
je 0x4162a2
cmp byte [0x4a8e23], bl
jne 0x4162a2
mov byte [esp + 0xf], bl
mov byte [0x4a8e23], 1
cmp byte [esp + 0xf], bl
je 0x4162fb
mov dword [esp + 0x18], ebx
call fcn.00441f40
mov dword [esp + 0x10], eax
mov eax, dword [0x4ae5d4]
cdq
mov dword [esp + 0x24], edx
xor edx, edx
cmp dword [esi + 0x5c4], ebx
mov dword [esp + 0x20], eax
sete dl
lea eax, [esp + 0x10]
lea ebx, [esi + 0x590]
mov dword [esp + 0x28], 1
push edx
push 2
push eax
call fcn.0046da50
xor ebx, ebx
cmp eax, 3
jne 0x4162fb
mov byte [esp + 0xf], bl
mov byte [0x4adb3f], bl
cmp byte [esp + 0xf], bl
jne 0x41632e
cmp dword [ebp + 0xc], 3
je 0x41632e
lea ecx, [esp + 0x30]
push ecx
call fcn.00403590
add esp, 4
mov dword [0x4a78ec], edi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
push edx
push esi
call fcn.00416380
cmp byte [0x4a8e23], bl
jne 0x41636c
cmp ecx, 9
jne 0x41636c
mov eax, dword [0x4ab240]
cmp byte [eax], bl
je 0x416357
mov ecx, dword [ebp + 0x10]
mov dword [0x4ae5d4], ecx
pop edi
pop esi
mov byte [0x4a8e23], 1
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
push edx
push eax
call fcn.00416380
int3
Function at 0x41c1f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, byte [0x4a73b3]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], al
mov dword [esp + 0xe], 0x3e3c0928
mov dword [esp + 0x12], 0x2d2b3d3a
mov dword [esp + 0x16], 0x7e212f2a
mov dword [esp + 0x1a], 0x5b5e7c26
mov dword [esp + 0x1e], 0x7b3f2e
mov edi, ebp
test ebp, ebp
je 0x41c25a
mov dl, byte [ebp]
test dl, dl
je 0x41c25a
lea ecx, [ecx]
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x41c2ae
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41c246
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x41c240
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c260
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x41c280
mov al, byte [edi]
cmp al, 0x20
je 0x41c27b
cmp al, 9
jne 0x41c280
dec edi
cmp edi, ebp
ja 0x41c271
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x41c2b5
cmp byte [esp + 0x30], 0
je 0x41c2a3
mov ecx, dword [esp + 0x28]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0042d970
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x41c280
dec edi
jmp 0x41c26d
push esi
push ebp
push ebx
call fcn.004883f0
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x42a850
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4ab410]
sub esp, 0x9c
push ebx
push esi
push edi
cmp eax, dword [0x4a78f8]
jl 0x42a87a
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [0x4abaa0]
cmp byte [esi + 0x17], 0
jne 0x42a889
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x42a896
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42a8af
test byte [esi + 0x15], 4
je 0x42a8aa
mov eax, esi
call fcn.0042dfd0
mov eax, dword [esi + 8]
jmp 0x42a8bf
cmp al, 2
jne 0x42a8ba
call fcn.00401000
jmp 0x42a8bf
mov eax, 0x4acbb3
push 0x7f
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004883f0
mov eax, dword [0x4a7978]
inc dword [0x4ab410]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xb3], 0
mov ecx, 0x3a
mov esi, 0x4a9f50
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor edi, edi
mov dword [0x4a7978], eax
push edi
mov eax, 0x4ad328
mov dword [esi + 0x2c], edi
call fcn.00415e30
mov dword [0x4ad940], edi
mov dword [0x4ad944], edi
cmp dword [0x4ab43c], edi
je 0x42a92b
push 0x4abaa8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
or eax, 0xffffffff
cmp byte [esi + 0xce], 0
jne 0x42a946
mov byte [esi + 0xce], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
cmp dword [0x4ad94c], edi
je 0x42a956
cmp dword [0x4ad948], edi
jne 0x42a95f
cmp byte [esi + 0xce], 0
je 0x42a997
cmp byte [esi + 0xce], 0
mov byte [esi + 0xcc], 0
jne 0x42a997
cmp dword [0x4ad94c], edi
jge 0x42a97f
mov dword [esi + 0xc0], eax
jmp 0x42a997
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xbc], eax
mov edx, dword [0x4ad94c]
mov dword [esi + 0xc0], edx
mov eax, dword [0x4ad8b0]
mov ecx, dword [0x4ad918]
mov edx, dword [0x4ad91c]
mov ebx, dword [0x4ad8b4]
mov esi, dword [ebp + 0xc]
mov edi, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [0x4ad8b4], eax
mov dword [0x4ad91c], ecx
mov dword [0x4ad8b0], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ad954], eax
mov dword [0x4ad950], eax
mov dword [0x4ad918], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 5
jne 0x42a9f5
mov esi, dword [eax + 0xc]
call fcn.0042a7e0
mov esi, eax
jmp 0x42aa32
mov ecx, dword [eax + 0xc]
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push edx
xor eax, eax
push str.call
push ecx
lea edx, [eax + 1]
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], esi
call fcn.0046aa70
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42aa32
mov esi, dword [esp + 0x14]
neg esi
sbb esi, esi
add esi, 4
mov eax, dword [0x4a7978]
mov ecx, dword [eax + 0xa4]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [0x4ab424], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [0x4ad8b0], edi
mov dword [0x4ad918], edx
mov dword [0x4ad8b4], ebx
mov dword [0x4ad91c], eax
call fcn.00403590
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42dea0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x2000
call fcn.00491c20
cmp dword [esp + 0x2008], 0
push ebx
push ebp
mov ebp, dword [esp + 0x2018]
mov ebx, ecx
je 0x42dfbf
test ebx, ebx
jne 0x42ded8
mov eax, dword [esp + 0x200c]
mov ebx, dword [eax + 0x370]
test ebx, ebx
je 0x42dee2
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x42deef
mov ecx, dword [eax + 0x16c]
movzx eax, word [eax + 0x170]
mov edx, dword [esp + 0x2014]
mov ecx, dword [ecx*4 + 0x4ab238]
push esi
push edi
push edx
movzx eax, ax
push eax
push ecx
push str._s___d__:___Warning:__s_n
mov esi, 0x2000
lea edi, [esp + 0x20]
call fcn.00472550
add esp, 0x10
cmp byte [ebp], 0
lea edi, [esp + eax + 0x10]
je 0x42df3c
push ebp
lea esi, [esp + 0x2014]
push str._____Specifically:__s_n
sub esi, edi
call fcn.00472550
add esp, 8
mov esi, dword [esp + 0x2018]
cmp esi, 3
jne 0x42df6b
call fcn.00485b17
add eax, 0x20
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00487b11
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, 2
jne 0x42dfbd
test ebx, ebx
jne 0x42df90
mov ecx, dword [esp + 0x2014]
mov ebx, dword [ecx + 0x370]
test ebx, ebx
je 0x42dfaf
mov ecx, dword [esp + 0x201c]
push ebp
push 1
push ecx
mov ecx, ebx
call fcn.0042d6b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
mov edx, dword [esp + 0x201c]
push ebp
push edx
call fcn.0042d970
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
Function at 0x42e3f0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
push esi
push edi
mov edi, eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebx, ebx
cmp eax, ebx
je 0x42e41f
push 0x64
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42e426
mov byte [esp + 0xa0], bl
mov esi, dword [0x4ad8fc]
mov byte [esp + 0x20], bl
cmp esi, ebx
je 0x42e4cb
cmp byte [esi + 0x11], bl
je 0x42e479
mov edx, dword [esi]
push edx
call fcn.0046d950
add esp, 4
sub eax, ebx
je 0x42e45d
dec eax
je 0x42e456
mov eax, str.Object
jmp 0x42e462
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x42e462
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
push eax
push 0x49daf8
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.00472590
add esp, 8
mov esi, dword [esi + 0x14]
cmp esi, ebx
jne 0x42e438
cmp byte [esp + 0x20], bl
je 0x42e4cb
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42e490
sub eax, edx
cmp eax, 0x7b
jbe 0x42e4bd
mov esi, 0x7f
sub esi, eax
push esi
lea ebp, [esp + eax + 0x24]
push 0x49bbf4
push ebp
call fcn.004883f0
add esp, 0xc
mov byte [esi + ebp], bl
jmp 0x42e4cb
cmp byte [esp + eax + 0x1f], 0x20
lea eax, [esp + eax + 0x20]
jne 0x42e4cb
mov byte [eax - 1], bl
mov edx, dword [0x4a9e60]
cmp byte [edx + 0xd8], bl
je 0x42e4e9
mov dword [esp + 0x14], 1
cmp byte [0x4ad93d], bl
je 0x42e4ed
mov dword [esp + 0x14], ebx
mov eax, dword [0x4ab410]
mov dword [esp + 0x10], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x42e5fc
mov dword [esp + 0x10], 0x499861
mov dword [esp + 0x18], ebx
mov ebp, 0x49aa70
cmp dword [0x4ab3d4], ebx
je 0x42e521
mov ebp, 0x49aa6c
mov esi, 0x49aa70
cmp dword [0x4ab3d0], ebx
je 0x42e533
mov esi, 0x49aa6c
push 1
call fcn.00411a80
mov bl, al
add esp, 4
lea eax, [esp + 0x108]
call fcn.00411e40
mov ecx, dword [0x4ab410]
mov edx, dword [0x4ab414]
sub edx, dword [esp + 0x14]
push eax
mov eax, dword [0x4ab40c]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x4ad904]
push ecx
mov ecx, dword [0x4ad908]
lea edx, [esp + 0x38]
push edx
push eax
push ecx
push ebp
push esi
lea edx, [esp + 0xcc]
push edx
push str.Window:__s_r_nKeybd_hook:__s_r_nMouse_hook:__s_r_nEnabled_Timers:__u_of__u___s__r_nInterrupted_threads:__d_s_r_nPaused_threads:__d_of__d___d_layers__r_nModifiers__GetKeyState___now____s_r_n
mov esi, 0xfffe
call fcn.00472550
mov esi, dword [esp + 0x50]
add edi, eax
mov eax, esi
sub eax, edi
add esp, 0x34
add eax, 0xfffe
push eax
push edi
call fcn.00408f20
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42e5c0
sub eax, ecx
add edi, eax
cmp dword [0x4abbb0], 0
mov eax, str._r_nPress__F5__to_refresh.
jne 0x42e5de
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
sub esi, edi
push eax
add esi, 0xfffe
call fcn.00472550
add esp, 4
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret
dec eax
mov dword [esp + 0x18], eax
jmp 0x42e50f
Function at 0x434410
Capabilities:
Log keystrokes

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
push edi
push eax
mov eax, dword [esp + 0x28]
call fcn.00440f70
mov edi, eax
test edi, edi
je 0x43443e
mov esi, dword [esp + 0x1c]
push edi
call fcn.00476d00
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x434489
mov ecx, dword [0x4a7978]
test byte [ecx + 0xe0], 1
jne 0x43446c
mov edx, dword [0x4abaa0]
push 1
push 0
push 0xffffffffffffffff
push 0x49afb0
push edx
call fcn.00475300
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x499861
push 0
push 0x49afb0
call fcn.0042d440
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
push 0
push edi
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
test ebp, ebp
je 0x4344c1
cmp ebp, dword [0x4ad2b4]
je 0x4344c1
mov esi, edi
call fcn.004771e0
test al, al
jne 0x4344c1
mov eax, dword [0x4ad2b4]
push 1
push ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bl
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x4344ff
mov edx, dword [0x4abaa0]
push 1
push 0
push 0xffffffffffffffff
push 0x4998ac
push edx
call fcn.00475300
mov eax, dword [0x4a7978]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x4344ff
push 1
push eax
call fcn.004013c0
add esp, 8
test bl, bl
je 0x434513
mov ecx, dword [0x4ad2b4]
push 0
push ebp
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x10
Function at 0x435230
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.0042f790
mov ebx, eax
test ebx, ebx
jne 0x435263
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042d6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x43526f
jmp dword [eax*4 + 0x435468]
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x435289
push eax
call fcn.004520f0
add esp, 4
jmp 0x43528f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4abaa0]
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
call fcn.004520f0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x435307
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x435307
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg esi
sbb esi, esi
and esi, ebx
mov eax, dword [0x4abaa0]
push 0x18
push 0
push esi
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4abaa0]
push 1
push 0
push 0xffffffffffffffff
push 0x4998ac
push ecx
call fcn.00475300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsx edx, byte [edi]
push edx
call fcn.00487ce7
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x435342.67
movzx eax, byte [eax + 0x435498]
jmp dword [eax*4 + 0x43547c]
mov esi, 0x40
jmp 0x435371
mov esi, 0x4000
jmp 0x435371
mov esi, 0x20
jmp 0x435371
mov esi, 0x8000
jmp 0x435371
mov esi, 0x80
jmp 0x435371
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x435384
push eax
call fcn.004520f0
add esp, 4
jmp 0x43538a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x435307
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x435307
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x4352db
mov edx, dword [0x4abaa0]
push 1
push 0
push 0xffffffffffffffff
push 0x4998ac
push edx
call fcn.00475300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [edi], 0
je 0x435403
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.00413380
fmul qword [0x4a1cd0]
call fcn.00493e10
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x435410
mov byte [esp + 0x13], 1
xor edi, edi
lea ebx, [ebx]
mov eax, dword [ebp + 0xc]
push eax
call fcn.004520f0
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x43542d
test esi, esi
jne 0x4352ea
jmp 0x435431
test esi, esi
je case.0x435342.67
cmp byte [esp + 0x13], 0
jne 0x43544f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x4352ea
push 1
push 0x64
call fcn.004013c0
add esp, 8
jmp 0x435410
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x435ca0
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [0x4ab1e8]
push edi
push eax
mov eax, dword [esp + 0x18]
call fcn.00440f70
mov edi, eax
test edi, edi
je 0x435cc6
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ebp, [eax + 1]
jmp 0x435ccb
mov ebp, 1
push 1
push 0
lea ecx, [ebp - 1]
push ecx
push 0
push esi
call fcn.00475300
cmp eax, 1
je 0x435ce9
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov ecx, esi
test edi, edi
je 0x435d6e
push ebp
push 0
push 1
call fcn.00401210
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esi + 0x17], 0
mov ebp, eax
jne 0x435d0e
mov edi, dword [esi + 0xc]
jmp 0x435d10
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x435d28
test byte [edi + 0x15], 8
je 0x435d23
mov eax, edi
call fcn.00401150
lea eax, [edi + 0xc]
jmp 0x435d2d
mov eax, 0x4adb38
mov dword [eax], ebp
cmp byte [esi + 0x17], 0
jne 0x435d3a
mov edi, dword [esi + 0xc]
jmp 0x435d3c
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x435d54
test byte [edi + 0x15], 8
je 0x435d4f
mov eax, edi
call fcn.00401150
lea eax, [edi + 0xc]
jmp 0x435d59
mov eax, 0x4adb38
cmp dword [eax], 0
jne 0x435daa
push 0
push 1
mov ecx, esi
call fcn.00401210
mov byte [eax], 0
jmp 0x435daa
push 0
push 1
call fcn.00401210
mov byte [eax], 0
cmp byte [esi + 0x17], 0
jne 0x435d85
mov edi, dword [esi + 0xc]
jmp 0x435d87
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x435d9f
test byte [edi + 0x15], 8
je 0x435d9a
mov eax, edi
call fcn.00401150
lea eax, [edi + 0xc]
jmp 0x435da4
mov eax, 0x4adb38
mov dword [eax], 0
cmp byte [esi + 0x17], 0
jne 0x435db3
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x435dd5
cmp dword [0x4ad2d8], 0
je 0x435dd5
push 1
mov ecx, 0x4ad2cc
call fcn.00404350
pop edi
pop esi
pop ebp
pop ecx
ret 4
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret 4

Function at 0x436b60
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x8000
call fcn.00491c20
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push esi
mov esi, dword [0x4ab1e8]
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
mov edi, eax
cmp edi, 0x7fff
jb 0x436c14
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push esi
call fcn.00475300
test eax, eax
jne 0x436bb2
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
push edi
push 0
push 1
mov ecx, esi
call fcn.00401210
push eax
push ebx
call ebp
test eax, eax
jne 0x436bd3
push eax
push 1
mov ecx, esi
call fcn.00401210
mov byte [eax], 0
cmp byte [esi + 0x17], 0
jne 0x436bdc
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x436c01
cmp dword [0x4ad2d8], 0
je 0x436c01
push 1
mov ecx, 0x4ad2cc
call fcn.00404350
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x8000
ret
lea eax, [esp + 0xc]
test edi, edi
jne 0x436c21
mov eax, 0x499861
push 1
push 0
push edi
push eax
push esi
call fcn.00475300
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
Function at 0x438ee0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
mov edi, eax
mov eax, dword [0x4ad934]
push ebx
push eax
push str.__s_s
mov esi, 0x800
call fcn.00472550
mov esi, eax
lea ecx, [esi + 1]
add esp, 0xc
cmp ecx, 0x800
jg 0x438f35
lea edx, [edi + 1]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x438f35
mov ecx, dword [esp + 0x14]
mov word [esi + edi], 0x22
mov eax, dword [0x4ad934]
pop edi
pop esi
mov dword [ecx], eax
mov al, 1
pop ebp
ret
push ebp
call fcn.004395a0
add esp, 4
test eax, eax
je 0x438f83
push ebx
push ebp
push str.__s_s
mov esi, 0x800
call fcn.00472550
mov esi, eax
lea eax, [esi + 1]
add esp, 0xc
cmp eax, 0x800
jg 0x438f83
lea ecx, [edi + 1]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x438f83
mov edx, dword [esp + 0x14]
mov word [esi + edi], 0x22
pop edi
pop esi
mov dword [edx], ebp
mov al, 1
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebp
ret

Function at 0x438f90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x1114
call fcn.00491c20
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
lea ebp, [esp + 0x924]
push ecx
mov eax, ebp
mov dword [esp + 0x18], 0x499861
call fcn.00438ee0
add esp, 8
test al, al
jne 0x438fce
pop edi
pop esi
pop ebp
add esp, 0x1114
ret
cmp byte [esp + 0x1124], 0
je 0x439037
mov edx, dword [esp + 0x14]
push 0x49ea6c
push edx
push str.__s_s
mov esi, 0x800
lea edi, [esp + 0x12c]
call fcn.00472550
mov esi, eax
lea eax, [esi + 1]
add esp, 0xc
cmp eax, 0x800
jg 0x439037
lea ecx, [esp + 0x121]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x439037
lea edx, [esp + 0x920]
mov byte [esp + esi + 0x120], 0x22
mov byte [esp + esi + 0x121], 0
mov ebp, edi
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0x4ad328
mov edx, ebp
call fcn.0042e610
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebp
add esp, 0x1114
ret