joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5673d8
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.00567180
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x5673f4
mov bl, 0x1c
mov esi, 0x5aff20
lea edi, [ebp - 0x41]
mov dl, byte [esi]
mov eax, dword [ebp - 8]
call fcn.00567180
mov byte [edi], al
mov dl, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.00567180
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x567410
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.00567368
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x567438
mov bl, 1
mov eax, 0x5afe50
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x567471
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x56747e
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x56745d
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x5674a8
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.005671ec
jmp 0x5674d0
xor eax, eax
mov al, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.005671ec
mov bl, 0x20
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x5674d8
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x567490
mov bl, 0x40
mov esi, 0x5afe90
lea eax, [ebp - 0x3e1]
mov dl, byte [esi]
cmp dl, 0x20
ja 0x56753e
and edx, 0xff
mov dl, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x56754d
and edx, 0xff
mov dl, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x567526
mov bl, 1
lea esi, [ebp - 0x3e1]
mov cl, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.005671a8
inc ebx
inc esi
cmp bl, 0x41
jne 0x56755b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x56806c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
mov dl, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
mov al, byte [esi + 1]
xor ecx, ecx
mov cl, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
mov dl, byte [esi + 2]
xor ecx, ecx
mov cl, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
mov al, byte [esi + 3]
xor ecx, ecx
mov cl, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
xor edx, edx
mov dl, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
mov al, byte [esi + 4]
shl eax, 3
and al, 0xff
xor edx, edx
mov dl, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
mov al, byte [esi + 5]
shl eax, 2
and al, 0xff
xor edx, edx
mov dl, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
mov al, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov edi, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
xor ebx, ebx
mov bl, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x568118
mov dl, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x568113
mov eax, ebp
mov edx, 8
call fcn.00404abc
push 1
mov eax, ebp
call fcn.00404988
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.005673d8
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x56d648
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x5912b8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, 4
mov ecx, esi
xor eax, eax
call fcn.00404b20
cmp byte [ebp - 1], 0
jne 0x591316
mov eax, esi
call fcn.00404988
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x59132f
sub al, 2
jb 0x591336
jmp 0x59133b
mov ebx, 2
jmp 0x59133b
mov ebx, 1
mov eax, esi
call fcn.00404988
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x59141d
test edi, edi
jle 0x591397
mov eax, esi
call fcn.00404988
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00404988
mov byte [eax + ebx - 1], 0
jmp 0x591411
test edi, edi
jge 0x5913dd
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00404988
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x591411
mov eax, esi
call fcn.00404988
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00404988
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x591353
mov al, byte [ebp - 1]
sub al, 1
jb 0x59142d
sub al, 2
jb 0x591466
jmp 0x5914ad
cmp edi, 2
jne 0x591433
dec ebx
mov eax, ebx
sub eax, 2
jl 0x5914ad
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00404988
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x5b02a4]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x591443
jmp 0x5914ad
cmp edi, 2
jne 0x59146c
dec ebx
test ebx, ebx
jle 0x5914a8
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00404988
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x5b02a8]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x591478
jmp 0x5914a8
inc ebx
mov eax, esi
call fcn.00404988
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x59149b
mov eax, esi
mov edx, ebx
call fcn.00404abc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x591a2c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
add eax, 0xc
mov eax, dword [eax]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0xc]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x5b0338]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x5b0338]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x5b0338]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5b0338]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x5b02bc]
mov dword [edx + eax*4 + 0x10], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x14], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x18], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x1c], ecx
add eax, 4
cmp eax, 0x28
jl 0x591a57
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x596540
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x596552
add esp, 0xfffffff0
call fcn.00403990
mov byte [ebp - 1], dl
mov ebx, eax
mov dword [ebx + 0x40], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x4c], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], 1
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 2
lea eax, [ebx + 0x70]
call fcn.00404460
lea eax, [ebx + 0x78]
call fcn.00404460
lea eax, [ebx + 0x74]
call fcn.00404460
lea eax, [ebx + 0x80]
call fcn.00404460
lea eax, [ebx + 0xa8]
call fcn.00404460
lea eax, [ebx + 0xac]
call fcn.00404460
mov byte [ebx + 0xb4], 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x58897c]
call fcn.00589be0
mov dword [ebx + 0x98], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x56b63c]
call fcn.00579888
mov dword [ebx + 0x9c], eax
mov dl, 1
mov eax, dword [0x41834c]
call fcn.0040363c
mov dword [ebx + 0xa0], eax
mov dl, 1
mov eax, dword [0x41834c]
call fcn.0040363c
mov dword [ebx + 0xa4], eax
mov eax, dword [ebx + 0xa0]
mov esi, dword [ebx + 0x98]
mov dword [esi + 0x188], eax
mov eax, dword [ebx + 0xa4]
mov dword [esi + 0x1a0], eax
lea eax, [esi + 0x114]
mov edx, 0x596758
call fcn.004044b4
mov eax, dword [ebx + 0x98]
add eax, 0x110
mov edx, 0x596784
call fcn.004044b4
mov eax, dword [ebx + 0x98]
add eax, 0x16c
mov edx, 0x5967d4
call fcn.004044b4
mov eax, dword [ebx + 0x98]
add eax, 0x100
mov edx, 0x596800
call fcn.004044b4
mov eax, dword [ebx + 0x98]
add eax, 0x118
mov edx, 0x596814
call fcn.004044b4
mov esi, dword [ebx + 0x98]
mov eax, esi
call fcn.00591764
mov dl, byte [0x596828]
not edx
and dl, al
mov eax, esi
call fcn.005917a8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x338], 0x10
mov dword [eax + 0x284], 0x100000
mov byte [eax + 0x181], 1
mov dword [eax + 0x32c], ebx
mov dword [eax + 0x328], 0x59aa68
mov dl, 1
mov eax, dword [0x41805c]
call fcn.0040363c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x41805c]
call fcn.0040363c
mov dword [ebx + 0x90], eax
mov byte [ebx + 0xf], 1
push 0x5b44e4
call sub.kernel32.dll_InitializeCriticalSection_1
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00420e48
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x596744
call fcn.004039e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x59aa7c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cld

Function at 0x59bb48
Capabilities:
Get disk information

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push pe_nt_image_headers32
lea eax, [esp + 0x24]
push eax
push 0x59bba0
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x59bb98
mov eax, dword [esp]
xor edx, edx
push edx
push eax
mov edx, ebx
mov eax, 8
call fcn.004092ac
add esp, 0x20c
pop ebx
ret
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x696b1bd0
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1a8d06f1
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x20490db6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x57ff140b
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4015e5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [0x408020]
xor eax, 1
test al, al
je 0x401639
mov byte [0x408020], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._kill_enemy_4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
jmp 0x401640
mov byte [0x408020], 0
nop
leave
ret

Function at 0x401696
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [esp + 4], 0x65
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._LoadIconA_8
sub esp, 8
mov dword [ebp - 0xc], eax
call sym._GetConsoleWindow_0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], pe_nt_image_headers32
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._SendMessageA_16
sub esp, 0x10
mov dword [esp], str.Press_Shift__Alt__1_to_start_stop_mouse_circle_movement.
call sym._puts
mov dword [esp], str.Press_Shift__Alt__2_to_start_stop_clicking_without_spinning.
call sym._puts
mov dword [esp], str.Press_ESC_to_exit.
call sym._puts
mov dword [esp], 0x10
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
jns 0x401756
mov dword [esp], 0x12
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
jns 0x401756
mov dword [esp], 0x31
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
jns 0x401756
call sym._toggle_killing
mov dword [esp], 0x12c
call sym._Sleep_4
sub esp, 4
mov dword [esp], 0x10
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
jns 0x4017fa
mov dword [esp], 0x12
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
jns 0x4017fa
mov dword [esp], 0x32
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
jns 0x4017fa
movzx eax, byte [0x408021]
xor eax, 1
test al, al
je 0x4017e4
mov byte [0x408021], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._click_continuously_4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
jmp 0x4017eb
mov byte [0x408021], 0
mov dword [esp], 0x12c
call sym._Sleep_4
sub esp, 4
mov dword [esp], 0x1b
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
js 0x40189c
mov dword [esp], 0x32
call sym._Sleep_4
sub esp, 4
call sym._GetTickCount_0
mov ecx, eax
mov edx, 0x45e7b273
mov eax, ecx
mul edx
mov eax, edx
shr eax, 0xe
imul eax, eax, 0xea60
sub ecx, eax
mov eax, ecx
cmp eax, 0x31
ja 0x401706
lea eax, [ebp - 0x18]
mov dword [esp], eax
call sym._GetCursorPos_4
sub esp, 4
mov dword [esp + 4], 0xe6
mov dword [esp], 0x5b4
call sym._SetCursorPos_8
sub esp, 8
call sym._left_click
mov dword [esp], 0x64
call sym._Sleep_4
sub esp, 4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetCursorPos_8
sub esp, 8
jmp 0x401706
nop
mov eax, 0
leave
ret 0x10
Function at 0x401ef0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408048
call sym._EnterCriticalSection_4
mov ebx, dword [0x408040]
sub esp, 4
test ebx, ebx
je 0x401f3b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401f34
test esi, esi
je 0x401f34
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401f10
mov dword [esp], 0x408048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402120
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402248
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4021ae
cmp eax, 4
jne 0x4021d0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x4021be
cmp edx, 4
je 0x4021be
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402120
Function at 0x404010
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call sym.___main
call sym._GetCommandLineA_0
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym._GetStartupInfoA_4
sub esp, 4
test ebx, ebx
jne 0x404046
jmp 0x40407e
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x404043
cmp al, 9
je 0x404043
cmp al, 0x22
jne 0x404067
jmp 0x4040c6
cmp al, 9
je 0x404073
add ebx, 1
movzx eax, byte [ebx]
test al, 0xdf
jne 0x404060
jmp 0x404073
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x404070
cmp al, 9
je 0x404070
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x40408d
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sym._GetModuleHandleA_4
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
test al, al
je 0x4040d2
mov edx, ebx
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x22
jne 0x4040c2
cmp al, 0x22
jne 0x404073
lea ebx, [edx + 2]
jmp 0x404073
Function at 0x1003ac5
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x1001408
call fcn.01003cd8
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1003b00
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003b00
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1003b18
cmp eax, 0x20b
je 0x1003b05
mov dword [ebp - 0x1c], edi
jmp 0x1003b2c
cmp dword [ecx + 0x84], 0xe
jbe 0x1003b00
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1003b26
cmp dword [ecx + 0x74], 0xe
jbe 0x1003b00
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1005114], 0xffffffff
or dword [0x1005118], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1005110]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100510c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100511c], eax
call fcn.01003cd0
cmp dword [0x1005100], edi
jne 0x1003b87
push fcn.01003cd0
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01003cb9
push 0x1005010
push 0x100500c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1005108]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1005104]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x1005008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0100386a
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1003bfe
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1003c33
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01003d13
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x43803262
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x2fa64f19
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219