joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412af0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x4c5400], eax
mov edx, 1
mov eax, 0x4c5400
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4c5dbc
jl 0x412b00
mov dword [0x4c23f4], 1
mov dword [0x4c7f1c], 1
pop edi
ret

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

Disassembly:
cmp dword [0x4c7f1c], 0
push esi
mov esi, 0x4c5400
jne 0x412b5a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.00412af0
mov dword [0x4c23f4], 0x270
mov dword [0x4c53fc], esi
mov ecx, 0xe3
nop
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi + 0x634]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x412b70
mov ecx, 0x18c
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi - 0x38c]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x412ba5
mov ecx, dword [esi]
mov eax, dword [0x4c5400]
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, dword [esi]
and al, 1
movzx edx, al
shr ecx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
ret

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

Disassembly:
dec dword [0x4c23f4]
jne 0x412c1d
call fcn.00412b40
mov eax, dword [0x4c53fc]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c53fc], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

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

Disassembly:
push ecx
dec dword [0x4c23f4]
jne 0x412c6e
call fcn.00412b40
mov ecx, dword [0x4c53fc]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4c53fc], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp], edx
fild dword [esp]
jns 0x412cb5
fadd qword [0x4bd480]
fmul qword [0x4bd4c0]
pop ecx
ret
Function at 0x415de0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4c28c0]
add eax, 4
imul eax, eax, 0x108
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push eax
call fcn.0048cd64
xor ebx, ebx
add esp, 4
mov dword [0x4c4fe0], eax
cmp eax, ebx
jne 0x415e13
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov esi, dword [0x4c28ec]
push 0x403870
mov edi, eax
push 0x4ef6d80
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4c64b8]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4c28ec], eax
call edi
cmp dword [ebp], ebx
jne 0x415e54
mov dword [esp + 0x14], 1
jmp 0x415efe
mov edx, dword [0x4c28ec]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xe8], bl
call esi
mov ecx, dword [0x4c28ec]
mov dword [ecx + 0xd8], eax
mov dword [ecx + 0xdc], 0x64
cmp byte [0x4c660c], bl
jne 0x415ea2
mov eax, dword [0x4c64b8]
push 0x403770
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4c660c], cl
mov byte [ebp + 0xacd], 1
call esi
mov ecx, dword [ebp]
push ebx
mov esi, 1
add dword [0x4c6624], esi
push ebx
push esi
mov dword [ebp + 0xae4], eax
mov dword [ebp + 0xae0], eax
call fcn.00424960
sub dword [0x4c6624], esi
mov dword [esp + 0x14], eax
cmp byte [0x4c660c], bl
je 0x415ef8
mov edx, dword [0x4c64b8]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x415ef8
mov byte [0x4c660c], bl
mov byte [ebp + 0xacd], bl
mov eax, dword [0x4c28ec]
cmp dword [eax + 0xfc], ebx
lea ecx, [eax + 0xfc]
je 0x415f2a
mov eax, dword [eax + 0x100]
push eax
push ecx
call fcn.0042e350
mov dword [esp + 0x1c], eax
mov eax, dword [0x4c28ec]
add esp, 8
push 1
push ebx
mov byte [eax + 0xe8], 1
mov esi, eax
push 0xffffffffffffffff
mov dword [eax + 0xb4], ebx
mov dword [eax + 0xb8], ebx
mov dword [eax + 0xbc], ebx
mov dword [eax + 0xc0], ebx
mov dword [eax + 0xc4], ebx
mov byte [eax + 0xf4], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x4c], ebx
mov byte [eax + 0xe4], 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 + 0xfc], ebx
mov byte [eax + 0x104], bl
mov ecx, 0x42
mov edi, 0x4c50f0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4c6cb4]
push 0x4a0900
push ecx
mov byte [eax + 0xe8], 1
mov dword [eax + 0xdc], ebx
mov word [eax + 0xe9], 1
mov dword [eax + 0x2c], SysReAllocString
call fcn.00476610
mov edx, dword [0x4c3acc]
cmp word [edx], bx
jne 0x416009
cmp dword [0x4c7eb8], ebx
jne 0x416009
cmp dword [0x4c65e8], ebx
jne 0x416009
cmp dword [0x4c65ec], ebx
jne 0x416009
cmp byte [0x4c6608], bl
jne 0x416009
mov edx, dword [esp + 0x14]
neg edx
sbb edx, edx
push ebx
and edx, 7
add edx, 2
push 0x4c8640
xor eax, eax
call fcn.00416050
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x416410
Capabilities:
Set current directory

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0xab4]
xor ebx, ebx
mov byte [edi + 0x274], 1
mov word [edi + 0xacc], 0
cmp eax, ebx
je 0x41661e
cmp word [eax], bx
je 0x41661e
cmp dword [0x4c8580], ebx
jne 0x416458
call fcn.00470d00
mov dword [0x4c8580], eax
cmp eax, ebx
je 0x4164a4
mov ecx, dword [0x4c8584]
cmp dword [ecx + 8], 0x14
jae 0x416476
call fcn.00470d00
mov ecx, dword [0x4c8584]
mov dword [ecx + 0xc], eax
cmp eax, ebx
je 0x4164a4
mov eax, dword [ecx + 4]
add dword [ecx + 8], 0xffffffec
lea edx, [eax + 0x14]
mov dword [0x4c8588], eax
mov dword [ecx + 4], edx
cmp eax, ebx
je 0x4164a4
mov dword [eax], vtable.Label.0
mov dword [eax + 4], 0x4ab02c
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x4164a6
xor eax, eax
mov dword [edi + 0x634], eax
cmp eax, ebx
je 0x41661e
mov ecx, 0x4a4ee8
cmp byte [0x4c65db], bl
jne 0x4164c7
mov ecx, dword [edi + 0xab4]
push edi
call fcn.00416790
cmp eax, 1
jne 0x41661e
push ebx
push ebx
push ebx
push 0x68
push edi
call fcn.0041c7e0
test eax, eax
je 0x41661e
mov eax, dword [edi]
push edi
call fcn.00421e10
test eax, eax
je 0x41661e
mov eax, dword [edi]
mov esi, edi
call fcn.00421ed0
cmp dword [edi + 8], ebx
je 0x41651c
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
mov dword [eax + 0x14], ecx
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
mov dword [edx + 0x10], eax
mov ecx, dword [edi + 8]
mov dword [edi], ecx
cmp dword [edi + 0x1c], ebx
jle 0x41654f
mov edx, dword [edi + 0x18]
mov ebp, dword [edx + ebx*4]
cmp byte [ebp + 0x3d], 0
jne 0x416547
mov eax, dword [ebp + 0x1c]
push ebp
lea esi, [ebp + 0x28]
push edi
call fcn.0042e870
mov eax, dword [ebp + 0x20]
push ebp
lea esi, [ebp + 0x30]
push edi
call fcn.0042e870
inc ebx
cmp ebx, dword [edi + 0x1c]
jl 0x416521
xor ebx, ebx
cmp dword [edi + 0x260], ebx
je 0x416578
call fcn.0041f960
test eax, eax
je 0x41661e
mov eax, dword [edi + 0x260]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x260], ebx
mov eax, dword [0x4c6ec0]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
inc dword [edi + 0x270]
push ebx
push ebx
push ebx
push 0x68
push edi
call fcn.0041c7e0
test eax, eax
je 0x41661e
push ebx
push ebx
push ebx
push 0x68
push edi
call fcn.0041c7e0
test eax, eax
je 0x41661e
mov ecx, dword [edi + 0x634]
mov edx, dword [edi + 4]
push ebx
push ebx
mov dword [ecx + 8], edx
mov eax, dword [edi]
push ebx
push eax
mov ecx, edi
call fcn.00421f30
test eax, eax
je 0x41661e
mov eax, dword [edi]
push edi
call fcn.00422250
test eax, eax
je 0x41661e
push 3
push ebx
push 0x4a4eec
mov ecx, edi
call fcn.00421410
mov dword [0x4c6cb4], eax
cmp eax, ebx
je 0x41661e
push 1
push ebx
push 0xffffffffffffffff
push 0x4a0900
push eax
call fcn.00476610
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x10]
call fcn.00412af0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
Function at 0x41c5c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov cx, word [0x4c28dc]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov eax, 0x20
push esi
mov word [esp + 0xc], ax
push edi
lea ebx, [esp + 0x10]
mov eax, ebp
mov word [esp + 0x12], cx
mov dword [esp + 0x14], 0x90028
mov dword [esp + 0x18], 0x3e003c
mov dword [esp + 0x1c], 0x3d003a
mov dword [esp + 0x20], 0x2d002b
mov dword [esp + 0x24], 0x2f002a
mov dword [esp + 0x28], 0x7e0021
mov dword [esp + 0x2c], 0x7c0026
mov dword [esp + 0x30], 0x5b005e
mov dword [esp + 0x34], 0x3f002e
mov dword [esp + 0x38], 0x7b
call fcn.004095d0
test eax, eax
je 0x41c649
cmp eax, ebp
jbe 0x41c663
sub eax, 2
jmp 0x41c663
mov eax, ebp
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c650
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 2]
mov edi, eax
cmp eax, ebp
jbe 0x41c684
lea esp, [esp]
movzx eax, word [edi]
cmp eax, 0x20
je 0x41c67d
cmp eax, 9
jne 0x41c684
sub edi, 2
cmp edi, ebp
ja 0x41c670
mov esi, edi
sub esi, ebp
sar esi, 1
inc esi
cmp esi, 0xfd
jbe 0x41c6b5
cmp byte [esp + 0x4c], 0
je 0x41c6a9
mov ecx, dword [esp + 0x40]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0042e160
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
mov ebx, dword [esp + 0x44]
push esi
push ebp
push ebx
call fcn.0048f9d4
add esp, 0xc
xor ecx, ecx
mov eax, edi
pop edi
mov word [ebx + esi*2], cx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
Function at 0x42aff0
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
mov eax, dword [0x4c6624]
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
cmp eax, dword [0x4c28c0]
jl 0x42b019
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
mov esi, dword [0x4c6cb4]
cmp byte [esi + 0x17], 0
jne 0x42b028
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x42b035
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42b04e
test byte [esi + 0x15], 4
je 0x42b049
mov eax, esi
call fcn.0042e710
mov eax, dword [esi + 8]
jmp 0x42b05e
cmp al, 2
jne 0x42b059
call fcn.00401000
jmp 0x42b05e
mov eax, 0x4c85b8
push 0x7f
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0048f9d4
mov eax, dword [0x4c28ec]
inc dword [0x4c6624]
add eax, 0x108
xor edx, edx
mov edi, eax
mov word [esp + 0x122], dx
mov ecx, 0x42
mov esi, 0x4c50f0
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor ebx, ebx
mov dword [0x4c28ec], eax
push ebx
mov eax, 0x4c8640
mov dword [esi + 0x2c], ebx
call fcn.00415ce0
mov dword [0x4c9110], ebx
mov dword [0x4c9114], ebx
cmp dword [0x4c6654], ebx
je 0x42b0cc
push 0x4c6cb8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
or eax, 0xffffffff
cmp byte [esi + 0xea], bl
jne 0x42b0e6
mov byte [esi + 0xea], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x4c911c], ebx
je 0x42b0fc
cmp dword [0x4c9118], ebx
jne 0x42b104
cmp byte [esi + 0xea], bl
je 0x42b12d
mov byte [esi + 0xe8], bl
cmp byte [esi + 0xea], bl
jne 0x42b12d
cmp dword [0x4c911c], ebx
jl 0x42b127
call edi
mov dword [esi + 0xd8], eax
mov eax, dword [0x4c911c]
mov dword [esi + 0xdc], eax
mov eax, dword [0x4c9090]
mov ebx, dword [0x4c9094]
mov ecx, dword [0x4c90e8]
mov edx, dword [0x4c90ec]
mov ebp, eax
mov dword [0x4c9094], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [0x4c90ec], ecx
mov dword [0x4c9090], eax
call edi
mov esi, dword [esp + 0x120]
mov ecx, dword [0x4c28ec]
mov dword [0x4c9124], eax
mov dword [0x4c9120], eax
mov dword [0x4c90e8], eax
mov dword [0x4c8c70], esi
cmp byte [ecx + 0xf5], 0
je 0x42b1c7
mov edx, dword [0x4c8560]
mov dword [edx*4 + 0x4c7f20], esi
call edi
mov ecx, dword [0x4c8560]
mov dword [ecx*4 + 0x4c5dc0], eax
inc ecx
mov dword [0x4c8560], ecx
cmp ecx, 0x190
jl 0x42b1c7
mov dword [0x4c8560], 0
push 0
push 0xffffffffffffffff
push 0
push esi
call fcn.0045a790
mov esi, eax
cmp esi, 1
jne 0x42b1e9
mov eax, dword [esp + 0x120]
push eax
call fcn.00429640
mov esi, eax
mov ecx, dword [0x4c28ec]
mov edx, dword [ecx + 0xc0]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0x4c6644], edx
lea edx, [esp + 0x18]
push edx
mov dword [0x4c9090], ebp
mov dword [0x4c90e8], eax
mov dword [0x4c9094], ebx
mov dword [0x4c90ec], ecx
call fcn.00403620
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
Function at 0x42e5e0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4000
call fcn.004984d0
cmp dword [esp + 0x4008], 0
push ebx
push ebp
mov ebp, dword [esp + 0x4018]
mov ebx, ecx
je 0x42e703
test ebx, ebx
jne 0x42e618
mov eax, dword [esp + 0x400c]
mov ebx, dword [eax + 0x630]
test ebx, ebx
je 0x42e622
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x42e62f
mov ecx, dword [eax + 0x26c]
movzx eax, word [eax + 0x270]
mov edx, dword [esp + 0x4014]
mov ecx, dword [ecx*4 + 0x4c6450]
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.00473860
add esp, 0x10
cmp word [ebp], 0
lea edi, [esp + eax*2 + 0x10]
je 0x42e680
lea eax, [esp + 0x10]
mov edx, edi
sub edx, eax
sar edx, 1
push ebp
push str._____Specifically:__s_n
sub esi, edx
call fcn.00473860
add esp, 8
mov esi, dword [esp + 0x4018]
cmp esi, 3
jne 0x42e6af
call fcn.0048d28d
add eax, 0x20
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0048ecb9
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret 0x10
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 2
jne 0x42e701
test ebx, ebx
jne 0x42e6d4
mov ecx, dword [esp + 0x4014]
mov ebx, dword [ecx + 0x630]
test ebx, ebx
je 0x42e6f3
mov eax, dword [esp + 0x401c]
push ebp
push 1
push eax
mov ecx, ebx
call fcn.0042dea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret 0x10
mov edx, dword [esp + 0x401c]
push ebp
push edx
call fcn.0042e160
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret 0x10
Function at 0x4353f0
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.004430f0
mov edi, eax
test edi, edi
je 0x43541e
mov esi, dword [esp + 0x1c]
push edi
call fcn.00477fb0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x435469
mov ecx, dword [0x4c28ec]
cmp byte [ecx + 0x104], 0
jne 0x43544c
mov edx, dword [0x4c6cb4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a331c
push edx
call fcn.00476610
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x4ab02c
push 0
push 0x4a331c
call fcn.0042dbe0
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 0x4354a1
cmp ebp, dword [0x4c85cc]
je 0x4354a1
mov esi, edi
call fcn.004784d0
test al, al
jne 0x4354a1
mov eax, dword [0x4c85cc]
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 0x4354df
mov edx, dword [0x4c6cb4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a0900
push edx
call fcn.00476610
mov eax, dword [0x4c28ec]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x4354df
push 1
push eax
call fcn.00401340
add esp, 8
test bl, bl
je 0x4354f3
mov ecx, dword [0x4c85cc]
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 0x436350
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.0042ff10
mov ebx, eax
test ebx, ebx
jne 0x436383
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042dea0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x43638f
jmp dword [eax*4 + 0x436588]
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x4363aa
push eax
call fcn.004549b0
add esp, 4
jmp 0x4363b0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4c6cb4]
call fcn.004010e0
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.004549b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x436428
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x436428
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 [0x4c6cb4]
push 0x18
push 0
push esi
call fcn.004010e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4c6cb4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a0900
push ecx
call fcn.00476610
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx edx, word [edi]
push edx
call fcn.0048ee2d
movzx eax, ax
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x436466.67
movzx eax, byte [eax + 0x4365b8]
jmp dword [eax*4 + 0x43659c]
mov esi, 0x40
jmp 0x436495
mov esi, 0x4000
jmp 0x436495
mov esi, 0x20
jmp 0x436495
mov esi, 0x8000
jmp 0x436495
mov esi, 0x80
jmp 0x436495
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x4364a9
push eax
call fcn.004549b0
add esp, 4
jmp 0x4364af
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x436428
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x436428
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x4363fc
mov edx, dword [0x4c6cb4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a0900
push edx
call fcn.00476610
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp word [edi], 0
je 0x436529
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.004130d0
fmul qword [0x4bd4a8]
call fcn.0049b600
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x436530
mov byte [esp + 0x13], 1
xor edi, edi
mov eax, dword [ebp + 0xc]
push eax
call fcn.004549b0
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x43654d
test esi, esi
jne 0x43640b
jmp 0x436551
test esi, esi
je case.0x436466.67
cmp byte [esp + 0x13], 0
jne 0x43656f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x43640b
push 1
push 0x64
call fcn.00401340
add esp, 8
jmp 0x436530
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x436e00
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4c6400]
push eax
mov eax, dword [esp + 0x18]
call fcn.004430f0
mov ebp, eax
test ebp, ebp
je 0x436e26
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
jmp 0x436e2b
mov ebx, 1
push 1
push 0
lea ecx, [ebx - 1]
push ecx
push 0
push edi
call fcn.00476610
cmp eax, 1
je 0x436e49
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
test ebp, ebp
je 0x436f5e
cmp byte [edi + 0x17], 0
jne 0x436e5c
mov esi, dword [edi + 0xc]
jmp 0x436e5e
mov esi, edi
test byte [esi + 0x15], 8
je 0x436e6b
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x436e84
test byte [esi + 0x15], 4
je 0x436e7f
mov eax, esi
call fcn.0042e710
mov eax, dword [esi + 8]
jmp 0x436e94
cmp al, 2
jne 0x436e8f
call fcn.00401000
jmp 0x436e94
mov eax, 0x4c85b8
push ebx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [edi + 0x17], 0
mov ebx, eax
jne 0x436eaa
mov esi, dword [edi + 0xc]
jmp 0x436eac
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x436ec4
test byte [esi + 0x15], 8
je 0x436ebf
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x436ec9
mov eax, 0x4c9308
lea edx, [ebx + ebx]
mov dword [eax], edx
cmp byte [edi + 0x17], 0
jne 0x436ed9
mov esi, dword [edi + 0xc]
jmp 0x436edb
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x436ef3
test byte [esi + 0x15], 8
je 0x436eee
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x436ef8
mov eax, 0x4c9308
test dword [eax], 0xfffffffe
jne 0x436fd5
cmp byte [edi + 0x17], 0
jne 0x436f0f
mov esi, dword [edi + 0xc]
jmp 0x436f11
mov esi, edi
test byte [esi + 0x15], 8
je 0x436f1e
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x436f3f
test byte [esi + 0x15], 4
je 0x436f32
mov eax, esi
call fcn.0042e710
mov eax, dword [esi + 8]
xor ecx, ecx
mov word [eax], cx
jmp 0x436fd5
cmp al, 2
jne 0x436f52
call fcn.00401000
xor ecx, ecx
mov word [eax], cx
jmp 0x436fd5
mov eax, 0x4c85b8
xor ecx, ecx
mov word [eax], cx
jmp 0x436fd5
cmp byte [edi + 0x17], 0
jne 0x436f69
mov esi, dword [edi + 0xc]
jmp 0x436f6b
mov esi, edi
test byte [esi + 0x15], 8
je 0x436f78
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x436f91
test byte [esi + 0x15], 4
je 0x436f8c
mov eax, esi
call fcn.0042e710
mov eax, dword [esi + 8]
jmp 0x436fa1
cmp al, 2
jne 0x436f9c
call fcn.00401000
jmp 0x436fa1
mov eax, 0x4c85b8
xor edx, edx
mov word [eax], dx
cmp byte [edi + 0x17], dl
jne 0x436fb0
mov esi, dword [edi + 0xc]
jmp 0x436fb2
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x436fca
test byte [esi + 0x15], 8
je 0x436fc5
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x436fcf
mov eax, 0x4c9308
mov dword [eax], 0
cmp byte [edi + 0x17], 0
jne 0x436fde
mov edi, dword [edi + 0xc]
cmp byte [edi + 0x17], 2
jne 0x436ffe
cmp dword [0x4c85f0], 0
je 0x436ffe
mov ecx, 0x4c85e4
call fcn.00404270
pop edi
pop esi
pop ebp
pop ebx
ret 4
and byte [edi + 0x15], 0x86
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x437e30
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10000
call fcn.004984d0
push ebp
mov ebp, dword [0x4c6400]
push esi
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp edi, 0x7fff
jb 0x437f5a
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push ebp
call fcn.00476610
test eax, eax
jne 0x437e80
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
cmp byte [ebp + 0x17], 0
jne 0x437e8b
mov esi, dword [ebp + 0xc]
jmp 0x437e8d
mov esi, ebp
test byte [esi + 0x15], 8
je 0x437e9a
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x437eb3
test byte [esi + 0x15], 4
je 0x437eae
mov eax, esi
call fcn.0042e710
mov eax, dword [esi + 8]
jmp 0x437ec3
cmp al, 2
jne 0x437ebe
call fcn.00401000
jmp 0x437ec3
mov eax, 0x4c85b8
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x437f17
cmp byte [ebp + 0x17], al
jne 0x437eda
mov esi, dword [ebp + 0xc]
jmp 0x437edc
mov esi, ebp
test byte [esi + 0x15], 8
je 0x437ee9
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x437f02
test byte [esi + 0x15], 4
je 0x437efd
mov eax, esi
call fcn.0042e710
mov eax, dword [esi + 8]
jmp 0x437f12
cmp al, 2
jne 0x437f0d
call fcn.00401000
jmp 0x437f12
mov eax, 0x4c85b8
xor edx, edx
mov word [eax], dx
cmp byte [ebp + 0x17], 0
jne 0x437f22
mov eax, dword [ebp + 0xc]
jmp 0x437f24
mov eax, ebp
cmp byte [eax + 0x17], 2
jne 0x437f47
cmp dword [0x4c85f0], 0
je 0x437f47
mov ecx, 0x4c85e4
call fcn.00404270
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
and byte [eax + 0x15], 0x86
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
lea eax, [esp + 0xc]
test edi, edi
jne 0x437f67
mov eax, 0x4ab02c
push 1
push 0
push edi
push eax
push ebp
call fcn.00476610
pop edi
pop esi
pop ebp
add esp, 0x10000
ret