joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423660
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x492070]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
sub esp, 8
cmp dword [eax + 0x14], 0x10
mov edx, esp
jb 0x423684
mov ecx, dword [eax]
jmp 0x423686
mov ecx, eax
mov dword [edx], ecx
lea ecx, [ebp - 0x38]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
call fcn.0041ab60
mov esi, eax
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x4236a3
mov esi, dword [esi]
push dword [ebp + 0x10]
lea ecx, [ebp - 0x20]
push dword [ebp + 0xc]
call fcn.0041ab60
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x4236bc
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
mov eax, dword [ebp - 0xc]
setne bl
cmp eax, 8
jb 0x4236de
inc eax
lea ecx, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
call fcn.00419e70
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], ax
cmp ecx, 8
jb 0x423707
inc ecx
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call fcn.00419e70
mov ecx, dword [ebp - 8]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0044e44e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x427ed0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x427f32
cmp dword [0x494254], 3
jg 0x427f24
push 3
push 0x23
push str.c:_buildbot_slaveworkdir_reposlar6chromium_src_base_threading_thread_local_win.cc
lea ecx, [esp + 0x14]
call fcn.00421080
add eax, 8
push str.Failed_to_TlsSetValue__.
push eax
call fcn.0041a090
add esp, 8
mov ebx, 1
test bl, 1
je 0x427f32
lea ecx, [esp + 8]
call fcn.00421140
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42cde0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], 0
lea ecx, [esi + 4]
mov dword [esi], 0x48c9a0
call fcn.00432fa0
mov al, byte [ebp + 8]
mov byte [esi + 0x100], al
mov dword [esi + 0x104], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 0x104], eax
cmp eax, 0xffffffff
jne 0x42ce2e
cmp byte [0x495164], 0
jne 0x42ce7e
int3
mov eax, dword [0x4950f4]
test eax, 0xfffffffe
jne 0x42ce5f
push 0x4950f4
call fcn.00423810
add esp, 4
test al, al
je 0x42ce5f
mov dword [0x4950f8], 0
mov dword [0x4950f4], 0x4950f8
mov eax, dword [0x4950f4]
lea ecx, [esi + 0x10c]
mov dword [esi + 0x108], eax
call fcn.0042d4f0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
call fcn.00458221
int3

Function at 0x42e3f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x492070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0xffffffffffffffff
lea ecx, [esi + 4]
push 0
mov dword [esi], 0x48c3c4
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edi
mov byte [ecx], 0
call fcn.00419520
mov dword [esi + 0x1c], 0
mov dword [esi], 0x48c9b8
mov dword [esi + 0x20], 0
push 0x30
mov byte [esi + 0x24], 0
call fcn.0044e416
add esp, 4
mov ebx, eax
cmp dword [edi + 0x14], 0x10
jb 0x42e45a
mov ecx, dword [edi]
jmp 0x42e45c
mov ecx, edi
mov eax, dword [edi + 0x10]
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x68], eax
call fcn.00435960
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x74]
call fcn.00435a80
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
bswap eax
bswap ecx
push eax
push ecx
mov ecx, ebx
call fcn.00434090
push 0x30
mov dword [esi + 0x28], eax
call fcn.0044e416
mov edx, eax
add esp, 4
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 0x20]
push dword [ecx + 4]
push dword [ecx]
mov ecx, edx
call fcn.00434090
mov ecx, dword [ebp - 8]
mov dword [esi + 0x2c], eax
xor ecx, ebp
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.0044e44e
mov esp, ebp
pop ebp
ret 4
Function at 0x42e500
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x492070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [ebp - 0x68], eax
push 0xffffffffffffffff
lea ecx, [edi + 4]
push 0
mov dword [edi], 0x48c3c4
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push ebx
mov byte [ecx], 0
call fcn.00419520
mov dword [edi + 0x1c], 0
mov dword [edi], 0x48c9b8
mov dword [edi + 0x20], 0
push 0x38
mov byte [edi + 0x24], 0
call fcn.0044e416
add esp, 4
mov dword [ebp - 0x64], eax
cmp dword [ebx + 0x14], 0x10
push esi
push dword [ebp + 8]
jb 0x42e578
mov ecx, dword [ebx]
jmp 0x42e57a
mov ecx, ebx
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x70]
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x6c], eax
call fcn.00435960
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.00435a80
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
bswap eax
bswap ecx
push eax
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.004330e0
push 0x38
mov dword [edi + 0x28], eax
call fcn.0044e416
mov esi, eax
add esp, 4
mov eax, dword [edi + 0x28]
push dword [ebp - 0x68]
mov eax, dword [eax + 0x20]
push dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
add edx, 1
adc ecx, 0
push ecx
push edx
mov ecx, esi
call fcn.004330e0
mov ecx, dword [ebp - 4]
mov dword [edi + 0x2c], eax
xor ecx, ebp
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.0044e44e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42fce0
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x49515c]
push esi
push edi
mov edi, ecx
test eax, 0xfffffffe
jne 0x42fd11
push 0x49515c
call fcn.00423810
add esp, 4
test al, al
je 0x42fd11
mov ecx, 0x495160
call fcn.00432d10
mov dword [0x49515c], eax
mov eax, dword [0x49515c]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call esi
test eax, eax
jne 0x42fd7b
call fcn.0042fe20
mov eax, dword [0x4929e8]
push eax
call esi
mov ecx, eax
test ecx, ecx
jne 0x42fd3e
call fcn.00434410
mov ecx, eax
mov eax, dword [0x495130]
cmp dword [ecx + eax*4], 0
jne 0x42fd7b
push 0x5c
call fcn.0044e416
add esp, 4
mov ecx, eax
push edi
call fcn.0042fb60
mov ecx, dword [0x4929e8]
mov edi, eax
push ecx
call esi
mov ecx, eax
test ecx, ecx
jne 0x42fd73
call fcn.00434410
mov ecx, eax
mov eax, dword [0x495130]
mov dword [ecx + eax*4], edi
pop edi
pop esi
pop ecx
ret
Function at 0x432390
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
sar ecx, 2
test ecx, ecx
je 0x432400
push ebx
push esi
mov ebx, ecx
mov eax, dword [edi]
lea edi, [edi + 4]
movzx esi, cl
movzx edx, al
xor esi, edx
shr ecx, 8
mov dword [ebp - 4], eax
movzx eax, ah
xor ecx, dword [esi*4 + 0x48ca40]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 2]
xor ecx, dword [edx*4 + 0x48ca40]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 1]
xor ecx, dword [edx*4 + 0x48ca40]
movzx edx, cl
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x48ca40]
sub ebx, 1
jne 0x4323a7
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x432ba0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4929e8]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
mov esi, eax
test esi, esi
jne 0x432bc3
call fcn.00434410
mov esi, eax
mov eax, dword [0x495154]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
jne 0x432bd8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x432c2e
mov eax, dword [0x4929e8]
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x432bf1
call fcn.00434410
mov ecx, eax
mov eax, dword [0x495154]
push 0x20
mov dword [ecx + eax*4], 0xffffffff
call fcn.0044e416
add esp, 4
mov ecx, eax
call fcn.00432c40
mov ecx, dword [0x4929e8]
mov esi, eax
push ecx
call edi
mov ecx, eax
test ecx, ecx
jne 0x432c26
call fcn.00434410
mov ecx, eax
mov eax, dword [0x495154]
mov dword [ecx + eax*4], esi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x434410
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x492070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4929e8]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x40c], ebx
push esi
push edi
cmp ebx, 0xffffffff
jne 0x4344b0
mov edi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_TlsFree]
cmp eax, ebx
je 0x43445d
mov ebx, eax
mov dword [ebp - 0x40c], ebx
jmp 0x43448e
cmp byte [0x495164], 0
jne 0x434527
int3
mov ecx, ebx
mov edx, 0x4929e8
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x4344b0
push ebx
call esi
mov ebx, dword [0x4929e8]
mov dword [ebp - 0x40c], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4344c5
cmp byte [0x495164], 0
jne 0x434535
int3
push 0x400
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.004518b0
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x400
call fcn.0044e7b4
add esp, 4
lea esi, [ebp - 0x408]
mov ebx, eax
mov ecx, 0x100
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044e44e
mov esp, ebp
pop ebp
ret
push 1
call fcn.00458221
push 1
call fcn.00458221
push 1
call fcn.00458221
int3

Function at 0x434540
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x492070]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x4929e8]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], 0
push edi
mov ecx, 0x100
mov dword [esp + 0xc], eax
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.0044e6c7
add esp, 4
mov edi, 0x100
nop word [eax + eax]
mov esi, dword [0x495168]
xor dl, dl
test esi, esi
jle 0x4345d8
nop dword [eax]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x4345d3
mov eax, dword [esi*4 + 0x494b90]
test eax, eax
je 0x4345d3
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x4345b0
dec edi
test edi, edi
jle 0x4345e1
test dl, dl
jne 0x4345a0
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044e44e
mov esp, ebp
pop ebp
ret
Function at 0x434610
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4929e8]
mov dword [ebp - 4], 0
push esi
mov esi, ecx
cmp eax, 0xffffffff
je 0x434635
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x43463a
call fcn.00434410
mov eax, 1
mov ecx, 0x495168
lock xadd dword [ecx], eax
inc eax
mov dword [esi + 4], eax
cmp eax, 0x100
jl 0x43465d
cmp byte [0x495164], 0
jne 0x434676
int3
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ecx*4 + 0x494b90], eax
mov dword [esi], 1
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
call fcn.00458221
int3

Function at 0x4360e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ecx + 4]
push ebx
push esi
push edi
mov ebx, dword [ecx + 0x3c]
xor esi, esi
add ebx, ecx
mov dword [ebp - 4], ecx
xor edi, edi
movzx ecx, word [ebx + 6]
cmp esi, ecx
jae 0x436139
movzx eax, word [ebx + 0x14]
lea edx, [ebx + 0x18]
add eax, edi
add edx, eax
je 0x436139
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 4]
add ecx, eax
neg eax
sbb eax, eax
and eax, ecx
cmp eax, dword [ebp + 8]
ja 0x436128
mov ecx, dword [edx + 8]
add ecx, eax
cmp ecx, dword [ebp + 8]
ja 0x43612e
inc esi
add edi, 0x28
jmp 0x4360f6
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x436320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
jne 0x43633b
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi + 4]
push edi
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax + edx + 0x78]
mov eax, dword [esi]
cmp eax, 0x48ca10
jne 0x436469
test ecx, ecx
jne 0x43635e
xor edi, edi
mov dword [ebp - 4], edi
jmp 0x436364
lea edi, [edx + ecx]
mov dword [ebp - 4], edi
test edi, edi
je 0x436420
mov eax, dword [ebp + 8]
cmp eax, 0xffff
ja 0x436384
pop edi
mov word [ebx], ax
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
mov ecx, dword [edi + 0x20]
cmp eax, 0x48ca10
jne 0x436479
test ecx, ecx
jne 0x43639f
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x4363a7
mov edx, dword [esi + 4]
add edx, ecx
mov dword [ebp - 8], edx
mov ecx, dword [edi + 0x18]
mov ebx, edx
lea eax, [edx + ecx*4]
mov dword [ebp - 0xc], eax
cmp edx, eax
je 0x436420
sub eax, ebx
sar eax, 2
mov eax, eax
test eax, eax
jns 0x4363c4
add eax, 1
sar eax, 1
mov ecx, dword [ebx + eax*4]
lea edi, [ebx + eax*4]
mov eax, dword [esi]
mov edx, dword [eax + 4]
cmp eax, 0x48ca10
jne 0x436489
test ecx, ecx
jne 0x4363e4
xor eax, eax
jmp 0x4363e9
mov eax, dword [esi + 4]
add eax, ecx
mov ecx, dword [ebp + 8]
mov edx, ecx
mov cl, byte [ecx]
test cl, cl
je 0x436401
cmp cl, byte [eax]
jne 0x436401
mov cl, byte [edx + 1]
inc edx
inc eax
test cl, cl
jne 0x4363f4
movzx eax, byte [eax]
movzx ecx, byte [edx]
sub ecx, eax
je 0x43642b
test ecx, ecx
jle 0x436417
mov eax, dword [ebp - 0xc]
lea ebx, [edi + 4]
jmp 0x43641c
mov eax, edi
mov dword [ebp - 0xc], eax
cmp ebx, eax
jne 0x4363b6
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
mov ebx, dword [ebp - 4]
mov edx, dword [eax + 4]
mov ecx, dword [ebx + 0x24]
cmp eax, 0x48ca10
jne 0x436493
test ecx, ecx
jne 0x436445
xor eax, eax
jmp 0x43644a
mov eax, dword [esi + 4]
add eax, ecx
sub edi, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
sar edi, 2
mov ax, word [eax + edi*2]
add ax, word [ebx + 0x10]
pop edi
pop esi
mov word [ecx], ax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
push ecx
mov ecx, esi
call dword [eax + 4]
mov edi, eax
mov dword [ebp - 4], eax
jmp 0x436364
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x4363a7
push ecx
mov ecx, esi
call edx
jmp 0x4363e9
push ecx
mov ecx, esi
call edx
jmp 0x43644a

Function at 0x4364a0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x4364b0
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4364ad
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x4364ad
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete al
ret
Function at 0x437226
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x492070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 3
jne 0x4372b8
push 0x4372f8
push 0x493110
call fcn.004372c8
cmp dword [0x49310c], 0
pop ecx
pop ecx
jne 0x4372b8
push ebx
push dword [0x493108]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x4372b7
push esi
push edi
push 0x4930e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 0x4930f8
lea edi, [ebp - 0x14]
push 0x4930e0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, ebx
lea eax, [ebp - 0x14]
xor esi, esi
sub edi, eax
mov ecx, dword [ebp + esi*4 - 0x14]
test ecx, ecx
je 0x4372a8
lea eax, [edi + esi*4]
push dword [ebp + eax - 0x14]
call ecx
pop ecx
inc esi
cmp esi, 4
jb 0x437296
push ebx
call fcn.0043717e
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044e44e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x439675
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x492070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, dword [0x493148]
test esi, esi
jne 0x4396ca
push 0x46d5c0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4396b2
xor al, al
jmp 0x4396f3
push str.GetUserDefaultLocaleName
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x493148], esi
test esi, esi
je 0x4396ae
push edi
mov edi, 0xaa
lea eax, [ebp - 0xb0]
push edi
push 0
push eax
call fcn.004518b0
add esp, 0xc
lea eax, [ebp - 0xb0]
push edi
push eax
call esi
neg eax
pop edi
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044e44e
mov esp, ebp
pop ebp
ret
Function at 0x439799
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x492070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], ebx
cmp byte [eax + 0x2c], bl
jne 0x4397c9
mov eax, 0x3f0
jmp 0x4398b7
push esi
lea ecx, [ebp - 0x54]
add eax, 0x24
push ecx
push 2
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00439fab
mov esi, dword [ebp - 0x58]
add esp, 0x10
test esi, esi
jne 0x4397ef
mov ebx, dword [ebp - 0x54]
jmp 0x4398b4
mov eax, ebx
mov dword [ebp - 0x50], eax
cmp dword [esi], ebx
jbe 0x4398ad
push edi
lea edi, [esi + 4]
mov dword [ebp - 0x64], 0x44
test dword [edi + 4], 0xc0000020
jne 0x43989d
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 0x49], bl
test ecx, ecx
je 0x43987c
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
sub eax, edx
mov dword [ebp - 0x58], edx
push 0x44
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x5c], ebx
test eax, eax
je 0x439879
mov ecx, ebx
mov dword [ebp - 0x54], ebx
push dword [edi]
add ecx, dword [ebp - 0x58]
call fcn.00439746
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x439875
mov ecx, dword [ebp - 0x54]
push 0x44
pop eax
add ecx, eax
inc dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
mov dword [ebp - 0x58], edx
cdq
idiv dword [ebp - 0x64]
cmp dword [ebp - 0x5c], eax
jb 0x43983a
jmp 0x439879
mov byte [ebp - 0x49], 1
mov eax, dword [ebp - 0x50]
cmp byte [ebp - 0x49], bl
jne 0x43989d
push dword [edi]
lea ecx, [ebp - 0x48]
call fcn.00439702
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ecx + 0x18]
call fcn.0043a21a
mov eax, dword [ebp - 0x50]
inc eax
add edi, 8
mov dword [ebp - 0x50], eax
cmp eax, dword [esi]
jb 0x439807
pop edi
push esi
call fcn.0044e6c7
pop ecx
mov eax, ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0044e44e
mov esp, ebp
pop ebp
ret 4
Function at 0x43a8ff
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0xc
add eax, dword [ebp + 0x10]
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
push edi
push eax
push edi
push 0x8000004
push edi
push 0xffffffffffffffff
lea esi, [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
mov ecx, esi
call fcn.004225e0
push dword [esi]
call fcn.004223c0
pop ecx
test al, al
jne 0x43a93e
push 0x19
jmp 0x43a95d
push edi
push edi
push 7
lea eax, [ebp - 8]
push eax
push dword [ebx]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x43a963
push 0x1a
pop esi
jmp 0x43aa26
push edi
push edi
push edi
push 6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x43a97b
push 0x1b
jmp 0x43a95d
add eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
test esi, esi
je 0x43a9b1
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x43a9b1
push ecx
push esi
push eax
call fcn.0044fad0
mov edx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x43a9ab
sub ecx, esi
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x40
jb 0x43a99f
mov eax, dword [ebp - 8]
mov ecx, ebx
push 4
push 0x49314c
push str.g_shared_section
mov dword [0x49314c], eax
call fcn.0043aab4
mov esi, eax
mov dword [0x49314c], edi
test esi, esi
jne 0x43aa26
mov eax, dword [ebp + 0x10]
mov ecx, ebx
push 4
push 0x4931c0
push str.g_shared_IPC_size
mov dword [0x4931c0], eax
call fcn.0043aab4
mov esi, eax
mov dword [0x4931c0], edi
test esi, esi
jne 0x43aa26
mov eax, dword [ebp + 0x14]
mov ecx, ebx
push 4
push 0x4931c4
push str.g_shared_policy_size
mov dword [0x4931c4], eax
call fcn.0043aab4
mov esi, eax
mov dword [0x4931c4], edi
test esi, esi
je 0x43aa35
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, esi
jmp 0x43aa93
push 0x1c
call fcn.0044e416
pop ecx
test eax, eax
je 0x43aa55
push dword [ebp + 8]
mov ecx, eax
push dword [ebx + 0x24]
push dword [ebx + 8]
push dword [ebx]
call fcn.0043db9a
mov edi, eax
lea esi, [ebx + 0x20]
mov eax, dword [esi]
mov dword [esi], edi
test eax, eax
je 0x43aa68
push eax
mov ecx, esi
call fcn.0043a59e
mov ecx, dword [esi]
push 0x400
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call fcn.0043dda9
test al, al
jne 0x43aa83
push 4
pop eax
jmp 0x43aa93
mov ecx, ebx
call fcn.00436810
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14