joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dd20
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x4af890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x1c]
lea eax, [ebp - 0x408]
push edi
mov edi, dword [ebp + 8]
push 0x401
push 0
push eax
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x814], esi
mov dword [ebp - 0x818], 0
call fcn.0046e6d0
push 0x401
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.0046e6d0
push 0x400
push edi
lea eax, [ebp - 0x408]
push 0x401
lea ebx, [ebp - 0x80c]
mov dword [ebp - 0x81c], eax
push eax
mov dword [ebp - 0x810], ebx
call fcn.00473a96
add esp, 0x28
jmp 0x41ddb0
push dword [ebp - 0x820]
mov edi, esi
mov dword [esi], 0
mov byte [ebx], 0
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x41df0e
cmp word [ebx + 8], 2
jne 0x41de0e
cmp word [ebx + 0xa], 4
jne 0x41de0e
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x41de0e
push dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0041df60
mov dword [edi], eax
test eax, eax
je 0x41df07
add esi, 4
lea edi, [eax + 0x1c]
mov eax, dword [esi]
test eax, eax
jne 0x41dde8
push 0x400
push dword [ebx]
mov ebx, dword [ebp - 0x810]
push 0x401
push ebx
call fcn.00473a96
mov eax, dword [ebp - 0x814]
xor esi, esi
add esp, 0x10
cmp dword [eax], esi
jne 0x41debe
mov ecx, ebx
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41de40
sub ecx, edx
je case.0x41df1e.11003
mov edi, dword [ebp - 0x81c]
mov ecx, ebx
mov eax, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41de80
test dl, dl
je 0x41de7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41de80
add eax, 2
add ecx, 2
test dl, dl
jne 0x41de60
xor eax, eax
jmp 0x41de85
sbb eax, eax
or eax, 1
test eax, eax
je case.0x41df1e.11003
mov esi, dword [ebp - 0x818]
inc esi
mov dword [ebp - 0x818], esi
cmp esi, 0x10
je case.0x41df1e.11003
mov esi, dword [ebp - 0x814]
mov eax, edi
mov dword [ebp - 0x81c], ebx
mov ebx, eax
mov dword [ebp - 0x810], ebx
jmp 0x41ddb0
cmp dword [ebp + 0x18], esi
je 0x41df38
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41dec8
sub ecx, edx
lea ebx, [ecx + 1]
push ebx
push 1
call fcn.00471c10
mov edi, eax
add esp, 8
test edi, edi
je 0x41def5
push dword [ebp - 0x810]
push ebx
push edi
call fcn.00473922
add esp, 0xc
mov ecx, dword [ebp - 0x814]
mov eax, dword [ecx]
mov dword [eax + 0x14], edi
mov eax, dword [ecx]
cmp dword [eax + 0x14], esi
jne 0x41df38
mov esi, 8
jmp 0x41df38
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x41df1e.11001
jmp dword [eax*4 + 0x41df50]
mov esi, 0x2afa
jmp 0x41df38
mov esi, 0x2afb
jmp 0x41df38
mov esi, 0x2af9
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046cfaf
mov esp, ebp
pop ebp
ret 0x18
Function at 0x41e2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x10
mov al, byte [edx + 0x10]
cmp al, 3
jae 0x41e321
fld dword [edx + 0xc]
movzx ecx, al
mov eax, dword [ebp + 8]
fld dword [eax + ecx*4]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x41e300
fstp st(0)
mov eax, 1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
fld dword [eax + ecx*4]
fcompp
fnstsw ax
test ah, 0x41
jp 0x41e318
mov eax, 2
mov esp, ebp
pop ebp
ret
mov eax, 3
mov esp, ebp
pop ebp
ret
fldz
mov al, byte [edx + 0x11]
fst dword [ebp - 0xc]
fstp dword [ebp - 0x10]
cmp al, 8
jae 0x41e388
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
movzx ecx, al
sub edi, edx
mov eax, dword [ebp + 8]
mov esi, edx
sub eax, edx
mov dword [ebp - 8], ecx
mov edx, eax
lea esp, [esp]
fld dword [esi]
mov eax, ecx
fld dword [edi + esi]
mov cl, bl
shr eax, cl
inc ebx
mov ecx, dword [ebp - 8]
and eax, 1
fmul st(1)
fadd dword [ebp + eax*4 - 0x10]
fstp dword [ebp + eax*4 - 0x10]
xor eax, 1
fmul dword [edx + esi]
add esi, 4
fadd dword [ebp + eax*4 - 0x10]
fstp dword [ebp + eax*4 - 0x10]
cmp ebx, 3
jl 0x41e350
mov edx, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
fld dword [edx + 0xc]
xor ecx, ecx
fld dword [ebp - 0x10]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x41e39e
mov ecx, 1
fld dword [ebp - 0xc]
fcompp
fnstsw ax
test ah, 5
jp 0x41e3ad
or ecx, 2
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x4201b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
or esi, 0xffffffff
cmp dword [0x5fd0a8], 0
jne 0x420250
xor edx, edx
mov eax, edx
shr eax, 1
test dl, 1
je 0x4201d4
xor eax, 0xedb88320
mov ecx, eax
shr ecx, 1
test al, 1
je 0x4201e2
xor ecx, 0xedb88320
mov eax, ecx
shr eax, 1
test cl, 1
je 0x4201f0
xor eax, 0xedb88320
mov ecx, eax
shr ecx, 1
test al, 1
je 0x4201fe
xor ecx, 0xedb88320
mov eax, ecx
shr eax, 1
test cl, 1
je 0x42020c
xor eax, 0xedb88320
mov ecx, eax
shr ecx, 1
test al, 1
je 0x42021a
xor ecx, 0xedb88320
mov eax, ecx
shr eax, 1
test cl, 1
je 0x420228
xor eax, 0xedb88320
mov ecx, eax
shr ecx, 1
test al, 1
je 0x420236
xor ecx, 0xedb88320
mov dword [edx*4 + 0x5fcca8], ecx
inc edx
cmp edx, 0x100
jl 0x4201c6
mov dword [0x5fd0a8], 1
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x42027a
mov edx, dword [ebp + 8]
lea ebx, [ebx]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x5fcca8]
sub ecx, 1
jne 0x420260
not esi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4231d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 8], 0
mov dword [ebp - 4], edi
test edx, edx
je 0x42334b
mov esi, dword [edx + 0x7c]
test esi, esi
je 0x42334b
cmp dword [esi], edi
jne 0x423207
lea eax, [edi - 0x64]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x423216
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x14], ecx
cmp ecx, eax
jbe 0x42322b
mov dword [esi + 0x14], eax
mov ecx, eax
push ebx
test ecx, ecx
je 0x423342
mov edi, dword [esi + 8]
test edi, edi
jne 0x423295
mov eax, dword [esi + 0x58]
test eax, eax
je 0x423295
mov edi, 0x10000
cmp eax, edi
jae 0x42324d
mov edi, eax
cmp dword [edx + 0x40], eax
jne 0x42326e
mov eax, dword [esi + 0x68]
add eax, dword [esi + 0x3c]
push 0
push eax
push dword [esi + 0x60]
call fcn.00472db6
add esp, 0xc
test eax, eax
jne 0x42332b
push dword [esi + 0x60]
push 1
push edi
push dword [esi]
call fcn.004729cb
add esp, 0x10
cmp eax, 1
jne 0x42332b
add dword [esi + 0x3c], edi
mov eax, dword [esi]
sub dword [esi + 0x58], edi
mov dword [esi + 4], eax
mov dword [esi + 8], edi
cmp dword [esi + 0x64], 0
jne 0x4232ea
mov eax, dword [esi + 0x14]
mov ebx, eax
cmp eax, edi
jb 0x4232a6
mov ebx, edi
xor edx, edx
test ebx, ebx
je 0x4232c7
lea esp, [esp]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov al, byte [edx + eax]
mov byte [edx + ecx], al
inc edx
cmp edx, ebx
jb 0x4232b0
mov edi, dword [esi + 8]
mov eax, dword [esi + 0x14]
sub dword [esi + 0x5c], ebx
sub edi, ebx
add dword [esi + 0x10], ebx
sub eax, ebx
add dword [esi + 4], ebx
add dword [esi + 0x18], ebx
mov dword [esi + 8], edi
mov edi, dword [ebp - 4]
add edi, ebx
mov dword [esi + 0x14], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], edi
jmp 0x42331d
mov edi, dword [esi + 0x18]
lea eax, [esi + 4]
push 2
push eax
call fcn.00420980
mov edx, dword [esi + 0x18]
mov ecx, edi
sub ecx, edx
mov ebx, eax
add dword [esi + 0x5c], ecx
sub edx, edi
mov edi, dword [ebp - 4]
add esp, 8
add edi, edx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
cmp ebx, 1
je 0x423342
test ebx, ebx
jne 0x423339
cmp dword [esi + 0x14], 0
jbe 0x423335
mov edx, dword [ebp + 8]
jmp 0x423234
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x423342
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xffffff9a
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4233b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ecx], esi
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
push esi
mov dword [eax], esi
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x78]
push eax
push dword [edi]
call fcn.00472db6
add esp, 0xc
test eax, eax
je 0x4233e6
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [edi]
lea eax, [ebp + 8]
push 1
push 4
push eax
call fcn.004729cb
add esp, 0x10
cmp eax, 1
je 0x423402
or esi, 0xffffffff
jmp 0x423410
cmp dword [ebp + 8], 0x4034b50
je 0x423410
mov esi, 0xffffff99
push dword [edi]
lea eax, [ebp + 8]
push 1
push 2
push eax
call fcn.004729cb
add esp, 0x10
cmp eax, 1
je 0x42342a
or esi, 0xffffffff
push ebx
push dword [edi]
lea eax, [ebp + 8]
push 1
push 2
push eax
call fcn.004729cb
add esp, 0x10
cmp eax, 1
je 0x423449
xor ebx, ebx
or esi, 0xffffffff
jmp 0x42344d
movsx ebx, word [ebp + 8]
push dword [edi]
lea eax, [ebp + 8]
push 1
push 2
push eax
call fcn.004729cb
add esp, 0x10
cmp eax, 1
jne 0x42348a
movsx ecx, word [ebp + 8]
test esi, esi
jne 0x42348d
mov eax, dword [edi + 0x34]
cmp ecx, eax
je 0x42347a
mov esi, 0xffffff99
jmp 0x42348d
test eax, eax
je 0x42348d
cmp eax, 8
je 0x42348d
mov esi, 0xffffff99
jmp 0x42348d
or esi, 0xffffffff
push dword [edi]
lea eax, [ebp + 8]
push 1
push 4
push eax
call fcn.004729cb
add esp, 0x10
cmp eax, 1
je 0x4234a7
or esi, 0xffffffff
push dword [edi]
lea eax, [ebp + 8]
push 1
push 4
push eax
call fcn.004729cb
add esp, 0x10
cmp eax, 1
je 0x4234c3
or esi, 0xffffffff
jmp 0x4234d9
test esi, esi
jne 0x4234d9
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x3c]
je 0x4234d9
test bl, 8
jne 0x4234d9
mov esi, 0xffffff99
push dword [edi]
lea eax, [ebp + 8]
push 1
push 4
push eax
call fcn.004729cb
add esp, 0x10
cmp eax, 1
je 0x4234f5
or esi, 0xffffffff
jmp 0x42350b
test esi, esi
jne 0x42350b
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x40]
je 0x42350b
test bl, 8
jne 0x42350b
mov esi, 0xffffff99
push dword [edi]
lea eax, [ebp + 8]
push 1
push 4
push eax
call fcn.004729cb
add esp, 0x10
cmp eax, 1
je 0x423527
or esi, 0xffffffff
jmp 0x42353d
test esi, esi
jne 0x42353d
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x44]
je 0x42353d
test bl, 8
jne 0x42353d
mov esi, 0xffffff99
push dword [edi]
lea eax, [ebp + 8]
push 1
push 2
push eax
call fcn.004729cb
add esp, 0x10
cmp eax, 1
je 0x42355b
xor ebx, ebx
or esi, 0xffffffff
jmp 0x42356d
movsx ebx, word [ebp + 8]
test esi, esi
jne 0x42356d
cmp ebx, dword [edi + 0x48]
je 0x42356d
mov esi, 0xffffff99
mov eax, dword [ebp + 0xc]
add dword [eax], ebx
lea eax, [ebp + 8]
push dword [edi]
push 1
push 2
push eax
call fcn.004729cb
add esp, 0x10
cmp eax, 1
je 0x423590
xor eax, eax
or esi, 0xffffffff
jmp 0x423594
movsx eax, word [ebp + 8]
mov ecx, dword [edi + 0x78]
mov edx, dword [ebp + 0x10]
add ecx, 0x1e
add ecx, ebx
pop ebx
pop edi
mov dword [edx], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
add dword [ecx], eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x434150
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4af890]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x434310
push ebx
mov ecx, dword [edi + 0x10]
test ecx, 0x200
je 0x434189
cmp dword [ebp + 0x10], 0
jne 0x434305
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4341ac
mov ebx, eax
push esi
push 1
push 1
push 0x498d58
call fcn.0047356b
add esp, 0x10
sub ebx, 1
jne 0x434192
mov ecx, dword [edi + 0x10]
mov eax, ecx
shl eax, 0x1c
sar eax, 0x1c
test eax, eax
jne 0x4341f5
mov eax, dword [edi + 8]
cmp byte [eax], 0
je 0x4341e1
push eax
lea ebx, [ebp - 0x424]
mov eax, ebx
push str.drop___s_
push eax
call fcn.0040eac0
add esp, 0xc
push esi
push 1
push eax
push ebx
jmp 0x4342fd
push esi
push 1
mov eax, 4
mov ebx, str.drop
push eax
push ebx
jmp 0x4342fd
mov edx, 0x498d38
cmp eax, 8
jae 0x434206
mov edx, dword [eax*4 + 0x4af248]
test cl, 0x10
je 0x43422f
cmp eax, 4
jne 0x434215
mov edx, 0x48b3d2
push dword [edi + 0xc]
lea eax, [ebp - 0x424]
push edx
push str.date__s__s_
push eax
call fcn.0040eac0
add esp, 0x10
jmp 0x434270
cmp eax, 2
jne 0x434239
mov edx, 0x48b3d2
mov ebx, dword [edi + 0xc]
test cl, 0x40
je 0x434257
mov eax, str._s__s__s_
test cl, cl
js 0x43424f
mov eax, str._s__s_s
push ebx
push edx
push dword [edi + 8]
push eax
jmp 0x434261
push ebx
push edx
push dword [edi + 8]
push str._s__s_i
lea eax, [ebp - 0x424]
push eax
call fcn.0040eac0
add esp, 0x14
push esi
push 1
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.0047356b
add esp, 0x10
cmp dword [edi + 4], 0
je 0x434305
push esi
push 1
push 3
push 0x498d90
call fcn.0047356b
mov ebx, dword [ebp + 0xc]
push esi
push dword [ebp + 0x10]
lea eax, [ebx + 1]
push eax
push dword [edi + 4]
call fcn.00434150
push esi
push 1
push 1
push 0x48bfb8
call fcn.0047356b
add esp, 0x30
test ebx, ebx
jle 0x4342dc
push esi
push 1
push 1
push 0x498d58
call fcn.0047356b
add esp, 0x10
sub ebx, 1
jne 0x4342c5
push esi
push 1
push 1
push 0x498d94
call fcn.0047356b
add esp, 0x10
cmp dword [edi], 0
je 0x434305
push esi
push 1
push 1
push 0x48bfb8
call fcn.0047356b
add esp, 0x10
mov edi, dword [edi]
test edi, edi
jne 0x434174
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046cfaf
mov esp, ebp
pop ebp
ret
Function at 0x434800
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4af890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [0x614e28]
mov edi, dword [ebp + 8]
call fcn.00434590
add esp, 4
mov dword [0x614e28], 0
mov dword [0x61535c], 0
mov dword [0x615360], 0
test edi, edi
je 0x4348ac
cmp byte [edi], 0
je 0x4348ac
push 0x48dc74
push edi
call fcn.0047796b
mov esi, eax
add esp, 8
test esi, esi
je 0x4348ac
push 2
push 0
push esi
call fcn.00472db6
push esi
call fcn.00473328
push 0
mov ebx, eax
push 0
push esi
mov dword [ebp - 0x2c], ebx
call fcn.00472db6
lea ecx, [ebx + 1]
push ecx
call fcn.0040e6f0
push esi
push 1
push dword [ebp - 0x2c]
mov ebx, eax
push ebx
call fcn.004729cb
add esp, 0x30
cmp eax, 1
je 0x4348bf
push ebx
call fcn.0040e5c0
push esi
call fcn.00472598
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046cfaf
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2c]
push esi
mov byte [ebx + eax], 0
call fcn.00472598
push edi
call fcn.0041e990
push 1
push 0x614e28
push 0
push ebx
call fcn.00434960
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4348fe
push dword [0x614e28]
call fcn.00434590
add esp, 4
mov dword [0x614e28], esi
push ebx
call fcn.0040e5c0
add esp, 4
test esi, esi
je 0x4348ac
lea eax, [ebp - 0x28]
push eax
call fcn.0040cf40
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x20]
inc eax
push dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x76c
push eax
push str._04i__02i__02i__02i:_02i
push 0x615218
call fcn.0040eac0
add esp, 0x20
call fcn.0043e010
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [0x614e2c], eax
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0046cfaf
mov esp, ebp
pop ebp
ret

Function at 0x435180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4af890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebx]
cmp ecx, 0x2bc
ja 0x437a43
movzx eax, byte [ecx + 0x437d84]
jmp dword [eax*4 + 0x437a68]
push ecx
push str.Bad_game_system_trap:__ld
push 1
call fcn.0040aa80
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046cfaf
mov esp, ebp
pop ebp
ret
Function at 0x43e120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
xor esi, esi
mov dword [ebp - 4], 0x100
cmp byte [0x6c7a38], 0
push edi
jne 0x43e22c
lea eax, [ebp - 8]
push eax
push 0x201
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallSteam_App_2200
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43e18c
lea eax, [ebp - 4]
push eax
push 0x6c7a38
push esi
push esi
push str.InstallLocation
push dword [ebp - 8]
call edi
push dword [ebp - 8]
neg eax
sbb al, al
not al
and byte [0x6c7a38], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [0x6c7a38], 0
jne 0x43e222
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareValveSteam
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43e219
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
push 0x6c7a38
push 0
push 0
push str.SteamPath
push dword [ebp - 8]
call edi
test eax, eax
je 0x43e202
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
push 0x6c7a38
push 0
push 0
push str.InstallPath
push dword [ebp - 8]
call edi
test eax, eax
je 0x43e202
mov byte [0x6c7a38], 0
jmp 0x43e210
cmp byte [0x6c7a38], 0
je 0x43e210
mov esi, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [0x6c7a38], 0
je 0x43e256
mov eax, dword [ebp - 4]
cmp eax, 0x100
jne 0x43e234
mov eax, 0xff
mov dword [ebp - 4], eax
mov byte [eax + 0x6c7a38], 0
test esi, esi
je 0x43e256
push str.SteamAppscommonQuake_3_Arena
push 0x100
push 0x6c7a38
call fcn.0041fe00
add esp, 0xc
pop edi
mov eax, 0x6c7a38
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43f9c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x6c7d50]
test eax, eax
je 0x43f9f4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x6c7d50]
call dword [sym.imp.USER32.dll_CloseWindow]
push dword [0x6c7d50]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x6c7d50], 0
ret

Function at 0x43fba0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x6c8180], eax
cmp ecx, dword [0x6c817c]
je 0x43fc43
mov edx, dword [0x6c7d50]
mov dword [0x6c817c], ecx
test edx, edx
je 0x43fc43
mov eax, ecx
sub eax, 0
je 0x43fc3a
sub eax, 1
je 0x43fbf6
sub eax, 1
je 0x43fbeb
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], str.Invalid_visLevel__d_sent_to_Sys_ShowConsole_n
pop ebp
jmp fcn.0043d580
push 6
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x6c7d54]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push eax
push eax
push 0xb1
push dword [0x6c7d54]
mov dword [0x6c819c], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb7
push dword [0x6c7d54]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret

Function at 0x447940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
lea esi, [eax + eax*2]
mov eax, dword [0x7b13ac]
shl esi, 4
add esi, dword [0x7b13b4]
mov ecx, dword [esi + 8]
lea ebx, [eax + ecx*4]
mov ecx, dword [0x7b13a4]
mov eax, dword [ebx]
cdq
xor eax, edx
sub eax, edx
lea eax, [eax + eax*2]
mov ecx, dword [ecx + eax*8 + 0xc]
mov eax, dword [0x7b139c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x7b1394]
cdq
xor eax, edx
sub eax, edx
mov eax, dword [ecx + eax*8]
lea ecx, [eax + eax*2]
mov eax, dword [0x7b1384]
fld dword [eax + ecx*4]
fstp dword [ebp - 0x10]
fld dword [eax + ecx*4 + 4]
fstp dword [ebp - 0xc]
fld dword [eax + ecx*4 + 8]
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
fstp dword [ebp - 0x14]
fldz
fstp dword [ebp - 4]
test eax, eax
jle 0x447a20
push edi
mov edi, dword [0x7b138c]
mov edi, edi
mov eax, dword [ebx]
mov ecx, dword [0x7b13a4]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp + 8]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*8]
xor eax, eax
cmp dword [ecx + 0x14], edx
push ecx
setne al
xor eax, dword [ecx]
lea esi, [eax + eax*4]
call fcn.00449100
fld dword [edi + esi*4 + 4]
lea ebx, [ebx + 4]
fmul dword [ebp - 0xc]
add esp, 4
sub dword [ebp - 8], 1
fld dword [edi + esi*4]
fmul dword [ebp - 0x10]
faddp st(1)
fld dword [edi + esi*4 + 8]
fmul dword [ebp - 0x14]
faddp st(1)
fsub dword [edi + esi*4 + 0xc]
fchs
fstp dword [ebp - 0x18]
fmul dword [ebp - 0x18]
fadd dword [ebp - 4]
fstp dword [ebp - 4]
jne 0x4479c0
pop edi
fld dword [ebp - 4]
fdiv qword [0x49bf68]
pop esi
pop ebx
fstp dword [ebp + 8]
fld dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x449100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x7b139c]
push ebx
push esi
mov esi, dword [ebp + 8]
fldz
push edi
mov edi, dword [0x7b1384]
mov ebx, dword [esi + 0xc]
fstp dword [ebp + 8]
mov ecx, dword [eax + ebx*4]
mov eax, ecx
cdq
xor eax, edx
shr ecx, 0x1f
sub eax, edx
lea eax, [ecx + eax*2]
mov ecx, dword [0x7b1394]
mov eax, dword [ecx + eax*4]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
dec eax
cmp eax, 1
jle 0x449268
fld dword [edi + ecx*4]
fstp dword [ebp - 0x10]
fld dword [edi + ecx*4 + 4]
fstp dword [ebp - 0xc]
fld dword [edi + ecx*4 + 8]
mov ecx, dword [0x7b139c]
fstp dword [ebp - 8]
fld dword [ebp - 8]
add ecx, 4
fld dword [ebp - 0xc]
dec eax
fld dword [ebp - 0x10]
mov dword [ebp - 4], eax
lea ebx, [ecx + ebx*4]
mov eax, dword [ebx]
mov esi, eax
mov ecx, dword [0x7b1394]
cdq
xor eax, edx
shr esi, 0x1f
sub eax, edx
lea ecx, [ecx + eax*8]
mov eax, dword [ecx + esi*4]
xor esi, 1
lea edx, [eax + eax*2]
mov eax, dword [ecx + esi*4]
lea eax, [eax + eax*2]
fld dword [edi + eax*4 + 8]
fsub st(3)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fld dword [edi + edx*4 + 4]
fsub st(3)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld dword [edi + eax*4 + 4]
fsubrp st(3)
fxch st(2)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fld dword [edi + edx*4 + 8]
fsubrp st(4)
fxch st(3)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fld dword [edi + eax*4]
fsub st(2)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fld dword [edi + edx*4]
fsubrp st(3)
fxch st(2)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fld st(2)
fmul st(2)
fld st(1)
fmul st(5)
fsubp st(1)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fld qword [ebp - 0x1c]
fld st(0)
fmulp st(6)
fxch st(3)
fmul st(6)
fsubp st(5)
fxch st(4)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fxch st(1)
fmulp st(5)
fxch st(2)
fmulp st(1)
fsubp st(3)
fxch st(2)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fxch st(2)
fmul st(0), st(0)
fxch st(1)
fmul st(0), st(0)
faddp st(1)
fxch st(1)
fmul st(0), st(0)
faddp st(1)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
call fcn.0046fc00
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fmul qword [0x48bab8]
fadd dword [ebp + 8]
fstp dword [ebp + 8]
sub dword [ebp - 4], 1
lea ebx, [ebx + 4]
fld dword [ebp - 8]
fld dword [ebp - 0xc]
fld dword [ebp - 0x10]
jne 0x449175
fstp st(2)
fstp st(0)
fstp st(0)
fld dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret