joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463830
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x59d888]
mov ecx, dword [0x59b038]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x46387c
push dword [0x599b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x4638c1
mov ecx, dword [0x59d880]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x59d884]
jne 0x4638c1
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x4638c1
pop ebp
ret
push 0x59d888
call fcn.00528497
add esp, 4
cmp dword [0x59d888], 0xffffffff
jne 0x463850
mov dword [0x59d884], 0
mov dword [0x59d880], 0xffffffff
mov ecx, 0x59d880
push 0
call fcn.004624b0
push 0x59d888
call fcn.0052850d
add esp, 4
jmp 0x463850
int3

Function at 0x4638d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x4638f5
mov ecx, 1
lock xadd dword [eax + 4], ecx
cmp ecx, 0x7fffffff
je 0x46399f
lea ecx, [esi + 4]
push eax
call fcn.00463df0
mov eax, dword [0x59d888]
mov ecx, dword [0x59b038]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x463957
push dword [0x599b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x46394c
mov ecx, dword [0x59d880]
mov dword [eax + ecx*8], esi
mov ecx, dword [0x59d884]
mov edx, dword [0x59d880]
mov dword [eax + edx*8 + 4], ecx
mov eax, esi
pop esi
pop ebp
ret 4
test esi, esi
je 0x463945
call fcn.004625e0
jmp 0x46392c
push 0x59d888
call fcn.00528497
add esp, 4
cmp dword [0x59d888], 0xffffffff
jne 0x46391b
mov dword [0x59d884], 0
mov dword [0x59d880], 0xffffffff
mov ecx, 0x59d880
push 0
call fcn.004624b0
push 0x59d888
call fcn.0052850d
add esp, 4
jmp 0x46391b
int3

Function at 0x4639b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
mov eax, dword [0x59d888]
mov ecx, dword [0x59b038]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x463a2d
push dword [0x599b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x463a02
mov ecx, dword [0x59d880]
mov dword [eax + ecx*8], 0
mov ecx, dword [0x59d884]
mov edx, dword [0x59d880]
mov dword [eax + edx*8 + 4], ecx
lea ecx, [esi + 4]
call fcn.00463ea0
mov esi, dword [esi]
test esi, esi
je 0x463a29
lock dec dword [esi + 4]
jne 0x463a29
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 1
call edi
pop esi
pop edi
pop ebp
ret
push 0x59d888
call fcn.00528497
add esp, 4
cmp dword [0x59d888], 0xffffffff
jne 0x4639d4
mov dword [0x59d884], 0
mov dword [0x59d880], 0xffffffff
mov ecx, 0x59d880
push 0
call fcn.004624b0
push 0x59d888
call fcn.0052850d
add esp, 4
jmp 0x4639d4
Function at 0x463d50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x59d898]
mov ecx, dword [0x59b038]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x463d9c
push dword [0x599b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x463de1
mov ecx, dword [0x59d890]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x59d894]
jne 0x463de1
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x463de1
pop ebp
ret
push 0x59d898
call fcn.00528497
add esp, 4
cmp dword [0x59d898], 0xffffffff
jne 0x463d70
mov dword [0x59d894], 0
mov dword [0x59d890], 0xffffffff
mov ecx, 0x59d890
push 0
call fcn.004624b0
push 0x59d898
call fcn.0052850d
add esp, 4
jmp 0x463d70
int3

Function at 0x463df0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [0x59d898]
mov ecx, dword [0x59b038]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x463e54
push dword [0x599b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x463e49
mov ecx, dword [0x59d890]
mov dword [eax + ecx*8], esi
mov ecx, dword [0x59d894]
mov edx, dword [0x59d890]
mov dword [eax + edx*8 + 4], ecx
mov eax, esi
pop esi
pop ebp
ret 4
test esi, esi
je 0x463e42
call fcn.004625e0
jmp 0x463e29
push 0x59d898
call fcn.00528497
add esp, 4
cmp dword [0x59d898], 0xffffffff
jne 0x463e18
mov dword [0x59d894], 0
mov dword [0x59d890], 0xffffffff
mov ecx, 0x59d890
push 0
call fcn.004624b0
push 0x59d898
call fcn.0052850d
add esp, 4
jmp 0x463e18

Function at 0x463ea0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
mov eax, dword [0x59d898]
mov ecx, dword [0x59b038]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x463f15
push dword [0x599b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x463ef2
mov ecx, dword [0x59d890]
mov dword [eax + ecx*8], 0
mov ecx, dword [0x59d894]
mov edx, dword [0x59d890]
mov dword [eax + edx*8 + 4], ecx
mov esi, dword [esi]
test esi, esi
je 0x463f11
lock dec dword [esi + 4]
jne 0x463f11
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 1
call edi
pop esi
pop edi
pop ebp
ret
push 0x59d898
call fcn.00528497
add esp, 4
cmp dword [0x59d898], 0xffffffff
jne 0x463ec4
mov dword [0x59d894], 0
mov dword [0x59d890], 0xffffffff
mov ecx, 0x59d890
push 0
call fcn.004624b0
push 0x59d898
call fcn.0052850d
add esp, 4
jmp 0x463ec4
Function at 0x464070
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x5aab98]
mov ecx, dword [0x59b038]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4640f2
mov esi, dword [ebp + 8]
push dword [0x599b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edi, edi
and eax, 0xfffffffc
je 0x4640bd
mov ecx, dword [0x5aab90]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x5aab94]
jne 0x4640bd
mov edi, dword [eax + ecx*8]
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x59f9d0]
bt ecx, eax
jae 0x4640de
push edi
call fcn.0042f0b8
add esp, 4
jmp 0x4640ea
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x5a79d0], 1
mov dword [esi], edi
mov eax, esi
pop esi
pop edi
pop ebp
ret
push 0x5aab98
call fcn.00528497
add esp, 4
cmp dword [0x5aab98], 0xffffffff
jne 0x464092
mov dword [0x5aab94], 0
mov dword [0x5aab90], 0xffffffff
mov ecx, 0x5aab90
push 0
call fcn.004624b0
push 0x5aab98
call fcn.0052850d
add esp, 4
jmp 0x464092

Function at 0x468f10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov dword [ecx], 0x57ae30
cmp byte [ecx + 0x2c], 0
je 0x468f6d
mov eax, dword [0x59d8d0]
mov ecx, dword [0x59b038]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x468f8b
push dword [0x599b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x468f6d
mov ecx, dword [0x59d8c8]
mov dword [eax + ecx*8], 0
mov ecx, dword [0x59d8cc]
mov edx, dword [0x59d8c8]
mov dword [eax + edx*8 + 4], ecx
lea ecx, [esi + 0x10]
call fcn.00468fe0
mov eax, dword [esi + 4]
test eax, eax
je 0x468f88
mov dword [esi + 8], eax
push eax
call fcn.00528424
add esp, 4
pop esi
pop ebp
ret
push 0x59d8d0
call fcn.00528497
add esp, 4
cmp dword [0x59d8d0], 0xffffffff
jne 0x468f3f
mov dword [0x59d8cc], 0
mov dword [0x59d8c8], 0xffffffff
mov ecx, 0x59d8c8
push 0
call fcn.004624b0
push 0x59d8d0
call fcn.0052850d
add esp, 4
jmp 0x468f3f
Function at 0x469140
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x59d8d0]
mov ecx, dword [0x59b038]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x469200
mov edi, dword [ebp + 8]
push dword [0x599b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ecx, ecx
and eax, 0xfffffffc
je 0x469194
mov edx, dword [0x59d8c8]
mov ebx, dword [eax + edx*8 + 4]
cmp ebx, dword [0x59d8cc]
jne 0x469194
mov ecx, dword [eax + edx*8]
mov dword [esi], ecx
mov dword [esi + 4], edi
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
call fcn.00463830
mov eax, dword [eax]
mov dword [esi + 0x10], eax
test eax, eax
je 0x4691c8
mov ecx, 1
lock xadd dword [eax + 4], ecx
cmp ecx, 0x7fffffff
je 0x46924c
push 8
call fcn.005283f4
add esp, 4
mov dword [eax], 0
mov byte [eax + 4], 0
mov dword [esi + 0x14], eax
test eax, eax
je 0x4691f4
mov ecx, 1
lock xadd dword [eax], ecx
cmp ecx, 0x7fffffff
je 0x46924f
mov dword [esi + 0x18], esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x59d8d0
call fcn.00528497
add esp, 4
cmp dword [0x59d8d0], 0xffffffff
jne 0x469169
mov dword [0x59d8cc], 0
mov dword [0x59d8c8], 0xffffffff
mov ecx, 0x59d8c8
push 0
call fcn.004624b0
push 0x59d8d0
call fcn.0052850d
add esp, 4
jmp 0x469169
int3
int3
Function at 0x46a310
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x59d8d0]
mov ecx, dword [0x59b038]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x46a36c
push dword [0x599b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x46a368
mov ecx, dword [0x59d8c8]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x59d8cc]
jne 0x46a368
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x46a368
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
cmp ecx, 5
setae al
pop ebp
ret
xor eax, eax
pop ebp
ret
push 0x59d8d0
call fcn.00528497
add esp, 4
cmp dword [0x59d8d0], 0xffffffff
jne 0x46a330
mov dword [0x59d8cc], 0
mov dword [0x59d8c8], 0xffffffff
mov ecx, 0x59d8c8
push 0
call fcn.004624b0
push 0x59d8d0
call fcn.0052850d
add esp, 4
jmp 0x46a330

Function at 0x46a3c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x59d8d0]
mov ecx, dword [0x59b038]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x46a41a
mov esi, dword [ebp + 8]
push dword [0x599b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ecx, ecx
and eax, 0xfffffffc
je 0x46a40d
mov edx, dword [0x59d8c8]
mov edi, dword [eax + edx*8 + 4]
cmp edi, dword [0x59d8cc]
jne 0x46a40d
mov ecx, dword [eax + edx*8]
add ecx, 0x10
push esi
call fcn.0046a460
pop esi
pop edi
pop ebp
ret
push 0x59d8d0
call fcn.00528497
add esp, 4
cmp dword [0x59d8d0], 0xffffffff
jne 0x46a3e2
mov dword [0x59d8cc], 0
mov dword [0x59d8c8], 0xffffffff
mov ecx, 0x59d8c8
push 0
call fcn.004624b0
push 0x59d8d0
call fcn.0052850d
add esp, 4
jmp 0x46a3e2

Function at 0x46a550
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x59d8d0]
mov ecx, dword [0x59b038]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x46a5aa
mov esi, dword [ebp + 8]
push dword [0x599b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ecx, ecx
and eax, 0xfffffffc
je 0x46a59d
mov edx, dword [0x59d8c8]
mov edi, dword [eax + edx*8 + 4]
cmp edi, dword [0x59d8cc]
jne 0x46a59d
mov ecx, dword [eax + edx*8]
add ecx, 0x10
push esi
call fcn.0046a5f0
pop esi
pop edi
pop ebp
ret
push 0x59d8d0
call fcn.00528497
add esp, 4
cmp dword [0x59d8d0], 0xffffffff
jne 0x46a572
mov dword [0x59d8cc], 0
mov dword [0x59d8c8], 0xffffffff
mov ecx, 0x59d8c8
push 0
call fcn.004624b0
push 0x59d8d0
call fcn.0052850d
add esp, 4
jmp 0x46a572
Function at 0x46a9e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov edx, dword [ebp + 8]
mov eax, edx
sar eax, 0x1f
mov esi, dword [ebp + 0xc]
mov edi, esi
sar edi, 0x1f
mov ecx, dword [0x597010]
xor ecx, ebp
sub esi, edx
sbb edi, eax
mov dword [esp + 0x10], ecx
add esi, 1
adc edi, 0
mov dword [esp], edi
push edi
mov dword [esp + 8], esi
push esi
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00548090
mov edi, 0xfffffffe
sub edi, eax
mov esi, 0xffffffff
sbb esi, edx
lea ebx, [esp + 8]
nop word cs:[eax + eax]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0xffffffff
push 8
push ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x46aa94
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
cmp edi, eax
mov edx, esi
sbb edx, ecx
jb 0x46aa40
push dword [esp]
push dword [esp + 8]
push ecx
push eax
call fcn.00548090
mov esi, eax
add esi, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
xor ecx, ebp
call fcn.00528e13
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x46e330
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, dword [ebp + 0x10]
mov eax, dword [0x597010]
xor eax, ebp
mov dword [esp + 0x38], eax
cvtsi2sd xmm0, dword [ebp + 0xc]
movsd qword [esp], xmm0
call fcn.00541380
fstp qword [esp + 0x28]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
cmp ecx, 4
jbe 0x46e514
mov ebx, dword [ebp + 8]
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 0x10], xmm0
mov dword [eax + 4], ebx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov edi, eax
sub edi, ecx
sar edi, 2
lea edx, [edi - 1]
cmp edx, 3
jb 0x46e467
mov eax, edi
neg eax
mov dword [esp + 0xc], eax
add edi, 0xfffffffd
mov esi, 2
nop word [eax + eax]
xorps xmm0, xmm0
cvtsi2sd xmm0, ebx
movsd qword [esp], xmm0
call fcn.00541380
fstp qword [esp + 0x30]
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.0042a7c0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x10]
subsd xmm1, xmm0
mov dword [esp + 8], edi
movd xmm2, edi
por xmm2, xmmword [0x57cfa0]
subsd xmm2, qword [0x57cf98]
divsd xmm1, xmm2
addsd xmm1, xmm0
movsd qword [esp], xmm1
call fcn.0053ffb0
fstp qword [esp + 0x20]
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov eax, dword [eax + 4]
sub eax, edi
sar eax, 2
cmp eax, esi
jbe 0x46e511
movsd xmm0, qword [esp + 0x20]
movsd qword [esp], xmm0
call fcn.00551753
fstp qword [esp + 0x18]
cvttsd2si eax, qword [esp + 0x18]
cmp ebx, eax
lea ebx, [ebx + 1]
cmovl ebx, eax
mov dword [edi + esi*4], ebx
mov eax, dword [esp + 0xc]
add eax, esi
inc eax
inc esi
mov edi, dword [esp + 8]
dec edi
cmp eax, 0xffffffff
jne 0x46e3b0
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp eax, ecx
je 0x46e517
mov dword [eax - 4], 0x7fffffff
mov ecx, dword [esi]
mov esi, dword [esi + 4]
mov edx, esi
sub edx, ecx
je 0x46e496
mov eax, edx
sar eax, 2
mov edi, ecx
not edi
add edi, esi
mov dword [esp + 8], edx
jne 0x46e49a
xor esi, esi
jmp 0x46e4de
xor eax, eax
jmp 0x46e4f8
mov ebx, edx
and ebx, 0xfffffffe
xor esi, esi
nop word cs:[eax + eax]
movzx edi, al
movzx edx, byte [ecx + esi]
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x5831e4]
movzx edx, al
movzx edi, byte [ecx + esi + 1]
xor edi, edx
shr eax, 8
xor eax, dword [edi*4 + 0x5831e4]
add esi, 2
cmp ebx, esi
jne 0x46e4b0
test byte [esp + 8], 1
je 0x46e4f8
movzx edx, al
movzx ecx, byte [ecx + esi]
xor ecx, edx
shr eax, 8
xor eax, dword [ecx*4 + 0x5831e4]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.00528e13
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3
int3
Function at 0x46f6f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov esi, ebx
sub esi, edx
sar esi, 2
lea edi, [esi - 1]
cmp edi, 2
jb 0x46f7a3
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, dword [ebp - 0x10]
add esi, 0xfffffffd
movd xmm2, esi
por xmm2, xmmword [0x57cfa0]
subsd xmm2, qword [0x57cf98]
mov ecx, 1
movq xmm3, qword [0x57cf98]
movsd xmm4, qword [0x56b208]
mov ebx, dword [ebp + 8]
nop dword [eax]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, edx
sar eax, 2
cmp eax, ecx
jbe 0x46f835
movd xmm5, esi
por xmm5, xmm3
subsd xmm5, xmm3
mulsd xmm5, xmm0
lea eax, [ecx - 1]
movd xmm6, eax
por xmm6, xmm3
subsd xmm6, xmm3
mulsd xmm6, xmm1
addsd xmm6, xmm5
divsd xmm6, xmm2
addsd xmm6, xmm4
cvttsd2si eax, xmm6
mov dword [edx + ecx*4], eax
dec esi
inc ecx
cmp ecx, edi
jne 0x46f750
mov edx, dword [ebx]
mov ebx, dword [ebx + 4]
cmp ebx, edx
je 0x46f838
mov dword [ebx - 4], 0x7fffffff
mov edi, dword [ebp + 8]
mov edx, dword [edi]
mov esi, dword [edi + 4]
mov ebx, esi
sub ebx, edx
je 0x46f7d4
mov ecx, ebx
sar ecx, 2
mov edi, edx
not edi
add edi, esi
mov dword [ebp - 0x10], ebx
jne 0x46f7d8
xor esi, esi
jmp 0x46f80e
xor ecx, ecx
jmp 0x46f82a
and ebx, 0xfffffffe
xor esi, esi
nop dword [eax]
movzx edi, cl
movzx eax, byte [edx + esi]
xor eax, edi
shr ecx, 8
xor ecx, dword [eax*4 + 0x5831e4]
movzx eax, cl
movzx edi, byte [edx + esi + 1]
xor edi, eax
shr ecx, 8
xor ecx, dword [edi*4 + 0x5831e4]
add esi, 2
cmp ebx, esi
jne 0x46f7e0
test byte [ebp - 0x10], 1
mov edi, dword [ebp + 8]
je 0x46f82a
movzx eax, cl
movzx edx, byte [edx + esi]
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x5831e4]
mov dword [edi + 0xc], ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3
Function at 0x4775b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jb 0x4775d1
call fcn.004733d0
mov dword [esi], 0
test edi, edi
je 0x4775f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x477624
cmp ebx, 2
jae 0x477644
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 4]
mov edi, dword [ebp + 8]
lea eax, [edi + 4]
push eax
call fcn.00458e00
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
movzx eax, byte [edi + 0x18]
mov byte [esi + 0x18], al
movzx eax, byte [edi + 0x19]
mov byte [esi + 0x19], al
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.004733d0
push dword [esi]
call fcn.00456a60
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x4775ee
mov dword [esi], edi
mov edi, eax
call fcn.004733d0
mov eax, edi
jmp 0x4775ee

Function at 0x4776a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0045d210
mov edi, dword [ebx]
mov dword [ebx], 0
lea ebx, [edi + 1]
cmp ebx, 2
jae 0x4776c7
cmp dword [esi], edi
jne 0x4776d0
jmp 0x4776ea
call fcn.004733d0
cmp dword [esi], edi
je 0x4776ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x477719
cmp ebx, 2
jae 0x477739
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
call fcn.0045fc30
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
movzx eax, byte [edi + 0x18]
mov byte [esi + 0x18], al
movzx eax, byte [edi + 0x19]
mov byte [esi + 0x19], al
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.004733d0
push dword [esi]
call fcn.00456a60
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x4776e3
mov dword [esi], edi
mov edi, eax
call fcn.004733d0
mov eax, edi
jmp 0x4776e3
Function at 0x47d01f
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x597010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 6
push str.Chrome
call fcn.0044e4aa
mov ecx, edi
push 0xd
push str.0.0.0.0_devel
call fcn.0044e4aa
cmp byte [esi + 0xb], 0
js 0x47d069
mov word [esi], 0
mov byte [esi + 0xb], 0
jmp 0x47d077
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], 0
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x47d088
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x47d1e5
mov esi, eax
push eax
call fcn.00528453
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x14]
cmp byte [ebx + 0xb], 0
jns 0x47d0b2
mov ebx, dword [ebx]
push edi
push esi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x47d1d8
lea esi, [ebp - 0x20]
mov ecx, esi
push 0x5825f6
call fcn.0042d4b2
mov ecx, edi
mov edx, esi
push dword [ebp + 0x10]
call fcn.0047d247
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x47d0f2
push dword [ebp - 0x20]
call fcn.00528424
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
lea ebx, [ebp - 0x2c]
mov ecx, ebx
push 0x582614
call fcn.0042d4b2
mov ecx, edi
mov edx, ebx
push esi
call fcn.0047d247
add esp, 4
cmp byte [ebx + 0xb], 0
jns 0x47d12a
push dword [ebp - 0x2c]
call fcn.00528424
add esp, 4
movzx eax, byte [ebp - 0x15]
test al, al
js 0x47d139
test eax, eax
sete cl
jmp 0x47d14e
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
test eax, eax
sete cl
je 0x47d14e
test esi, esi
je 0x47d244
cmp eax, 1
jne 0x47d15d
test cl, cl
jne 0x47d16c
cmp word [esi], 0x31
je 0x47d16c
mov ecx, dword [ebp + 0x10]
push 6
push str._devel
call fcn.0044e692
lea esi, [ebp - 0x2c]
mov ecx, esi
push 0x582640
call fcn.0042d4b2
mov ecx, edi
mov edx, esi
push dword [ebp + 0xc]
call fcn.0047d247
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x47d19b
push dword [ebp - 0x2c]
call fcn.00528424
add esp, 4
mov ecx, esi
push str.SpecialBuild
call fcn.0042d4b2
mov ecx, edi
mov edx, esi
push dword [ebp + 0x14]
call fcn.0047d247
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x47d1c7
push dword [ebp - 0x2c]
call fcn.00528424
add esp, 4
cmp byte [ebp - 0x15], 0
jns 0x47d1d8
push dword [ebp - 0x20]
call fcn.00528424
add esp, 4
test edi, edi
je 0x47d1e5
push edi
call fcn.0052845c
add esp, 4
mov esi, dword [ebp + 0x18]
mov eax, dword [0x59d968]
mov eax, dword [eax + 4]
cmp byte [eax + 0x25], 0
je 0x47d205
lea ecx, [ebp - 0x20]
push str.extended
call fcn.0042d4b2
jmp 0x47d213
lea ecx, [ebp - 0x20]
push dword [eax + 0x10]
push dword [eax + 0xc]
call fcn.00430c7c
cmp byte [esi + 0xb], 0
jns 0x47d223
push dword [esi]
call fcn.00528424
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x20]
movsd qword [esi], xmm0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00528e13
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x47d247
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov edi, edx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x597010]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
js 0x47d275
mov word [ecx], 0
mov byte [ecx + 0xb], 0
jmp 0x47d283
mov eax, dword [ecx]
mov word [eax], 0
mov dword [ecx + 4], 0
test esi, esi
je 0x47d399
xor ecx, ecx
lea edx, [ebp - 0x228]
mov dword [edx], ecx
lea eax, [ebp - 0x20]
mov dword [eax], ecx
push eax
push edx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x47d399
mov dword [ebp - 0x234], esi
mov eax, dword [ebp - 0x228]
movzx esi, word [eax]
movzx ebx, word [eax + 2]
mov word [ebp - 0x20], si
mov word [ebp - 0x1e], bx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], bx
mov word [ebp - 0x18], si
mov si, 0x4e4
mov word [ebp - 0x16], si
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], si
mov ebx, 0xfffffffe
push 0x208
push 0xff
lea eax, [ebp - 0x228]
push eax
call fcn.0052c210
add esp, 0xc
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x47d31a
mov eax, dword [edi]
movzx ecx, word [ebp + ebx*2 - 0x1c]
movzx edx, word [ebp + ebx*2 - 0x1a]
push eax
push edx
push ecx
push str.StringFileInfo_04hx_04hx_ls
mov eax, 0x104
push eax
push eax
lea esi, [ebp - 0x228]
push esi
call fcn.0045fd10
add esp, 0x1c
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
push dword [ebp - 0x234]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x47d378
mov esi, dword [ebp - 0x22c]
test esi, esi
jne 0x47d386
add ebx, 2
cmp ebx, 5
jbe 0x47d2f7
jmp 0x47d399
push esi
call fcn.00542c14
add esp, 4
mov ecx, dword [ebp + 8]
push eax
push esi
call fcn.0044e4aa
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00528e13
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret