joyce8/EMBER2024-capa huggingface dataset:
Function at 0x95be80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
movzx ebx, byte [edx]
test bl, bl
je 0x95c0f1
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
dec edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test esi, esi
je 0x95bebc
cmp edx, esi
jae 0x95c0f1
test edi, edi
je 0x95c0f1
movzx ebp, bl
test bl, bl
js 0x95bef0
inc edx
lea ecx, [eax + 2]
mov word [eax], bp
mov esi, ecx
sub esi, eax
sar esi, 1
sub edi, esi
mov eax, ecx
mov esi, dword [esp + 0x24]
mov bh, byte [edx]
mov bl, bh
test bh, bh
jne 0x95beb0
jmp 0x95c0f1
mov ecx, ebp
and ecx, 0xffffffe0
cmp ecx, 0xc0
jne 0x95bf28
cmp bl, 0xc2
jb 0x95bee0
mov bh, byte [edx + 1]
movzx esi, bh
mov ecx, esi
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x95bf8a
and ebp, 0x1f
shl ebp, 6
add edx, 2
and esi, 0x3f
or esi, ebp
jmp 0x95bfd8
mov ecx, ebp
and ecx, 0xfffffff0
cmp ecx, 0xe0
jne 0x95bf52
movzx ecx, byte [edx + 1]
cmp bl, 0xed
je 0x95bf94
cmp ebp, 0xe0
jne 0x95bf9d
mov ebx, ecx
add bl, 0x40
cmp bl, 0xe0
jb 0x95bedc
jmp 0x95bf9d
mov ecx, ebp
and ecx, 0xfffffff8
cmp ecx, 0xf0
jne 0x95c0d0
cmp bl, 0xf4
ja 0x95bee0
movzx ecx, byte [edx + 1]
je 0x95bfef
cmp ebp, 0xf0
jne 0x95bff8
mov bh, cl
add bh, 0x40
cmp bh, 0xd0
jb 0x95bedc
jmp 0x95bff8
inc edx
mov esi, dword [esp + 0x24]
jmp 0x95bee2
cmp cl, 0x9f
ja 0x95bedc
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x95c0d7
mov bh, byte [edx + 2]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x95bfe3
shl ebp, 0xc
and ecx, 0x3f
shl ecx, 6
or ecx, ebp
add edx, 3
mov esi, dword [esp]
and esi, 0x3f
or esi, ecx
lea ecx, [eax + 2]
mov word [eax], si
jmp 0x95bed2
add edx, 2
mov esi, dword [esp + 0x24]
jmp 0x95bee2
cmp cl, 0x8f
ja 0x95bedc
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x95c0d7
movzx ebp, byte [edx + 2]
mov esi, ebp
not esi
or esi, 0xc0
add esi, ebp
cmp esi, 0x7f
jne 0x95c0dd
mov bh, byte [edx + 3]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x95c0e5
and bl, 7
movzx esi, bl
shl esi, 0x12
shl ecx, 0xc
and ebp, 0x3f
shl ebp, 6
add ecx, esi
lea esi, [ecx + ebp]
add esi, 0xfff80000
add edx, 4
and esi, 0xfffff800
cmp esi, 0xd800
je 0x95bedc
lea esi, [ecx + ebp]
mov ebx, dword [esp]
and ebx, 0x3f
add ebx, esi
add ebx, 0xfff80000
cmp ebx, 0x10000
jb 0x95bedc
cmp edi, 2
jb 0x95c0d0
add ecx, ebp
add ecx, 0x9f4b2545
add ecx, 0x60abdabb
shr ecx, 0xa
mov esi, ecx
xor esi, 0x2400
or ecx, 0x3ff
and ecx, esi
or ecx, 0xd800
mov word [eax], cx
and ebx, 0x3ff
or ebx, 0xdc00
lea ecx, [eax + 4]
mov word [eax + 2], bx
jmp 0x95bed2
mov ecx, eax
jmp 0x95bed2
inc edx
jmp 0x95bedc
add edx, 2
jmp 0x95bedc
add edx, 3
mov esi, dword [esp + 0x24]
jmp 0x95bee2
mov word [eax], 0
sub eax, dword [esp + 0x18]
sar eax, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x9652d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x428
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x9652f0
sar esi, 1
lea ecx, [esp + 0x7c]
push ecx
push 0
push 0
push esi
push eax
push 0
call dword [fcn.0099d2fc]
mov dword [esp + 0xe8], 0x195a5b61
mov dword [esp + 0xec], 0
mov ecx, 0x8f
mov edi, 0x70
movzx edx, byte [esp + ecx + 0x59]
mov ebx, ecx
xor ebx, edi
and ebx, edx
xor ebx, edi
mov dl, 0x34
sub dl, bl
mov byte [esp + ecx + 0x59], dl
inc ecx
dec edi
cmp ecx, 0x97
jne 0x965330
xor ecx, ecx
cmp eax, dword [esp + 0xe8]
setne cl
jmp dword [ecx*4 + 0x996b6c]
Function at 0x9737d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x21f0
call fcn.00959690
push eax
sub esp, 0x10
mov ebx, esp
sub esp, 0x28
mov dword [ebp - 0x5c], esp
mov dword [ebp - 0x1dfc], 0x116c1f70
mov dword [ebp - 0x1df8], 0x156b1357
mov dword [ebp - 0x1df4], 0x963176f
mov dword [ebp - 0x1df0], 0xd780b7c
mov dword [ebp - 0x1dec], 0x1620f67
mov dword [ebp - 0x1de8], 0x5770377
mov dword [ebp - 0x1de4], 0x39740743
mov word [ebp - 0x1de0], 0x3b38
mov dword [ebp - 0x1dde], 0
mov word [ebp - 0x1dda], 0
mov eax, 0xe8279d85
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [ebp + eax + 0x17d8447f]
xor ecx, eax
mov esi, ecx
xor esi, 0x88c61399
mov edx, ecx
or edx, 0x60218c66
and edx, esi
mov edi, ecx
and edi, 2
mov esi, edx
or edx, 2
imul edx, edi
xor edi, 2
and esi, 0xfd
imul esi, edi
xor ecx, 0x66
add ecx, esi
add ecx, edx
inc cl
mov byte [ebp + eax + 0x17d8447f], cl
inc eax
cmp eax, 0xe8279da9
jne 0x973860
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1dfc]
push 0
push 0
push 0x20019
push eax
mov dword [ebp - 0x10], ecx
push ecx
call fcn.00990450
add esp, 0x14
shr eax, 0x1f
xor ecx, ecx
jmp dword [eax*4 + 0x997924]
Function at 0xc68190
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0xc6826b
push ebp
push ebx
push edi
push esi
sub esp, 8
mov dword [esp], 0x4c4d4a4b
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx]
lea edi, [edx + 0x27e6f8f2]
mov ebp, 0xd
sub ebp, edx
mov ebx, ebp
or ebx, esi
and ebp, 0xd
and edi, 2
or edi, ebp
xor edi, 2
lea ebp, [edx*2 + 0x4fcdf1e4]
neg ebp
add ebp, edx
add ebp, 0xf1
or ebp, edi
and ebp, esi
not ebx
or ebx, ebp
add bl, 0x46
mov byte [esp + edx], bl
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
cmp edx, 7
jb 0xc681c0
mov edx, dword [0x99d300]
test edx, edx
je 0xc6825e
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x99d304]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x1b6183f2
je 0xc68240
inc edi
cmp edx, edi
jne 0xc68230
jmp 0xc6825e
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0xc6825e
push eax
push 4
push edx
push dword [0x99d308]
mov esi, ecx
call fcn.00c6a570
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xc68270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ecx + 8], 0
je 0xc68330
mov eax, dword [ecx]
test eax, eax
je 0xc68330
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x4c4d4a4b
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax + 4]
lea esi, [eax + 0x27e6f8f2]
mov ebx, 0xd
sub ebx, eax
mov edx, ebx
or edx, edi
and ebx, 0xd
and esi, 2
or esi, ebx
xor esi, 2
lea ebx, [eax*2 + 0x4fcdf1e4]
neg ebx
add ebx, eax
add ebx, 0xf1
or ebx, esi
and ebx, edi
not edx
or edx, ebx
add dl, 0x46
mov byte [esp + eax + 4], dl
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, 7
jb 0xc682b0
mov eax, dword [esp + 4]
mov esi, dword [0x99d300]
test esi, esi
je 0xc683ae
xor edi, edi
mov ebx, dword [0x99d304]
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xaf0e0c2e
je 0xc6838a
inc edi
cmp esi, edi
jne 0xc68320
jmp 0xc683ae
mov dword [esp + 4], 0xf9babbbc
mov dword [esp + 8], 0
mov eax, 0xd21727df
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x2de8d825]
xor ecx, eax
mov edx, 1
sub edx, ecx
add ecx, 0xae
and edx, 9
and ecx, 0xf6
sub ecx, edx
mov byte [esp + eax + 0x2de8d825], cl
inc eax
cmp eax, 0xd21727e7
jne 0xc68350
mov eax, dword [esp + 4]
jmp 0xc684c5
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0xc683ae
push dword [ebp + 8]
push dword [esp + 0x10]
push 8
push esi
push dword [0x99d308]
mov esi, ecx
call fcn.00c6a570
mov ecx, esi
add esp, 0x14
mov edi, dword [ebp + 0xc]
cmp edi, 1
mov esi, dword [ebp + 0x10]
mov edx, esi
sbb edx, 0
jl 0xc684b8
cmp eax, 0xc000010a
jne 0xc684b8
mov edx, 0xffffd8f0
mov eax, edi
mul edx
sub edx, edi
imul esi, esi, 0xffffd8f0
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x4c4d4a4b
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax + 4]
lea edi, [eax + 0x27e6f8f2]
mov ebx, 0xd
sub ebx, eax
mov edx, ebx
or edx, esi
and ebx, 0xd
and edi, 2
or edi, ebx
xor edi, 2
lea ebx, [eax*2 + 0x4fcdf1e4]
neg ebx
add ebx, eax
add ebx, 0xf1
or ebx, edi
and ebx, esi
not edx
or edx, ebx
add dl, 0x46
mov byte [esp + eax + 4], dl
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, 7
jb 0xc68410
mov eax, dword [esp + 4]
mov esi, dword [0x99d300]
test esi, esi
je 0xc684b8
xor edi, edi
mov ebx, dword [0x99d304]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x4c697c35
je 0xc68490
inc edi
cmp esi, edi
jne 0xc68480
jmp 0xc684b8
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0xc684b8
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x14]
push 0xc
push esi
push dword [0x99d308]
mov esi, ecx
call fcn.00c6a570
mov ecx, esi
add esp, 0x18
test eax, eax
js 0xc684c5
mov esi, eax
call fcn.00c68190
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0xc6bff0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
push eax
mov ecx, dword [esp + 0x14]
mov dword [esp], 0xf10e0fdc
mov eax, 0xfd
mov edx, 2
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0xfd]
mov ebx, edx
xor ebx, eax
and ebx, esi
xor ebx, eax
add bl, 0xf
mov byte [esp + eax - 0xfd], bl
inc eax
dec edx
cmp eax, 0x101
jne 0xc6c010
mov eax, dword [esp]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0x99aa64]

Function at 0xc6c0d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov ebx, dword [esp + 0x44]
movzx eax, word [ebx]
mov dword [esp], 0x4342fb0d
mov dword [esp + 4], 0
mov ecx, 0xae5392f0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x51ac6d10]
xor esi, ecx
lea edx, [esi*2 + 0x30bc429e]
add esi, 0x985e214f
and edx, 2
mov edi, edx
and edi, esi
or edx, esi
xor edx, 1
add edx, edi
mov byte [esp + ecx + 0x51ac6d10], dl
inc ecx
cmp ecx, 0xae5392f8
jne 0xc6c100
mov ecx, dword [esp]
xor edx, edx
cmp ecx, eax
setne dl
xor eax, eax
jmp dword [edx*4 + 0x99aaa4]

Function at 0xc6cf00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x4c4d4a4b
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x92
xor cl, byte [esp + eax]
add cl, 0x26
mov byte [esp + eax], cl
inc eax
cmp eax, 6
jne 0xc6cf30
mov eax, dword [esp]
mov edx, dword [0x99d300]
test edx, edx
je 0xc6cf98
xor ebx, ebx
mov ecx, dword [0x99d304]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0x9c142cda
je 0xc6cf70
inc ebx
cmp edx, ebx
jne 0xc6cf60
jmp 0xc6cf98
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0xc6cf98
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x99d308]
call fcn.00c6a570
add esp, 0x20
test edi, edi
je 0xc6cfa2
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0xc6cfae
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4038fa
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fa], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404658], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045ec], eax
mov dword [0x4040f2], eax
mov dword [0x4045d8], 0x30
mov dword [0x4045dc], 2
jmp 0x40393f
mov dword [0x4045e0], 0x403153
mov dword [0x4045e4], 0
mov dword [0x4045e8], 0
mov dword [0x404600], 0x40454e
mov dword [0x4045f8], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045f0], eax
mov dword [0x404604], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045f4], eax
push 0x4045d8
fadd dword [ebp + 0x40]
add bh, bh
adc eax, sym.imp.user32.dll_RegisterClassExA
push 0
push dword [0x4040f2]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push 0x40454e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404650], eax
push 5
push dword [0x404650]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404650]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404608]
jmp 0x403a13
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a05
mov eax, dword [0x404610]
jmp 0x403a2e
call 0x402bd5
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x619ff0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x187000]
push edi
or ebp, 0xffffffff
jmp 0x61a012
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x61a019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x61a008
mov eax, 1
add ebx, ebx
jne 0x61a02b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x61a03c
jne 0x61a05b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x61a05b
dec eax
add ebx, ebx
jne 0x61a048
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x61a020
add ebx, ebx
jne 0x61a057
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x61a0ad
xor ecx, ecx
sub eax, 3
jb 0x61a073
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x61a0e2
sar eax, 1
mov ebp, eax
jmp 0x61a07e
add ebx, ebx
jne 0x61a07e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x61a04c
inc ecx
add ebx, ebx
jne 0x61a08c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x61a04c
add ebx, ebx
jne 0x61a099
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x61a08e
jne 0x61a0aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x61a08e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x61a0cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x61a0be
jmp 0x61a00e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x61a0cc
add edi, ecx
jmp 0x61a00e
pop esi
mov edi, esi
mov ecx, 0xa961
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x61a0ea
cmp byte [edi], 0x1e
jne 0x61a0ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x61a0ef
lea edi, [esi + 0x208000]
mov eax, dword [edi]
or eax, eax
je 0x61a15e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x284294]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x284384]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x61a11c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x284388]
or eax, eax
je 0x61a158
mov dword [ebx], eax
add ebx, 4
jmp 0x61a139
call dword [esi + 0x284390]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x61a18f
cmp al, 0xef
ja 0x61a182
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x61a164
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x61a171
mov ebp, dword [esi + 0x28438c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x61a1c3
sub esp, 0xffffff80
jmp 0x56e6bc
Function at 0x4070b0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4070f2
movzx eax, bl
add ax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
push esp
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x407112
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.0040b318
add esp, 0x41c
pop esi
pop ebx
ret

Function at 0x408e18
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.004092d8
mov byte [esp], al
cmp byte [esp], 0
jne 0x408fa1
test edi, edi
je 0x408fa1
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408ee1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408ebc
cmp edi, 0xffffffff
je 0x408e7d
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408e7d
mov byte [esp], 0
jmp 0x408fa1
cmp dword [esi], 1
jg 0x408ebc
cmp dword [esi], 0
jne 0x408eae
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408eae
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408fa1
lea eax, [esp + 0xc]
call fcn.00408af8
dec ebp
test ebp, ebp
jg 0x408e62
cmp edi, 0xffffffff
je 0x408ee1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408edf
mov byte [esp], 0
jmp 0x408fa1
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408e26
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408ee1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0040901c
mov edx, eax
mov ebx, dword [0x6d28fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x408f45
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x408f43
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x408f45
xor edi, edi
cmp byte [esp], 0
je 0x408f6b
mov ebx, dword [esi]
test bl, 1
jne 0x408f81
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408f4b
mov byte [esp + 1], 1
jmp 0x408f81
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408f6b
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408ef8
cmp byte [esp], 0
je 0x408fa1
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x409e60
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x6d205c], 0
je 0x409ec7
cmp word [0x6d2348], 0xd7b2
jne 0x409e89
cmp dword [0x6d2350], 0
jbe 0x409e89
mov eax, 0x6d2344
call dword [0x6d2360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x409ef4
call fcn.0040ac70
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x6c8036], 0
jne 0x409ee3
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40a088
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x6c8038], 0
je 0x40a0b3
mov edx, edi
mov eax, esi
call dword [0x6c8038]
mov ebx, eax
jmp 0x40a0c4
mov eax, 8
call fcn.00406f0c
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x6d205d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a050
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x40a0f4
mov eax, ebx
call fcn.00406f28
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40dc78
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40dddd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a1c8
cmp si, word [0x6c8a18]
jb 0x40dd10
cmp si, word [0x6c8c18]
ja 0x40dd10
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40dd10
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x6c8a18]
jae 0x40dcea
mov edi, ebx
dec edi
jmp 0x40dd0b
cmp si, word [ebx*8 + 0x6c8a18]
jbe 0x40dcfa
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40dd0b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x6c8a1c]
call fcn.0040db98
jmp 0x40dd10
cmp edi, dword [ebp - 8]
jae 0x40dcd4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40ddbf
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40ddbf
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b318
push dword [ebp - 0x160]
push 0x40ddf8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040b318
push dword [ebp - 0x164]
push 0x40de08
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b318
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b550
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dde4
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a228
ret
Function at 0x40df90
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e094
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x6d4c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x6d4c2c]
jne 0x40dfdc
mov eax, esi
mov edx, 0x6d4c2e
mov ecx, 0x55
call fcn.0040b318
push 0x6d4c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40e07e
push 0x6d4c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a1c8
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40e04b
cmp byte [0x6d4c10], 0
je 0x40e010
mov edx, esi
mov eax, ebx
call fcn.0040de74
jmp 0x40e04b
mov edx, esi
mov eax, ebx
call fcn.0040dc78
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40e04b
cmp dword [esi], 0
je 0x40e034
mov eax, esi
mov edx, 0x40e0ac
call fcn.0040b470
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040dc78
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b470
push 0x6d4c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x6d4c2c], bx
mov eax, dword [esi]
call fcn.0040b278
mov ecx, eax
mov eax, 0x6d4c2e
mov edx, 0xaa
call fcn.0040daf8
push 0x6d4c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e09b
lea eax, [ebp - 4]
call fcn.0040a1c8
ret