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

Disassembly:
sub esp, 8
cmp dword [0x4c28e8], 1
push ebx
jne 0x410457
xor bl, bl
cmp dword [0x4c0e4c], 0
mov byte [esp + 8], bl
je 0x4103b6
mov bl, 1
mov byte [esp + 8], bl
cmp dword [0x4c0e50], 0
je 0x4103c6
or bl, 2
mov byte [esp + 8], bl
test bl, bl
je 0x4103e1
mov al, byte [0x4bfc3f]
not al
and al, bl
movzx ecx, al
push 1
push ecx
call fcn.004085c0
add esp, 8
mov edx, dword [0x4bfc58]
mov eax, dword [0x4bfc54]
push 0x1c
push edx
push eax
call dword [0x4c3c34]
test bl, bl
je 0x4104d5
mov cl, byte [0x4bfc3f]
and cl, bl
test cl, 1
je 0x41043e
push 1
call fcn.00410f70
mov dl, byte [esp + 0x18]
mov cl, al
xor cl, dl
mov bl, cl
and bl, dl
not bl
and bl, byte [0x4c0d1b]
and cl, al
or bl, cl
add esp, 4
mov byte [0x4c0d1b], bl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [0x4bfa68], eax
mov edx, dword [esp + 8]
pop ebx
add esp, 8
mov dword [esp + 8], 1
mov dword [esp + 4], edx
jmp fcn.004085c0
mov eax, dword [0x4c0d14]
push 0
push eax
push 0x40e740
push 1
mov dword [0x4bfc4c], 0
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4c0e54], eax
test eax, eax
je 0x4104d5
mov byte [0x4c0d3c], 1
push 1
push 0x8000012f
mov dword [0x4bd3c0], 0
call fcn.00401350
add esp, 8
cmp dword [0x4c0e54], 0
mov dword [0x4bd3c0], 1
jne 0x410486
mov eax, dword [0x4bfc58]
mov ecx, dword [0x4bfc54]
cmp dword [eax + ecx*8 - 8], 0
mov byte [0x4c0d3c], 0
jne 0x4104d5
mov ecx, dword [eax + ecx*8 - 4]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
pop ebx
add esp, 8
ret

Function at 0x4106a0
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [0x4c189c]
test eax, eax
je 0x4107b8
mov ecx, dword [0x4c18a0]
imul ecx, ecx, 0xd4
add eax, ecx
mov cl, byte [esp + 8]
mov byte [eax + 6], dl
mov dx, word [esp + 0xc]
mov byte [eax], cl
mov ecx, 0x69
mov word [eax + 2], dx
push esi
mov word [eax + 4], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
sub edx, dword [0x4c3c2c]
mov dword [0x4c18a4], eax
mov dword [esp + 4], edx
fild dword [esp + 4]
jns 0x4106fb
fadd dword [0x4b7880]
fdiv qword [0x4b7878]
mov ecx, dword [0x4c18a0]
mov edx, dword [0x4c189c]
mov dword [0x4c3c2c], eax
imul ecx, ecx, 0xd4
fstp dword [esp + 4]
fld dword [esp + 4]
fstp dword [ecx + edx + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x410768
mov eax, dword [0x4c18a0]
imul eax, eax, 0xd4
cmp esi, dword [0x4c18a8]
je 0x410759
mov ecx, dword [0x4c189c]
push 0x64
lea edx, [eax + ecx + 0xc]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x410794
mov edx, dword [0x4c189c]
xor ecx, ecx
mov word [eax + edx + 0xc], cx
jmp 0x410794
mov ecx, dword [0x4c18a0]
mov edx, dword [0x4c189c]
imul ecx, ecx, 0xd4
mov eax, 0x49e064
lea edx, [ecx + edx + 0xc]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x410785
mov eax, dword [0x4c18a0]
inc eax
mov dword [0x4c18a8], esi
mov dword [0x4c18a0], eax
pop esi
cmp eax, dword [0x4bd3c4]
jl 0x4107b8
mov dword [0x4c18a0], 0
pop ecx
ret
Function at 0x410f70
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x4c0e4c], 0
je 0x410f86
cmp byte [esp + 4], 0
jne 0x410f86
mov al, byte [0x4c0d19]
ret
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
xor bl, bl
call esi
mov ecx, 0x8000
test cx, ax
je 0x410fa3
mov bl, 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x410fb7
or bl, 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x410fcb
or bl, 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x410fdf
or bl, 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x410ff3
or bl, 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x411007
or bl, 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x411018
or bl, 0x40
push 0x5c
call esi
mov edx, 0x8000
test dx, ax
je 0x411029
or bl, 0x80
cmp dword [0x4c0e4c], 0
je 0x411066
mov al, bl
not al
and al, byte [0x4c0d19]
je 0x411066
mov cl, byte [0x4c0d1b]
not al
and byte [0x4c0d19], al
and byte [0x4c0d1a], al
and cl, al
mov al, cl
mov byte [0x4c0d1b], cl
mov ecx, 0x4c0d40
call fcn.00411070
pop esi
mov al, bl
pop ebx
ret

Function at 0x4114d0
Capabilities:
Get keyboard layout

Disassembly:
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x4114e5
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x4114e7
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
xor eax, eax
call fcn.00411510
xor ecx, ecx
add esp, 4
cmp eax, 3
sete al
ret

Function at 0x411510
Capabilities:
Log keystrokes via polling

Disassembly:
xor ecx, ecx
push edi
mov edx, dword [ecx*8 + 0x4c2898]
test edx, edx
je 0x41154a
cmp edx, dword [esp + 8]
je 0x41152c
inc ecx
cmp ecx, 0xa
jl 0x411513
jmp 0x411551
test eax, eax
je 0x411541
cmp dword [ecx*8 + 0x4c289c], 0
jne 0x411541
mov dword [ecx*8 + 0x4c289c], eax
mov eax, dword [ecx*8 + 0x4c289c]
pop edi
ret
mov edi, ecx
cmp ecx, 0xa
jl 0x411556
mov edi, 9
test eax, eax
je 0x41156e
mov ecx, dword [esp + 8]
mov dword [edi*8 + 0x4c2898], ecx
mov dword [edi*8 + 0x4c289c], eax
pop edi
ret
push ebx
push ebp
lea ebp, [edi*8 + 0x4c289c]
push esi
mov esi, dword [sym.imp.USER32.dll_VkKeyScanExW]
mov dword [ebp], 0
mov ebx, 0x20
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
movsx ax, bl
movzx ecx, ax
push edx
push ecx
call esi
movzx eax, ax
cmp ax, 0xffff
je 0x4115b7
and eax, 0x600
mov edx, 0x600
cmp ax, dx
je 0x4115d3
inc ebx
cmp ebx, 0x100
jl 0x411590
mov eax, dword [esp + 0x14]
pop esi
mov dword [edi*8 + 0x4c2898], eax
mov eax, dword [ebp]
pop ebp
pop ebx
pop edi
ret
mov eax, dword [esp + 0x14]
pop esi
mov dword [ebp], 3
mov dword [edi*8 + 0x4c2898], eax
mov eax, dword [ebp]
pop ebp
pop ebx
pop edi
ret
Function at 0x4117b0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp ax, 0xa
jne 0x4117b9
mov al, 0xd
ret
push ecx
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx eax, ax
mov edx, eax
shr edx, 8
cmp dl, 0xff
jne 0x4117d5
cmp al, 0xff
jne 0x4117d5
xor al, al
ret
test esi, esi
je 0x41181b
mov cl, dl
and cl, 6
cmp cl, 6
jne 0x4117e8
or byte [esi], 8
jmp 0x41180a
test dl, 2
je 0x4117f9
mov cl, byte [esi]
test cl, 3
jne 0x4117f9
or cl, 1
mov byte [esi], cl
test dl, 4
je 0x41180a
mov cl, byte [esi]
test cl, 0xc
jne 0x41180a
or cl, 4
mov byte [esi], cl
test dl, 1
je 0x41181b
mov cl, byte [esi]
test cl, 0x30
jne 0x41181b
or cl, 0x10
mov byte [esi], cl
ret

Function at 0x411a20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, eax
xor eax, eax
mov word [esi], ax
test bl, bl
jne 0x411a4c
test di, di
je 0x411afc
mov ecx, edi
call fcn.00411d90
mov byte [esp + 0x10], al
jmp 0x411a63
test di, di
jne 0x411a6c
mov ecx, dword [esp + 0x10]
push ecx
xor bl, bl
call fcn.00411b10
add esp, 4
movzx edi, ax
mov bl, byte [esp + 0x10]
test di, di
je 0x411a8d
cmp bl, 0x9c
jb 0x411a76
cmp bl, 0x9f
jbe 0x411a8d
mov edx, ebp
shr edx, 1
push edx
movzx eax, di
push esi
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
test eax, eax
jne 0x411afc
xor eax, eax
nop
cmp byte [eax*8 + 0x4be20c], bl
je 0x411abe
inc eax
cmp eax, 0x6d
jl 0x411a90
movzx edi, bl
push edi
call fcn.00483486
add esp, 4
test eax, eax
je 0x411ae4
mov word [esi], di
pop edi
xor eax, eax
pop ebp
mov word [esi + 2], ax
mov eax, esi
pop ebx
ret
cmp eax, 0x6d
jge 0x411a9f
mov ecx, dword [eax*8 + 0x4be208]
lea edi, [ebp - 1]
push edi
push ecx
push esi
call fcn.00485434
add esp, 0xc
xor edx, edx
mov word [esi + edi*2], dx
pop edi
pop ebp
mov eax, esi
pop ebx
ret
lea edi, [ebp - 1]
push edi
push str.not_found
push esi
call fcn.00485434
add esp, 0xc
xor ecx, ecx
mov word [esi + edi*2], cx
pop edi
pop ebp
mov eax, esi
pop ebx
ret

Function at 0x411d90
Capabilities:
Log keystrokes

Disassembly:
movzx eax, cx
cmp eax, 0x11c
jg 0x411de8
je 0x411de5
sub eax, 0x1d
cmp eax, 0x36
ja case.0x411df9.286
movzx eax, byte [eax + 0x411e64]
jmp dword [eax*4 + 0x411e1c]
mov al, 0xa0
ret
mov al, 0xa2
ret
mov al, 0xa4
ret
mov al, 0x6a
ret
mov al, 0x6d
ret
mov al, 0x6b
ret
mov al, 0x2e
ret
mov al, 0xc
ret
mov al, 0x2d
ret
mov al, 0x26
ret
mov al, 0x28
ret
mov al, 0x25
ret
mov al, 0x27
ret
mov al, 0x24
ret
mov al, 0x23
ret
mov al, 0x21
ret
mov al, 0x22
ret
mov al, 0xd
ret
sub eax, 0x11d
cmp eax, 0x28
ja case.0x411df9.286
movzx edx, byte [eax + 0x411eb4]
jmp dword [edx*4 + 0x411e9c]
mov al, 0xa1
ret
mov al, 0xa3
ret
mov al, 0xa5
ret
mov al, 0x90
ret
mov al, 0x6f
ret
movzx eax, cl
push 1
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
ret
Function at 0x411ee0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x4bfc70], eax
mov edx, 1
mov eax, 0x4bfc70
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, 0x4c062c
jl 0x411ef4
mov dword [0x4bd3b0], 1
mov dword [0x4c28ec], 1
pop edi
ret

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

Disassembly:
cmp dword [0x4c28ec], 0
push esi
mov esi, 0x4bfc70
jne 0x411f4e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00411ee0
add esp, 4
mov dword [0x4bd3b0], 0x270
mov dword [0x4bfc68], esi
mov ecx, 0xe3
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 0x411f63
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 0x411f98
mov ecx, dword [esi]
mov eax, dword [0x4bfc70]
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 0x412050
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4bd3b0]
jne 0x41205d
call fcn.00411f30
mov eax, dword [0x4bfc68]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4bfc68], 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
shr eax, 1
ret
Function at 0x414f70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x4bd3cc]
add eax, 4
imul eax, eax, 0xf8
push ebx
push esi
push edi
push eax
call fcn.00481e64
xor ebx, ebx
add esp, 4
mov dword [0x4bf870], eax
cmp eax, ebx
jne 0x414fa7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [0x4bd4c4]
push 0x403330
mov edi, eax
push 0x4ef6d80
mov ecx, 0x3e
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4c0d1c]
push 0xe
push ecx
mov dword [0x4bd4c4], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [ebp + 8]
cmp dword [esi], ebx
jne 0x414fe8
mov dword [esp + 0xc], 1
jmp 0x415095
mov edx, dword [0x4bd4c4]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xe4], bl
call edi
mov ecx, dword [0x4bd4c4]
mov dword [ecx + 0xd4], eax
mov dword [ecx + 0xd8], 0x64
cmp byte [0x4c0e5f], bl
jne 0x41503a
mov eax, dword [0x4c0d1c]
push 0x403230
push 0x64
push 0xb
push eax
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne cl
mov byte [0x4c0e5f], cl
mov byte [esi + 0x895], 1
call edi
mov ecx, dword [esi]
push ebx
mov edi, 1
add dword [0x4c0e78], edi
push ebx
push edi
mov dword [esi + 0x8b4], eax
mov dword [esi + 0x8b0], eax
call fcn.00423660
sub dword [0x4c0e78], edi
mov dword [esp + 0xc], eax
cmp byte [0x4c0e5f], bl
je 0x41508f
mov edx, dword [0x4c0d1c]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x41508f
mov byte [0x4c0e5f], bl
mov byte [esi + 0x895], bl
mov eax, dword [0x4bd4c4]
push 1
push ebx
mov byte [eax + 0xe4], 1
mov esi, eax
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 + 0xee], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x50], 0x63
mov byte [eax + 0xe0], bl
mov dword [eax + 0x4c], 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 ecx, 0x3e
mov edi, 0x4bf970
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4c1688]
push 0xffffffffffffffff
push 0x49c138
mov byte [eax + 0xe4], 1
mov dword [eax + 0xd8], ebx
mov word [eax + 0xe5], 1
mov dword [eax + 0x2c], SysReAllocString
call fcn.004698a0
mov eax, dword [0x4be5dc]
cmp word [eax], bx
jne 0x41516f
cmp dword [0x4c2890], ebx
jne 0x41516f
cmp dword [0x4c0e4c], ebx
jne 0x41516f
cmp dword [0x4c0e50], ebx
jne 0x41516f
cmp byte [0x4c0d3f], bl
jne 0x41516f
mov eax, dword [esp + 0xc]
neg eax
sbb eax, eax
push ebx
and eax, 7
push ebx
add eax, 2
push eax
mov ecx, 0x4c3000
call fcn.004151b0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4151b0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90c
mov eax, dword [ebp + 8]
push ebx
mov dword [ecx + 0x850], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ecx
cmp eax, ebx
je 0x4151df
mov byte [esp + 0x13], 1
cmp word [eax], bx
je 0x4151e3
mov byte [esp + 0x13], bl
cmp eax, ebx
je 0x41524d
cmp word [eax], bx
je 0x41524d
push eax
push str.Critical_Error:__s_n_nThe_program_will_exit.
mov esi, 0x400
lea edi, [esp + 0x120]
call fcn.00466f40
mov ecx, dword [0x4c387c]
mov eax, dword [0x4c0d1c]
add esp, 8
push 0x10000
push ecx
mov edx, edi
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [0x4c0d1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415246
mov edx, dword [0x4c0d1c]
push edx
mov byte [0x4c0d18], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
push 2
call fcn.004098b0
cmp dword [ecx + 0x84c], ebx
je 0x415396
cmp byte [0x4c3c5a], bl
jne 0x415396
mov esi, dword [0x4c1688]
cmp byte [esi + 0x17], bl
jne 0x415273
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x415280
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x41528c
mov eax, dword [esi + 8]
jmp 0x41529c
cmp al, 2
jne 0x415297
call fcn.00401000
jmp 0x41529c
mov eax, 0x4c2f8c
push 0x7f
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00485434
mov eax, dword [0x4bd4c4]
inc dword [0x4c0e78]
xor ecx, ecx
add eax, 0xf8
mov word [esp + 0x122], cx
mov edi, eax
mov ecx, 0x3e
mov esi, 0x4bf970
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4bd4c4], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4c3000
call fcn.00414e70
mov dword [0x4c38a0], ebx
mov dword [0x4c38a4], ebx
cmp dword [0x4c0ea0], ebx
je 0x415306
push 0x4c1690
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [0x4bd4c4]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x84c]
mov esi, dword [ecx + 0xbc]
mov edi, dword [0x4bd3c0]
push ebx
push ebx
mov dword [ecx + 0xbc], eax
mov ecx, dword [eax + 4]
push 1
mov dword [0x4bd3c0], ebx
mov byte [0x4c3c5a], 1
call fcn.00423660
mov ecx, dword [0x4bd4c4]
mov dword [ecx + 0xbc], esi
cmp eax, ebx
jne 0x41535f
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004153c0
mov byte [0x4c3c5a], bl
cmp byte [esp + 0x13], bl
je 0x415379
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004153c0
lea eax, [esp + 0x18]
call fcn.00403150
mov dword [0x4bd3c0], edi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
mov eax, dword [0x4bd4c4]
push edx
push ecx
mov dword [0x4bd3c0], ebx
mov byte [eax + 0xee], bl
call fcn.004153c0
int3
Function at 0x423660
Capabilities:
Check for time delay via gettickcount
Check os version
Get number of processors
Move file
Print debug messages
Resolve function by parsing pe exports
Set environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x49821b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x928
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0x94], ecx
test eax, eax
jne 0x423696
lea eax, [esp + 0x78]
mov ebx, dword [0x4bd4c4]
mov edx, eax
mov esi, ecx
mov dword [esp + 0x58], eax
mov dword [edx], 0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x30], esi
test ecx, ecx
je 0x423996
mov edi, dword [esp + 0x78]
mov edi, edi
Function at 0x424a97
Capabilities:
Check for time delay via gettickcount
Check os version
Get number of processors
Move file
Print debug messages
Resolve function by parsing pe exports
Set environment variable

Disassembly:
push ebx
push eax
mov ecx, esi
call fcn.0048d73c
jmp 0x4244fd

Function at 0x424c41
Capabilities:
Check for time delay via gettickcount
Check os version
Get number of processors
Move file
Print debug messages
Resolve function by parsing pe exports
Set environment variable

Disassembly:
pop esp
rol dword [ecx], 1
add byte [eax + 0x6a], dl
add byte [ebx - 0x73631732], cl
push es
add byte [ebx], bh
invalid

Function at 0x424cba
Capabilities:
Check for time delay via gettickcount
Check os version
Get number of processors
Move file
Print debug messages
Resolve function by parsing pe exports
Set environment variable

Disassembly:
call dword [sym.imp.USER32.dll_CharLowerW]
jmp 0x424cc8
cmp byte [esi + 0x17], 0
jne 0x424cd1
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x424cef
cmp dword [0x4c2ff0], 0
je 0x424cef
mov ecx, 0x4c2fe4
and byte [esi + 0x15], 0x86
mov eax, 1
jmp 0x4244fd

Function at 0x424ce5
Capabilities:
Check for time delay via gettickcount
Check os version
Get number of processors
Move file
Print debug messages
Resolve function by parsing pe exports
Set environment variable

Disassembly:
call fcn.00427e06
jmp 0x4244fd
Function at 0x424d54
Capabilities:
Check for time delay via gettickcount
Check os version
Get number of processors
Move file
Print debug messages
Resolve function by parsing pe exports
Set environment variable

Disassembly:
add byte [eax], al
movzx edx, ax
push edx
push 0x4a2964
call 0x4a6cb1
dec ebp
pop ds
or byte [eax], al
add esp, 8
test eax, eax
je 0x424dcb
add esi, 2
cmp word [esi], 0
je 0x424dcb
call fcn.00430a85
mov dword [esp + 0x38], eax
test eax, eax
jle 0x424ebf
mov eax, dword [0x4c0c78]
cmp word [eax], 0
jne 0x424dd1
mov dword [esp + 0x54], 0
mov eax, 0x49c138
mov ecx, dword [0x4c1688]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.0048da4b
mov eax, dword [esp + 0x54]
cdq
push 0x18
push edx
push eax
mov eax, dword [esp + 0x48]
call fcn.0042529d
mov edi, 1
jmp case.0x42420c.3
mov dword [esp + 0x38], edi
jmp 0x424d85
mov ecx, dword [0x4c0c74]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x30]
mov edi, 4
mov dword [esp + 0x5c], eax
call fcn.00441fd9
mov esi, eax
test esi, esi
jns 0x424df5
xor esi, esi
mov ecx, dword [esp + 0x30]
mov edi, 1
call fcn.00441f5f
mov edi, eax
cmp esi, edi
jge 0x424ebf
mov edx, dword [esp + 0x48]
movzx eax, word [edx]
cmp eax, 0x31
je 0x424e88
call fcn.0042d1aa
cmp ax, 0x52
je 0x424e88
mov ecx, dword [esp + 0x30]
mov edi, 2
call fcn.00441f8e
mov ebx, eax
mov eax, dword [esp + 0x60]
mov edi, 1
lea ecx, [eax + esi*2]
mov edx, dword [0x4bd4c4]
mov al, byte [edx + 0xe9]
test al, al
jne 0x424e5b
mov eax, dword [esp + 0x5c]
call fcn.0048b545
jmp 0x424e78
cmp al, 2
mov eax, dword [esp + 0x5c]
jne 0x424e6e
push ecx
call fcn.0048b7c5
add esp, 4
jmp 0x424e78
push eax
push ecx
call 0x4a6de9
add esp, 8
test eax, eax
je 0x424ebf
cmp edi, dword [esp + 0x38]
je 0x424eab
inc edi
lea ecx, [eax + ebx*2]
jmp 0x424e40
mov ecx, dword [esp + 0x38]
movzx edx, byte [ebx + 0xe9]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
mov eax, edi
sub eax, esi
push ecx
call fcn.0048b384
add esp, 0x10
test eax, eax
je 0x424ebf
sub eax, dword [esp + 0x60]
sar eax, 1
mov dword [esp + 0x54], eax
jns 0x424d98
mov eax, 0x49eb0c
jmp 0x424d9d
Function at 0x429050
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4c0e78]
sub esp, 0x104
push ebx
push esi
push edi
cmp eax, dword [0x4bd3cc]
jl 0x42907a
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [0x4c1688]
cmp byte [esi + 0x17], 0
jne 0x429089
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x429096
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4290a2
mov eax, dword [esi + 8]
jmp 0x4290b2
cmp al, 2
jne 0x4290ad
call fcn.00401000
jmp 0x4290b2
mov eax, 0x4c2f8c
push 0x7f
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00485434
mov eax, dword [0x4bd4c4]
inc dword [0x4c0e78]
add eax, 0xf8
xor edx, edx
mov edi, eax
mov word [esp + 0x11a], dx
mov ecx, 0x3e
mov esi, 0x4bf970
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor edi, edi
mov dword [0x4bd4c4], eax
push edi
mov eax, 0x4c3000
mov dword [esi + 0x2c], edi
call fcn.00414e70
mov dword [0x4c38a0], edi
mov dword [0x4c38a4], edi
cmp dword [0x4c0ea0], edi
je 0x429120
push 0x4c1690
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
or eax, 0xffffffff
cmp byte [esi + 0xe6], 0
jne 0x42913b
mov byte [esi + 0xe6], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
cmp dword [0x4c38ac], edi
je 0x42914b
cmp dword [0x4c38a8], edi
jne 0x429154
cmp byte [esi + 0xe6], 0
je 0x429183
cmp byte [esi + 0xe6], 0
mov byte [esi + 0xe4], 0
jne 0x429183
cmp dword [0x4c38ac], edi
jl 0x42917d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xd4], eax
mov eax, dword [0x4c38ac]
mov dword [esi + 0xd8], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [0x4c3838]
mov ebx, dword [0x4c3870]
mov dword [0x4c3838], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp + 8]
push 0
push 0xffffffffffffffff
push 0
push edx
mov dword [0x4c38b4], eax
mov dword [0x4c38b0], eax
mov dword [0x4c3870], eax
call fcn.00451bf0
mov esi, eax
cmp esi, 1
jne 0x4291ce
mov eax, dword [ebp + 8]
push eax
call fcn.00427c30
mov esi, eax
dec dword [0x4c0e78]
sub dword [0x4bd4c4], 0xf8
push 1
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x4c1688]
mov dword [0x4c3838], edi
mov dword [0x4c3870], ebx
call fcn.004698a0
push 0
mov eax, 0x4c3000
call fcn.00414e70
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42a840
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x17], 0
jne 0x42a85e
mov edi, dword [edi + 0xc]
mov dword [ebp + 8], edi
push 0x1fa
xor ebx, ebx
lea ecx, [esp + 0x5e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x64], ax
call fcn.0048bac0
lea edx, [esp + 0x64]
add esp, 0xc
mov dword [esp + 0x44], 0x4c2f8c
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], 0x1000000
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x24], ebx