joyce8/EMBER2024-capa huggingface dataset:
Function at 0x569d20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x569d3b
mov esi, 0x80
cmp esi, dword [edi]
jne 0x569d46
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [0x761204]
test eax, eax
je 0x569d51
call eax
lea ecx, [esi*8]
push ebp
push ecx
call fcn.00569410
mov ebp, eax
mov eax, dword [0x761208]
add esp, 4
mov dword [esp + 8], ebp
test eax, eax
je 0x569d73
call eax
test ebp, ebp
jne 0x569d7f
pop ebp
xor eax, eax
pop esi
add esp, 8
ret
mov edx, dword [edi + 0xc]
push ebx
push edx
call fcn.0055d790
push ebp
mov dword [edi + 0xc], ebp
call dword [0x69fd68]
mov ebx, eax
shr ebx, 3
lea eax, [ebx*8]
push eax
push 0
push ebp
mov dword [esp + 0x2c], ebx
mov dword [edi], ebx
call fcn.005dfd60
mov ecx, dword [edi + 8]
add esp, 0x14
mov dword [edi + 8], 0
test ecx, ecx
je 0x569e5f
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x569df3
nop
movzx ebx, byte [esi]
movzx ebx, byte [ebx + 0x65b518]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc esi
test edx, edx
jg 0x569dd0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
xor edx, edx
div ebx
lea eax, [ebp + edx*8]
test eax, eax
je 0x569e3a
mov esi, dword [eax]
test esi, esi
je 0x569e10
mov edx, dword [eax + 4]
jmp 0x569e12
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x569e3a
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x569e32
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x569e53
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x569e53
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x569e49
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x569dc3
pop ebx
pop ebp
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x5817a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esi]
xor ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
jmp 0x5817c0
mov al, byte [ebp + 0x65be60]
mov byte [esp + 0x10], al
test edi, edi
je 0x581845
cmp byte [edi], 0
mov eax, edi
je 0x5817db
inc eax
cmp byte [eax], 0
jne 0x5817d5
mov ecx, dword [esp + 0x20]
sub eax, edi
and eax, 0x3fffffff
add ecx, 0x1a4
cmp dword [ecx + 0xc], 0
mov ebx, eax
je 0x58182d
xor eax, eax
mov esi, ebx
mov edx, edi
test ebx, ebx
jle 0x581823
mov edi, edi
movzx edi, byte [edx]
movzx edi, byte [edi + 0x65b518]
lea ebp, [eax*8]
xor edi, ebp
dec esi
xor eax, edi
inc edx
test esi, esi
jg 0x581800
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
xor edx, edx
div dword [ecx]
jmp 0x58182f
xor edx, edx
push edi
call fcn.0055eba0
add esp, 4
test eax, eax
je 0x581841
mov eax, dword [eax + 8]
jmp 0x58184c
xor eax, eax
jmp 0x58184c
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
test eax, eax
je 0x58185c
movzx ecx, byte [esp + 0x10]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x58187d
inc ebp
cmp ebp, 3
mov dword [esp + 0x14], ebp
jl 0x5817c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [eax + 0x10]
pop edi
mov dword [esi + 0x10], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x587630
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x40
xor eax, eax
push ebx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
push ebp
mov ebp, dword [eax]
mov cl, byte [ebp + 4]
mov edx, dword [ebp + 0xc]
mov byte [esp + 0x3f], cl
mov ecx, dword [esp + 0x50]
mov al, byte [ecx]
push esi
push edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edx
cmp al, 0x80
jae 0x587671
movzx eax, al
mov dword [esp + 0x18], eax
mov eax, 1
jmp 0x58767d
lea esi, [esp + 0x18]
call fcn.0055e690
movzx eax, al
mov edi, dword [esp + 0x18]
movzx ebx, al
mov dword [esp + 0x1c], 0
add ebp, 0x14
nop
mov ecx, dword [esp + 0x58]
mov al, byte [ecx + ebx]
add ecx, ebx
cmp al, 0x80
jae 0x5876ab
movzx eax, al
mov dword [esp + 0x20], eax
mov ecx, 1
jmp 0x5876bb
lea esi, [esp + 0x20]
call fcn.0055e690
movzx ecx, al
mov eax, dword [esp + 0x20]
movzx edx, cl
add ebx, edx
mov edx, dword [esp + 0x54]
lea ecx, [eax + edi + 2]
cmp ecx, edx
jbe 0x5876e5
cmp eax, 0xc
jb 0x5876d8
lea ecx, [eax - 0xc]
shr ecx, 1
jmp 0x5876df
movzx ecx, byte [eax + 0x65bc90]
add ecx, edi
cmp ecx, edx
ja 0x58775b
mov edx, dword [esp + 0x58]
lea ecx, [edi + edx]
lea esi, [esp + 0x28]
call fcn.005633b0
mov esi, dword [esp + 0x5c]
add edi, eax
mov eax, dword [ebp]
push eax
mov eax, dword [esi + 8]
add eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
call fcn.00586f90
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x58773c
inc dword [esp + 0x14]
add dword [esp + 0x1c], 0x28
add ebp, 4
cmp ebx, dword [esp + 0x18]
jae 0x587763
movzx ecx, word [esi + 4]
cmp dword [esp + 0x14], ecx
jl 0x587690
jmp 0x587763
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x14]
cmp byte [edx + ecx], 0
je 0x587796
pop edi
pop esi
neg eax
pop ebp
mov dword [esp + 4], eax
pop ebx
add esp, 0x40
ret
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
mov cl, byte [esi + 6]
test cl, 1
je 0x58777f
pop edi
pop esi
mov dword [esp + 8], 0xffffffff
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 0x40
ret
test cl, 2
jne 0x587796
cmp ebx, dword [esp + 0x18]
jae 0x587796
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x59a930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x59aa70
push edi
mov edi, ebp
call fcn.00561bf0
mov eax, dword [ebp + 4]
mov edi, dword [eax + 8]
test edi, edi
je 0x59aa4b
push ebx
push esi
jmp 0x59a960
mov ecx, dword [edi + 0x50]
push ecx
call fcn.0055d790
mov edx, dword [esp + 0x24]
xor eax, eax
add esp, 4
cmp ax, word [edi + 0x5e]
mov dword [edi + 0x50], 0
mov byte [edi + 0x5b], 4
mov dword [edi + 0x54], edx
mov dword [esp + 0x10], 0
jg 0x59aa3e
lea ebx, [edi + 0x88]
mov dword [esp + 0x14], ebx
lea esp, [esp]
mov eax, dword [ebx]
test eax, eax
je 0x59aa1c
mov eax, dword [eax + 0x44]
test eax, eax
je 0x59aa1c
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x59a9fc
dec dword [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov ebp, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
mov ebx, dword [ebp]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.005e5510
push edx
mov edx, dword [ebx + 0x48]
push eax
push ebp
call edx
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
add esp, 0x10
jmp 0x59aa01
call fcn.0055f8e0
cmp dword [esi + 0x78], 0
jne 0x59aa1c
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x59aa1c
push esi
call fcn.00599100
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [ebx], 0
movsx ecx, word [edi + 0x5e]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
jle 0x59a9a0
mov edi, dword [edi + 8]
test edi, edi
jne 0x59a960
pop esi
pop ebx
cmp byte [ebp + 9], 0
pop edi
je 0x59aa70
add dword [ebp + 0xc], 0xffffffff
jne 0x59aa70
mov edx, dword [ebp + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x59aa6c
push eax
call dword [0x69fd94]
add esp, 4
mov byte [ebp + 0xa], 0
pop ebp
add esp, 8
ret
Function at 0x5a1540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
mov ebp, dword [esp + 0x34]
mov eax, dword [ebp + 4]
mov edx, dword [eax + 0x24]
add edx, edx
mov eax, 0xaaaaaaab
mul edx
push esi
xor ecx, ecx
mov esi, edx
shr esi, 1
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ecx
jmp 0x5a1580
movsx edi, word [ebp + 0x5e]
mov ebx, dword [ebp + edi*4 + 0x88]
mov dword [esp + 0x20], ebx
test edi, edi
jne 0x5a15d2
cmp byte [ebx + 1], 0
je 0x5a1708
lea eax, [ebp + 0x8c]
push eax
mov eax, ebx
call fcn.0059c640
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5a1708
mov ecx, 1
xor edx, edx
mov word [ebp + 0x5e], cx
mov word [ebp + 0x60], dx
mov word [ebp + 0x62], ax
jmp 0x5a16fd
cmp byte [ebx + 1], 0
jne 0x5a15e4
movzx ecx, word [ebx + 0xe]
cmp ecx, esi
jle 0x5a1708
mov esi, dword [ebp + edi*4 + 0x84]
movzx edx, word [ebp + edi*2 + 0x5e]
mov eax, dword [esi + 0x44]
push eax
mov dword [esp + 0x1c], edx
call fcn.005869c0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5a1684
cmp byte [ebx + 4], al
je 0x5a1642
cmp byte [ebx + 1], 1
jne 0x5a1642
mov cx, word [ebx + 0x14]
cmp cx, word [ebx + 0x10]
jne 0x5a1642
cmp dword [esi + 0x48], 1
je 0x5a1642
movzx edx, word [esi + 0x10]
cmp edx, dword [esp + 0x18]
jne 0x5a1642
lea eax, [esp + 0x24]
push eax
push ebx
push esi
call fcn.0059c3f0
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x5a1684
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 0x20]
call fcn.0056a480
movzx edx, byte [ebp + 0x5d]
mov ebx, eax
xor eax, eax
cmp edi, 1
sete al
push edx
mov edx, dword [esp + 0x1c]
push eax
push ebx
push esi
call fcn.005a0660
mov esi, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x10], eax
test esi, esi
je 0x5a167c
call fcn.0055fdd0
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x44]
mov byte [ebx + 1], 0
test eax, eax
je 0x5a16f5
test byte [eax + 0x18], 0x40
mov edi, dword [eax + 0x10]
je 0x5a16d5
dec dword [edi + 0x78]
mov ecx, dword [edi + 0x88]
mov dword [eax + 0xc], ecx
mov esi, dword [edi + 0x3c]
mov dword [edi + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [edi + 0x98]
mov ebx, dword [esi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.005e5510
push edx
mov edx, dword [ebx + 0x48]
push eax
push esi
call edx
add esp, 0x10
jmp 0x5a16da
call fcn.0055f8e0
cmp dword [edi + 0x78], 0
jne 0x5a16f5
mov eax, dword [edi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x5a16f5
push edi
call fcn.00599100
add esp, 4
dec word [ebp + 0x5e]
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x10], 0
je 0x5a1580
mov esi, dword [esp + 0x14]
test esi, esi
je 0x5a1715
call fcn.0055fdd0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0x28
ret
Function at 0x5a1e70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], edi
cmp dword [esi + 0x18], edi
jne 0x5a1e97
mov eax, dword [esp + 0x14]
mov dword [eax], edi
mov dword [eax + 4], edi
pop edi
xor eax, eax
pop esi
add esp, 8
ret
push ebx
push ebp
call fcn.0059fef0
cmp eax, edi
jne 0x5a204a
or ebp, 0xffffffff
lea esp, [esp]
movsx edi, word [esi + 0x5e]
mov ecx, dword [esi + edi*4 + 0x88]
mov bl, byte [ecx + 3]
test bl, bl
jne 0x5a1ec7
cmp byte [ecx + 2], bl
jne 0x5a1ed7
movzx eax, word [ecx + 0x10]
cdq
add dword [esp + 0x10], eax
adc dword [esp + 0x14], edx
or ebp, 0xffffffff
test bl, bl
je 0x5a1fab
nop
movzx eax, word [esi + 0x5e]
test ax, ax
je 0x5a2037
cwde
mov eax, dword [esi + eax*4 + 0x88]
test eax, eax
je 0x5a1f6a
mov eax, dword [eax + 0x44]
test eax, eax
je 0x5a1f6a
test byte [eax + 0x18], 0x40
mov edi, dword [eax + 0x10]
je 0x5a1f4a
add dword [edi + 0x78], ebp
mov ecx, dword [edi + 0x88]
mov dword [eax + 0xc], ecx
mov ebp, dword [edi + 0x3c]
mov dword [edi + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [edi + 0x98]
mov ebx, dword [ebp]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.005e5510
push edx
mov edx, dword [ebx + 0x48]
push eax
push ebp
call edx
add esp, 0x10
or ebp, 0xffffffff
jmp 0x5a1f4f
call fcn.0055f8e0
cmp dword [edi + 0x78], 0
jne 0x5a1f6a
mov eax, dword [edi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x5a1f6a
push edi
call fcn.00599100
add esp, 4
add word [esi + 0x5e], bp
movzx ecx, word [esi + 0x5e]
xor edx, edx
movsx eax, cx
mov word [esi + 0x42], dx
mov byte [esi + 0x5a], dl
mov edx, dword [esi + eax*4 + 0x88]
mov ax, word [esi + eax*2 + 0x60]
cmp ax, word [edx + 0x10]
jae 0x5a1ee0
movsx ecx, cx
inc word [esi + ecx*2 + 0x60]
movsx edi, word [esi + 0x5e]
lea eax, [esi + ecx*2 + 0x60]
mov ecx, dword [esi + edi*4 + 0x88]
movzx eax, word [esi + edi*2 + 0x60]
movzx edx, word [ecx + 0x10]
cmp eax, edx
jne 0x5a1fe5
movzx eax, byte [ecx + 5]
mov ecx, dword [ecx + 0x38]
movzx edx, byte [eax + ecx + 9]
lea ecx, [eax + ecx + 8]
movzx eax, byte [ecx]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
push eax
jmp 0x5a201f
mov edx, dword [ecx + 0x40]
lea edx, [edx + eax*2]
movzx eax, byte [edx]
movzx edx, byte [edx + 1]
shl eax, 8
or eax, edx
movzx edx, word [ecx + 0x12]
and eax, edx
add eax, dword [ecx + 0x38]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
push ecx
call fcn.0059fe50
add esp, 4
test eax, eax
je 0x5a1eb0
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
Function at 0x5c62d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x675408
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x6c], ecx
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x64], edx
mov ecx, 0x10
mov esi, str.SELECT_name_FROM_sqlite_master_WHERE_typetable_AND_name_param1
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [ebx], dl
push edx
lea edx, [ebp - 0x64]
push edx
push 0xffffffffffffffff
lea ecx, [ebp - 0x60]
push ecx
push eax
call fcn.005a8d50
add esp, 0x14
test eax, eax
jne 0x5c63fb
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x5c63fb
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, dword [ebp - 0x6c]
push edx
push 1
push eax
call fcn.00592e20
mov eax, dword [ebp - 0x64]
push eax
call fcn.005af3a0
add esp, 0x18
cmp eax, 0x65
je 0x5c63bc
cmp eax, 0x64
je 0x5c63c1
lea ecx, [ebp - 0x64]
push ecx
call fcn.005c5190
mov edx, dword [ebp - 0x68]
push edx
call fcn.00584f10
add esp, 8
test eax, eax
je 0x5c6443
push eax
push str.SQStep_1__Failed__Reason:__s
push ebx
call fcn.005dfb23
push ebx
push str._SQT___s
push 0
call fcn.004f0f30
add esp, 0x18
jmp 0x5c6443
cmp eax, 0x64
jne 0x5c63db
lea eax, [ebp - 0x64]
push eax
call fcn.005c5190
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x5c644c
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0056d8f0
mov edx, dword [ebp - 0x64]
push edx
call fcn.005a7910
lea eax, [ebp - 0x64]
push eax
call fcn.005c5190
add esp, 0xc
jmp 0x5c6443
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00584f10
push eax
push str.SQExecPV_Failed:__s_n
push ebx
call fcn.005dfb23
push ebx
push str._SQT___s
push 0
call fcn.004f0f30
lea edx, [ebp - 0x64]
push edx
call fcn.005c5190
add esp, 0x20
jmp 0x5c6443
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
Function at 0x5c6470
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x675428
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x214]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
wait
mov dword [ebp - 4], ebx
mov byte [ebp + 0x104], bl
push 0x103
push ebx
lea eax, [ebp + 0x105]
push eax
call fcn.005dfd60
mov byte [ebp], bl
push 0x103
push ebx
lea ecx, [ebp + 1]
push ecx
call fcn.005dfd60
add esp, 0x18
mov dword [ebp - 0x24], ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x20], eax
cmp byte [0x761560], bl
jne 0x5c6510
push 0x761560
call fcn.00513fd0
push 0x761560
lea edx, [ebp + 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0x104]
push eax
call fcn.004e24e0
add esp, 4
push esi
lea ecx, [ebp + 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
push ebx
push ebx
push ebx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp + 0x104]
push eax
call fcn.004e8950
add esp, 0x18
test eax, eax
jne 0x5c65fe
cmp dword [ebp - 0x24], 0x2800
ja 0x5c657c
lea ecx, [ebp + 0x104]
push ecx
call fcn.004e0670
add esp, 4
jmp 0x5c65fe
push 1
mov edx, dword [ebp + 0x218]
push edx
push 2
lea eax, [ebp - 0x28]
push eax
push ebx
lea ecx, [ebp]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x104]
push eax
call fcn.005c4e10
add esp, 0x20
mov ecx, dword [ebp - 0x1c]
test eax, eax
jne 0x5c65cd
push ecx
call fcn.005c51b0
add esp, 4
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x28], 0x1a
jne 0x5c65fe
lea edx, [ebp + 0x104]
push edx
call fcn.004e0670
add esp, 4
jmp 0x5c65fe
lea eax, [ebp]
push eax
push 0x662d60
push ecx
call fcn.005c62d0
add esp, 0xc
test eax, eax
jne 0x5c65fe
mov edx, dword [ebp - 0x1c]
push edx
call fcn.005c51b0
mov dword [ebp - 0x1c], ebx
lea eax, [ebp + 0x104]
push eax
call fcn.004e0670
add esp, 8
cmp dword [0x76155c], ebx
je 0x5c6635
push esi
call edi
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
test eax, eax
jge 0x5c661c
fadd qword [0x60ecc0]
fdiv qword [0x60ecb8]
sub esp, 8
fstp qword [esp]
push str.It_took__.2f_Secs_for_CheckDBIntegrity___of__s_n
call fcn.005e0e7f
add esp, 0x10
wait
jmp 0x5c6650
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x5c6e40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0xd4]
sub esp, 0xd4
push 0xfffffffffffffffe
push 0x675490
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0xd0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0xdc]
mov edi, dword [ebp + 0xe0]
wait
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
cmp byte [0x761560], bl
jne 0x5c6eaf
push 0x761560
call fcn.00513fd0
push edi
push 0x761560
call fcn.005c4c60
add esp, 8
cmp eax, 1
je 0x5c6fcd
push str.phnl
push esi
call fcn.004dd6e0
add esp, 8
test eax, eax
jne 0x5c6edb
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x1c]
push eax
push esi
call fcn.005c6470
add esp, 8
cmp eax, ebx
jne 0x5c6fc4
mov byte [ebp], bl
push 0x3f
push ebx
lea ecx, [ebp + 1]
push ecx
call fcn.005dfd60
push 0x90
push ebx
lea edx, [ebp + 0x40]
push edx
call fcn.005dfd60
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
mov ecx, esi
lea edx, [ebp]
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x5c6f20
mov ecx, edi
lea edx, [ebp + 0x40]
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x5c6f30
mov ecx, dword [ebp + 0xe4]
lea edx, [ebp + 0x80]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x5c6f46
mov eax, dword [ebp + 0xe8]
mov dword [ebp + 0xc0], eax
mov dword [ebp + 0xcc], 1
mov dword [ebp + 0xc8], ebx
lea ecx, [ebp]
push ecx
call fcn.005c6680
add esp, 4
cmp dword [ebp - 0x1c], ebx
jne 0x5c6f8d
push ebx
push esi
call fcn.005c6470
push eax
call fcn.005c51b0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
test eax, eax
jge 0x5c6fa6
fadd qword [0x60ecc0]
fdiv qword [0x60ecb8]
sub esp, 8
fstp qword [esp]
push esi
push str._SQT__CheckDBAndCreate__s:__.2f_Secs
push ebx
call fcn.004f0f30
add esp, 0x14
wait
jmp 0x5c6fe8
push eax
call fcn.005c51b0
add esp, 4
wait
jmp 0x5c6fe8
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xd0]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0xd4
mov esp, ebp
pop ebp
ret
Function at 0x5c9f00
Capabilities:
Create pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x675598
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [str.y_ny_n]
mov dword [ebp - 0x24], eax
mov cl, byte [0x663870]
mov byte [ebp - 0x20], cl
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x4c], edi
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x34], edi
push edi
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x5c9ffe
push 0x44
push edi
lea edx, [ebp - 0x90]
push edx
call fcn.005dfd60
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x90], 0x44
mov dword [ebp - 0x64], 0x101
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x90]
push edx
push edi
push edi
push edi
push 1
push edi
push edi
push esi
push edi
call fcn.004d87f0
add esp, 0x34
test eax, eax
jne 0x5ca009
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x5c9ff0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x5c9ffe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x5ca07e
push edi
lea eax, [ebp - 0x4c]
push eax
push 4
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x48]
push ecx
call fcn.004dca10
lea edx, [ebp - 0x44]
push edx
call fcn.004dca10
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x5ca04a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x5ca072
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5ca072
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret