joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e7e
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0x1c], al
mov dword [esp + 4], 0x6d84b2
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.006c4b48
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x403ecc
cmp byte [ebp - 0x1c], 0
je 0x403ebc
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0047f294
jmp 0x40403b
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004046f4
jmp 0x40403b
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.006c4b70
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
inc eax
lea edx, [eax + 0xf]
mov eax, 0x10
dec eax
add eax, edx
mov ecx, 0x10
mov edx, 0
div ecx
imul eax, eax, 0x10
call fcn.006b7700
sub esp, eax
lea eax, [esp + 8]
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jmp 0x40400a
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
movsx eax, al
cmp eax, 0x25
je 0x403f53
cmp eax, 0x25
jg 0x403f44
cmp eax, 0x23
je 0x403f7c
jmp 0x403ff7
cmp eax, 0x3b
je 0x403fa2
cmp eax, 0x3f
je 0x403fc8
jmp 0x403ff7
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov byte [eax], 0x25
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov byte [eax], 0x32
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov byte [eax], 0x35
jmp 0x404007
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov byte [eax], 0x25
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov byte [eax], 0x32
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov byte [eax], 0x33
jmp 0x404007
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov byte [eax], 0x25
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov byte [eax], 0x33
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov byte [eax], 0x42
jmp 0x404007
mov al, byte [0x7bdea9]
test al, al
je 0x403ff7
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov byte [eax], 0x25
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov byte [eax], 0x33
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov byte [eax], 0x46
jmp 0x404007
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dl, byte [edx]
mov byte [eax], dl
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
test al, al
jne 0x403f28
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
cmp byte [ebp - 0x1c], 0
je 0x404030
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0047f294
jmp 0x40403b
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.004046f4
leave
ret
Function at 0x405442
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x405462
mov dword [esp], str.cdm:_2_n
call fcn.004247e5
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [0x7bfa34]
call eax
test eax, eax
jne 0x405481
mov al, 1
jmp 0x405680
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x40549b
mov dword [esp], str.cdm:_3_n
call fcn.004247e5
mov dword [esp + 8], 1
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00435dad
xor eax, 1
test al, al
je 0x4054c3
mov al, 0
jmp 0x405680
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
cmp al, 0x2e
jne 0x4054ea
inc dword [ebp - 0xc]
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x405504
mov dword [esp], str.cdm:_4_n
call fcn.004247e5
mov dword [ebp - 0x1c], 0
jmp 0x405561
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
movsx eax, al
test eax, eax
je 0x405520
cmp eax, 0x2e
je 0x405529
jmp 0x40555b
mov dword [ebp - 0x1c], 1
jmp 0x40555e
cmp dword [ebp - 0x14], 0
jne 0x405536
mov al, 0
jmp 0x405680
mov eax, dword [ebp - 0xc]
inc eax
mov al, byte [eax]
test al, al
jne 0x405549
mov dword [ebp - 0x1c], 1
jmp 0x40555e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
inc dword [ebp - 0x10]
jmp 0x40555e
inc dword [ebp - 0x14]
inc dword [ebp - 0xc]
cmp dword [ebp - 0x1c], 0
je 0x40550d
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x405581
mov dword [esp], str.cdm:_5_n
call fcn.004247e5
cmp dword [ebp - 0x10], 1
jg 0x40558e
mov al, 0
jmp 0x405680
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x4055a8
mov dword [esp], str.cdm:_6_n
call fcn.004247e5
cmp dword [ebp - 0x10], 2
jne 0x405605
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
jmp 0x4055ef
mov eax, dword [ebp - 0x20]
mov eax, dword [eax*4 + 0x6ca020]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00435dad
test al, al
je 0x4055ec
mov dword [ebp - 0x24], 1
jmp 0x4055f5
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 6
jbe 0x4055be
cmp dword [ebp - 0x24], 0
jne 0x405605
cmp dword [ebp - 0x18], 3
jg 0x405605
mov al, 0
jmp 0x405680
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x40561f
mov dword [esp], str.cdm:_7_n
call fcn.004247e5
mov eax, dword [ebp + 8]
mov al, byte [eax]
cmp al, 0x2e
je 0x405664
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.006c4b70
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.006c4b70
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x28]
jle 0x405664
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
lea edx, [eax - 1]
mov eax, dword [ebp + 0xc]
add eax, edx
mov al, byte [eax]
cmp al, 0x2e
je 0x405664
mov al, 0
jmp 0x405680
mov al, byte [0x7bde7b]
and eax, 0xff
test eax, eax
je 0x40567e
mov dword [esp], str.cdm:_8_n
call fcn.004247e5
mov al, 1
leave
ret
Function at 0x4247e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov al, byte [0x7bde7b]
test al, al
je 0x42484c
call fcn.00424fa6
mov al, byte [0x7b11d8]
test al, al
jne 0x42484b
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call fcn.006c4c30
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call fcn.004244b2
mov byte [ebp - 9], al
mov al, byte [ebp - 9]
xor eax, 1
test al, al
jne 0x42481d
jmp 0x42484c
nop
leave
ret
Function at 0x444c0c
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
nop
pop ebp
ret
Function at 0x4458b4
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
nop
pop ebp
ret

Function at 0x4469e4
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0xc3d2e1f0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0
nop
pop ebp
ret

Function at 0x448604
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 0
nop
pop ebp
ret

Function at 0x448679
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x367cd507
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x3070dd17
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xf70e5939
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0xffc00b31
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x68581511
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x64f98fa7
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xbefa4fa4
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 0
nop
pop ebp
ret
Function at 0x46d5b6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0046c2a7
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
setne al
and eax, 0xff
test eax, eax
je 0x46d5fa
mov eax, 0xc
jmp 0x46d714
mov dword [ebp - 0xc], 0
jmp 0x46d65b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
shl edx, 3
add eax, edx
mov al, byte [eax + 4]
and eax, 0xff
and eax, 8
test eax, eax
jne 0x46d658
mov eax, dword [ebp + 0xc]
lea edx, [eax + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0046ceb2
xor eax, 1
test al, al
je 0x46d658
mov eax, 0xc
jmp 0x46d714
inc dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cmp dword [ebp - 0xc], eax
jl 0x46d603
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
and eax, dword [ebp + 0x10]
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
add eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp edx, eax
setle al
and eax, 0xff
test eax, eax
je 0x46d6f1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
add eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
lea edx, [eax*4]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006c4bf8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
sete al
and eax, 0xff
test eax, eax
je 0x46d6df
mov eax, 0xc
jmp 0x46d714
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
lea ecx, [eax + 1]
mov edx, dword [ebp - 0x14]
mov dword [edx], ecx
shl eax, 2
lea edx, [ebx + eax]
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, 0
add esp, 0x34
pop ebx
pop ebp
ret
Function at 0x470443
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x10], 0
jmp 0x470481
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
add eax, ecx
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.006c4c30
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
cmp edx, eax
ja 0x470452
mov dword [ebp - 0xc], 0
jmp 0x47052b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0xc]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
add eax, ecx
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
jmp 0x47050c
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x10]
lea ecx, [eax*4]
mov eax, dword [ebp - 0x14]
add eax, ecx
mov eax, dword [eax]
mov ecx, eax
mov eax, ecx
add eax, eax
add eax, ecx
shl eax, 2
add edx, eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0046ceb2
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0x15]
xor eax, 1
and eax, 0xff
test eax, eax
je 0x470509
mov eax, 0xc
jmp 0x470541
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0xc]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
add eax, ecx
mov eax, dword [eax + 4]
cmp dword [ebp - 0x10], eax
jl 0x4704bd
inc dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
cmp edx, eax
ja 0x47049a
mov eax, 0
leave
ret

Function at 0x470543
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov byte [ebp - 0xd], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
cmp edx, eax
jne 0x470580
mov al, byte [ebp - 0xd]
xor eax, 1
test al, al
je 0x470575
mov eax, 0
jmp 0x470609
mov byte [ebp - 0xd], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0xc]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
add eax, ecx
mov eax, dword [eax + 4]
test eax, eax
jne 0x470600
mov dword [esp + 0xc], 1
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0047060b
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
setne al
and eax, 0xff
test eax, eax
je 0x4705d4
mov eax, dword [ebp - 0x14]
jmp 0x470609
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0xc]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
add eax, ecx
mov eax, dword [eax + 4]
test eax, eax
jne 0x470601
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.006c4ce8
jmp 0x470601
nop
inc dword [ebp - 0xc]
jmp 0x470554
leave
ret
Function at 0x57aaf0
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x57ab34
mov cl, byte [ebx]
xor eax, eax
test cl, cl
je 0x57ab31
mov esi, 0x100
movsx edx, cl
or edx, esi
inc ebx
mov ecx, edx
add esi, 0x100
shr ecx, 2
xor ecx, edx
imul edx, edx
and ecx, 0xf
rol eax, cl
mov cl, byte [ebx]
xor eax, edx
test cl, cl
jne 0x57ab07
mov edx, eax
shr edx, 0x10
xor eax, edx
pop ebx
pop esi
ret
xor eax, eax
pop ebx
pop esi
ret
Function at 0x6906b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x6906e5
mov ebp, dword [ebx + 0x20]
test ebp, ebp
je 0x6906e5
mov edi, dword [ebx + 0x24]
test edi, edi
je 0x6906e5
mov esi, dword [ebx + 0x1c]
mov eax, 0xfffffffe
test esi, esi
je 0x6906dd
cmp ebx, dword [esi]
je 0x6906f2
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x2c
mov eax, 0xfffffffe
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esi + 4]
cmp edi, 0x45
mov dword [esp + 0x1c], edi
setne cl
cmp dword [esp + 0x1c], 0x2a
mov edi, ecx
setne cl
and edi, ecx
cmp dword [esp + 0x1c], 0x5b
setne cl
and edi, ecx
cmp dword [esp + 0x1c], 0x67
setne cl
and edi, ecx
cmp dword [esp + 0x1c], 0x71
setne cl
and ecx, edi
cmp dword [esp + 0x1c], 0x29a
mov ebp, ecx
mov edx, ebp
setne cl
test dl, cl
je 0x690748
mov edx, dword [esp + 0x1c]
sub edx, 0x39
and edx, 0xffffffef
jne 0x6906dd
mov eax, dword [esi + 8]
mov dword [ebx + 0x14], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x2c], 2
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x18]
test eax, eax
js 0x690880
cmp eax, 2
je 0x690895
cmp eax, 1
sbb eax, eax
and eax, 0x47
add eax, 0x2a
mov dword [esi + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0069de50
mov dword [ebx + 0x30], eax
mov dword [esi + 0x28], 0
mov dword [esp], esi
xor esi, esi
call fcn.0069ca20
mov ebx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x44]
add eax, eax
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x4c]
add eax, 0x7fffffff
lea ecx, [eax + eax]
mov word [edx + eax*2], si
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.006c4c30
mov eax, dword [ebx + 0x84]
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x16b4], 0
mov dword [ebx + 0x78], 2
lea eax, [eax + eax*2]
mov dword [ebx + 0x60], 2
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x48], 0
shl eax, 2
lea edx, [eax + 0x792d40]
movzx ecx, word [eax + 0x792d42]
movzx eax, word [eax + 0x792d40]
mov dword [ebx + 0x8c], eax
movzx eax, word [edx + 4]
mov dword [ebx + 0x80], ecx
mov dword [ebx + 0x90], eax
movzx eax, word [edx + 6]
mov dword [ebx + 0x7c], eax
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
neg eax
mov edx, eax
mov dword [esi + 0x18], eax
mov eax, 0x2a
cmp edx, 2
jne 0x690790
mov dword [esi + 4], 0x39
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0069e410
jmp 0x6907af
Function at 0x571120
Capabilities:
Resume thread
Suspend thread

Disassembly:
call fcn.00571f50
cmp ax, 0x3c
jne 0x57113f
mov eax, dword [0x56a310]
mov ecx, dword [0x56a314]
cmp eax, ecx
jae 0x57113f
mov ax, 0x3c
ret
mov eax, dword [0x56a420]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x5711ac
mov edx, dword [0x55dca4]
push 4
inc edx
push edi
push 0x56a3f4
mov dword [0x55dca4], edx
mov edx, dword [0x56c6d8]
push 0x56a3f0
push edi
push 0x56a55c
mov dword [0x56a9f4], edi
mov dword [0x56a3f0], edx
mov dword [0x56a3f4], edi
call fcn.00573570
mov esi, eax
cmp si, di
jne 0x5711a0
mov eax, dword [0x56a3f4]
mov ecx, dword [0x56c6d8]
xor eax, ecx
je 0x5711a5
mov esi, 3
mov ax, si
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x55dca8]
mov ebx, 1
cmp eax, ebx
mov dword [0x56a9f4], ebx
je 0x571224
mov ecx, dword [0x55dca4]
mov eax, dword [0x55dca0]
cmp ecx, eax
je 0x571224
mov edx, ecx
push 4
inc edx
push edi
push 0x56a3f4
mov dword [0x55dca4], edx
mov edx, dword [0x56c6d8]
push 0x56a3f0
push edi
push 0x56a55c
mov dword [0x56a3f0], edx
mov dword [0x56a3f4], edi
call fcn.00573570
mov esi, eax
cmp si, di
jne 0x5711a0
mov eax, dword [0x56a3f4]
mov ecx, dword [0x56c6d8]
xor eax, ecx
je 0x5711a5
mov esi, 3
pop edi
mov ax, si
pop esi
pop ebx
ret
push edi
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 5
push 4
idiv ecx
mov eax, dword [0x56c6d8]
push edi
and eax, 0x1f3
push 0x56a3f4
mov dword [0x56a400], eax
push 0x56a3f0
mov dword [0x55dca4], ebx
mov dword [0x56a3f4], edi
inc edx
mov dword [0x55dca0], edx
mov edx, dword [eax*4 + 0x55a010]
movzx ax, byte [0x55a00d]
xor edx, 0xfd0699d6
push eax
push 0x56a55c
mov dword [0x56a3f0], edx
call fcn.00573570
mov esi, eax
cmp si, di
jne 0x5712c9
mov ecx, dword [0x56a400]
mov edx, dword [ecx*4 + 0x55a7e0]
mov ecx, dword [0x56a3f4]
xor edx, ecx
xor edx, 0x7b2309a7
jne 0x5712c9
mov dword [0x55dca8], edi
mov ax, si
pop edi
pop esi
pop ebx
ret
mov al, byte [0x55cf6a]
cmp al, 0x31
jne 0x5712d9
mov esi, 3
jmp 0x5712e3
cmp al, 0x32
je 0x5712e1
cmp al, 0x33
jne 0x5712e3
xor esi, esi
mov ecx, dword [0x56a444]
mov dword [0x55dca8], ebx
cmp ecx, edi
jne 0x5711a5
cmp al, 0x32
je 0x571303
cmp al, 0x33
jne 0x5711a5
mov eax, dword [0x56a54c]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [0x56a3fc], 0xc
call fcn.005725c0
mov ecx, dword [0x56a54c]
mov dword [0x56a3fc], edi
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ax, si
pop edi
mov dword [0x56a444], ebx
pop esi
pop ebx
ret
Function at 0x571720
Capabilities:
Suspend thread

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x56c6c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [esi*4 + 0x56c700]
test eax, eax
je 0x571773
lea ecx, [esp + 0xc]
push ecx
push eax
call ebx
test eax, eax
je 0x571773
cmp dword [esp + 0xc], 0x103
je 0x571773
mov edx, dword [esi*4 + 0x56c700]
push edx
call edi
mov dword [esi*4 + 0x56c700], 0
push esi
call fcn.00571910
mov esi, eax
add esp, 4
cmp esi, 0x64
jl 0x57173d
mov edi, dword [sym.imp.KERNEL32.dll_SuspendThread]
xor esi, esi
mov eax, dword [esi*4 + 0x56c700]
test eax, eax
je 0x571799
push eax
call edi
push esi
call fcn.00571910
mov esi, eax
add esp, 4
cmp esi, 0x64
jl 0x57178b
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5717b0
Capabilities:
Resume thread

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
xor esi, esi
mov eax, dword [esi*4 + 0x56c700]
test eax, eax
je 0x5717c8
push eax
call edi
push esi
call fcn.00571910
mov esi, eax
add esp, 4
cmp esi, 0x64
jl 0x5717ba
push 0x56c6c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
ret

Function at 0x5725c0
Capabilities:
Create thread
Terminate process
Terminate thread

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push edi
push eax
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x572570
push 0
push 0
mov dword [esp + 0x20], 1
mov dword [0x56a404], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, eax
test esi, esi
jne 0x572602
push 0
call edi
cmp byte [0x55cf6a], 0x31
je 0x572612
push 0xea60
jmp 0x572617
push 0x1d4c0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp byte [0x55cf6a], 0x31
jne 0x572642
push 0x1d4c0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
pop edi
pop esi
add esp, 8
ret

Function at 0x572de0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
je 0x572e55
mov eax, dword [esp + 0x10]
mov ecx, 2
sub eax, ecx
je 0x572e2c
mov word [0x56aa00], cx
call fcn.005752e0
add esp, 0x94
ret
cmp dword [esp + 4], 5
jne 0x572e19
mov edx, dword [esp + 8]
mov eax, 1
cmp edx, eax
jb 0x572e19
mov word [0x56aa00], ax
call fcn.00572b30
call fcn.00572cc0
call fcn.005752e0
add esp, 0x94
ret