joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b570
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [esp + 0x48], eax
mov ebx, esp
push 0x1c9
push str..._.._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.0042c320
add esp, 0x10
lea esi, [esp + 0x10]
mov ecx, esi
push 0
push ebx
call fcn.0042f4b0
cmp byte [edi + 0xb], 0
jns 0x42b5ba
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.0042f5d0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.0044d0e1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42b5f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21a]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xffffffff
cmp esi, 0x102
ja 0x42b688
cmp word [ebp - 0x21a], 0
je 0x42b652
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
lea eax, [ecx + 1]
cmp word [ebp + ecx*2 - 0x218], 0
mov ecx, eax
jne 0x42b640
jmp 0x42b654
xor eax, eax
lea ebx, [ebp - 0x234]
mov ecx, ebx
push eax
push edi
call fcn.0041dbc0
lea edi, [ebp - 0x228]
mov ecx, ebx
push edi
call fcn.0041ea70
mov ecx, dword [ebp + 8]
push edi
call fcn.0041dcc0
mov ecx, edi
call fcn.0041dc80
mov ecx, ebx
call fcn.0041dc80
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d0e1
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42b6b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [ebp - 0xc], eax
sub esp, 0x14
lea edi, [ebp - 0x214]
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x4756a0]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42b719
cmp word [ebp - 0x214], 0
je 0x42b719
xor eax, eax
nop
cmp word [ebp + eax*2 - 0x212], 0
lea eax, [eax + 1]
jne 0x42b700
mov ecx, esi
push eax
push edi
call fcn.0041dbc0
jmp 0x42b754
lea edi, [ebp - 0x220]
mov ecx, edi
call fcn.0041db70
push edi
call fcn.0042b5f0
add esp, 4
mov ecx, esi
test al, al
je 0x42b73d
push edi
call fcn.0041db90
jmp 0x42b749
push 3
push 0x4756f2
call fcn.0041dbc0
lea ecx, [ebp - 0x220]
call fcn.0041dc80
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0044d0e1
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
Function at 0x42b770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x260
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [esp + 0x258], eax
lea edi, [esp + 0x50]
push 0x38c
push str..._.._base_files_file_util_win.cc
push 0x4756fa
push edi
call fcn.0042c320
add esp, 0x10
lea ecx, [esp + 0x18]
push 0
push edi
call fcn.0042f4b0
mov word [esp + 0x50], 0
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
add esi, 0xffffffff
cmp esi, 0x103
ja 0x42b81f
cmp word [esp + 0x50], 0
je 0x42b7ef
xor ecx, ecx
nop
lea eax, [ecx + 1]
cmp word [esp + ecx*2 + 0x52], 0
mov ecx, eax
jne 0x42b7e0
jmp 0x42b7f1
xor eax, eax
mov ebx, esp
mov ecx, ebx
push eax
push edi
call fcn.0041dbc0
lea edi, [esp + 0xc]
mov ecx, ebx
push edi
call fcn.0041ea70
mov ecx, dword [ebp + 8]
push edi
call fcn.0041dcc0
mov ecx, edi
call fcn.0041dc80
mov ecx, ebx
call fcn.0041dc80
cmp esi, 0x104
setb bl
lea ecx, [esp + 0x18]
call fcn.0042f5d0
mov ecx, dword [esp + 0x258]
xor ecx, ebp
call fcn.0044d0e1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42c820
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [esp + 0x158], eax
mov eax, dword [0x48b8e4]
mov ecx, dword [0x48b650]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42c875
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.0044d0e1
mov eax, 0x48b8e0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x48b8e4
call fcn.0044d127
add esp, 4
cmp dword [0x48b8e4], 0xffffffff
jne 0x42c85a
lea eax, [esp + 0x40]
push 0x118
push 0
push eax
call fcn.00450880
add esp, 0xc
mov dword [esp + 0x3c], 0x11c
lea edi, [esp + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x50
call fcn.0044d06c
add esp, 4
mov esi, eax
mov ebx, dword [esp + 0xc]
mov eax, dword [0x48b90c]
mov ecx, dword [0x48b650]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42c924
mov ecx, esi
push ebx
push 0x48b8e8
push edi
call fcn.0042ca80
mov dword [0x48b8e0], esi
push 0x48b8e4
call fcn.0044d19d
add esp, 4
jmp 0x42c85a
push 0x48b90c
call fcn.0044d127
add esp, 4
cmp dword [0x48b90c], 0xffffffff
jne 0x42c8fe
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x30]
mov dword [0x48b908], eax
movaps xmm0, xmmword [esp + 0x10]
movaps xmm1, xmmword [esp + 0x20]
movups xmmword [0x48b8f8], xmm1
movups xmmword [0x48b8e8], xmm0
push 0x48b90c
call fcn.0044d19d
add esp, 4
jmp 0x42c8fe
Function at 0x42c9a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [esp + 0x30], eax
mov eax, dword [0x48b90c]
mov ecx, dword [0x48b650]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42ca14
movzx eax, word [0x48b8e8]
cmp eax, 0xc
ja case.0x42c9e0.1
xor esi, esi
jmp dword [eax*4 + 0x475b70]
mov esi, 2
jmp case.0x42c9e0.0
mov esi, 4
jmp case.0x42c9e0.0
mov esi, 1
jmp case.0x42c9e0.0
mov esi, 3
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.0044d0e1
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x48b90c
call fcn.0044d127
add esp, 4
cmp dword [0x48b90c], 0xffffffff
jne 0x42c9d2
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp], xmm0
mov dword [esp + 0x20], 0
mov eax, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x20]
mov dword [0x48b908], eax
movaps xmm0, xmmword [esp]
movaps xmm1, xmmword [esp + 0x10]
movups xmmword [0x48b8f8], xmm1
movups xmmword [0x48b8e8], xmm0
push 0x48b90c
call fcn.0044d19d
add esp, 4
jmp 0x42c9d2

Function at 0x42d320
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x42d337
mov eax, dword [esi]
mov ecx, eax
jmp 0x42d35c
mov eax, dword [esi]
test eax, eax
je 0x42d341
mov ecx, eax
jmp 0x42d35c
cmp dword [esi + 0xc], 0
je 0x42d34d
mov ecx, eax
xor eax, eax
jmp 0x42d35c
mov ecx, eax
xor eax, eax
cmp dword [esi + 4], 0
mov edx, 0
je 0x42d3b3
add ecx, 1
cmp ecx, 2
jb 0x42d37b
call fcn.0042c350
push dword [esi]
call fcn.0042d570
add esp, 4
mov dword [esi], 0
xor eax, eax
mov ecx, dword [esi + 4]
lea edx, [ecx + 1]
cmp edx, 2
jb 0x42d3a1
call fcn.0042c350
push dword [esi + 4]
call fcn.0042d570
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi]
xor ecx, ecx
mov edx, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, ecx
mov ebx, dword [edi]
cmp edx, ebx
je 0x42d3fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
add eax, 1
cmp eax, 2
jb 0x42d3e0
call fcn.0042c350
push dword [esi]
call fcn.0042d570
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x42d3ef
mov dword [esi], ebx
call fcn.0042c350
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp eax, ebx
je 0x42d447
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
add eax, 1
cmp eax, 2
jb 0x42d42d
call fcn.0042c350
push dword [esi + 4]
call fcn.0042d570
add esp, 4
mov dword [esi + 4], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x42d43d
mov dword [esi + 4], ebx
call fcn.0042c350
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x42de70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [0x48912c]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x14]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x42ded8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x42ded8
cmp dword [ebp - 0x14], 4
jne 0x42ded8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0044d0e1
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8

Function at 0x42def0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.0044d530
mov eax, dword [ebp + 8]
mov edx, dword [0x48912c]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1014], 1
mov dword [ebp - 0x1018], 0x800
lea edx, [ebp - 0x1018]
lea ebx, [ebp - 0x810]
lea esi, [ebp - 0x1014]
push edx
push ebx
push esi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x42df9d
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 2
je 0x42df65
mov esi, 0x3f4
cmp eax, 1
jne 0x42df9d
mov ecx, edi
push ebx
jmp 0x42df96
lea eax, [ebp - 0x1010]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xffffffff
mov esi, 0xea
cmp eax, 0x3ff
ja 0x42df9d
mov ecx, edi
lea eax, [ebp - 0x1010]
push eax
call fcn.00419d36
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d0e1
mov eax, esi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x42ff80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.0044d530
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x489f64]
cmp eax, 0xffffffff
je 0x4300d6
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x4300d6
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.00450300
add esp, 0xc
mov ecx, dword [0x489f64]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.004374c0
add esp, 8
test ebx, ebx
je 0x42fffb
push ebx
call fcn.0044d0dc
add esp, 4
mov eax, dword [0x48c88c]
mov ecx, dword [0x48b650]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4300eb
mov esi, dword [0x48c888]
mov ecx, esi
call fcn.0042b860
lea eax, [ebp - 0x1410]
push 0xc00
push 0x48bc88
push eax
call fcn.00450300
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edi, 0x100
mov al, 1
jmp 0x43006a
lea ecx, [edi - 1]
cmp edi, 2
mov edi, ecx
jb 0x4300c6
test al, 1
je 0x4300c6
xor eax, eax
lea esi, [ebp - 0x1408]
xor ebx, ebx
jmp 0x43008e
add ebx, 1
add esi, 0xc
cmp ebx, 0x100
je 0x430060
mov ecx, dword [ebp + ebx*8 - 0x810]
test ecx, ecx
je 0x430080
cmp dword [esi - 8], 0
je 0x430080
mov edx, dword [ebp + ebx*8 - 0x80c]
cmp edx, dword [esi]
jne 0x430080
mov edx, dword [esi - 4]
test edx, edx
je 0x430080
mov dword [ebp + ebx*8 - 0x810], 0
push ecx
call edx
add esp, 4
mov al, 1
jmp 0x430080
push 2
push dword [ebp - 0x1414]
call fcn.004374c0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d0e1
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x48c88c
call fcn.0044d127
add esp, 4
cmp dword [0x48c88c], 0xffffffff
jne 0x43001c
push 4
call fcn.0044d06c
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.0042b850
mov dword [0x48c888], esi
push 0x48c88c
call fcn.0044d19d
add esp, 4
jmp 0x43001c

Function at 0x430130
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x489f64]
cmp eax, 0xffffffff
je 0x430152
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
add eax, 0xffffffff
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430160
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x489f64]
cmp eax, 0xffffffff
je 0x43017d
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x430182
call fcn.00430290
mov eax, dword [0x48c88c]
mov ecx, dword [0x48b650]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x430239
mov edi, dword [0x48c888]
mov ecx, edi
call fcn.0042b860
mov eax, dword [0x48bc84]
add eax, 1
mov ecx, 0x100
nop dword [eax]
movzx edx, al
lea ebx, [edx + edx*2]
cmp dword [ebx*4 + 0x48bc88], 0
je 0x4301ed
lea edx, [eax + 1]
movzx edx, dl
lea ebx, [edx + edx*2]
cmp dword [ebx*4 + 0x48bc88], 0
je 0x4301ed
add eax, 2
add ecx, 0xfffffffe
jne 0x4301c0
jmp 0x43021d
lea eax, [ebx*4 + 0x48bc88]
mov dword [eax], 1
lea eax, [edx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x48bc8c], ecx
mov dword [0x48bc84], edx
mov dword [esi], edx
mov eax, dword [eax + eax*2 + 0x48bc90]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x43027e
cmp eax, 0x100
jge 0x430281
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x48c88c
call fcn.0044d127
add esp, 4
cmp dword [0x48c88c], 0xffffffff
jne 0x4301a3
push 4
call fcn.0044d06c
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.0042b850
mov dword [0x48c888], edi
push 0x48c88c
call fcn.0044d19d
add esp, 4
jmp 0x4301a3
int3
int3

Function at 0x430290
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x808
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [0x489f64]
mov dword [ebp - 0x810], eax
cmp eax, 0xffffffff
jne 0x43032e
lea esi, [ebp - 0x810]
push esi
call fcn.00437490
add esp, 4
test al, al
je 0x4303af
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x430305
push esi
call fcn.00437490
add esp, 4
test al, al
je 0x4303b2
cmp dword [ebp - 0x810], 0xffffffff
je 0x4303b2
push 0xffffffffffffffff
call fcn.004374b0
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x489f64], ecx
mov eax, dword [ebp - 0x810]
je 0x43032e
push eax
call fcn.004374b0
add esp, 4
mov eax, dword [0x489f64]
mov dword [ebp - 0x810], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x4303ac
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.00450880
add esp, 0xc
lea eax, [ebp - 0x809]
push eax
push dword [ebp - 0x810]
call fcn.004374c0
add esp, 8
push 0x800
call fcn.0044d0d3
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.00450300
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x810]
call fcn.004374c0
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0044d0e1
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebp
ret
int3
int3
int3
Function at 0x434cd0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test dl, dl
mov dword [ebp - 0x10], ecx
lea ecx, [eax + ecx]
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x434d3d
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x434d10
cmp edx, 1
jne 0x434d46
jmp 0x434d62
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x434d62
cmp edx, 2
je 0x434d59
cmp edx, 3
jne 0x434d6d
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 4]
xor ecx, ecx
test edi, edi
je 0x434ec8
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov edx, edi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
ja 0x434dd4
lea edx, [edi - 1]
and edx, ebx
jmp 0x434de0
mov edx, ebx
cmp ebx, edi
jb 0x434de0
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x434ec8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [eax]
test ebx, ebx
je 0x434ec8
mov eax, dword [ebp - 0x18]
add eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x10]
cmovns eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x434e36
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x434ec6
mov ebx, dword [ebx]
test ebx, ebx
je 0x434ec6
mov eax, dword [ebx + 4]
cmp dword [ebp - 0x14], eax
jne 0x434e90
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x434e4b
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x434e2c
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x434ea8
cmp dword [ebp - 0x10], 0
je 0x434ec2
cmp byte [esi], dl
jne 0x434e2c
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x434ec2
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x434e70
jmp 0x434e2c
cmp dword [ebp - 0x28], 1
jbe 0x434e20
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x434e23
xor edx, edx
div ecx
mov eax, edx
jmp 0x434e23
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x434ec2
push eax
push esi
push ecx
call fcn.0044f3ed
add esp, 0xc
test eax, eax
jne 0x434e2c
mov ecx, ebx
jmp 0x434ec8
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4353e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, ecx
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x24], edx
push edx
push ecx
push edi
call fcn.004223d0
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x43540f
mov edi, dword [ebp - 0x1c]
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x43542d
push dword [ebp - 0x1c]
call fcn.0044d09c
add esp, 4
cmp dword [ebp + 8], 0
je 0x43550c
test esi, esi
je 0x43550c
mov dword [ebp - 0x20], esi
add esi, esi
mov ecx, 0xffffffff
cmovae ecx, esi
push ecx
call fcn.0044d0d3
add esp, 4
mov edi, eax
lea esi, [ebp - 0x1c]
push dword [ebp - 0x24]
push ebx
push esi
call fcn.004223d0
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x435470
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x43548c
push dword [ebp - 0x1c]
call fcn.0044d09c
add esp, 4
cmp word [edi], 0
mov esi, dword [ebp + 8]
je 0x4354af
xor ecx, ecx
nop word [eax + eax]
lea eax, [ecx + 1]
cmp word [edi + ecx*2 + 2], 0
mov ecx, eax
jne 0x4354a0
jmp 0x4354b1
xor eax, eax
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.00422430
add esp, 0xc
cmp byte [esi + 0xb], 0
js 0x4354ce
mov byte [esi], 0
mov byte [esi + 0xb], 0
jmp 0x4354f1
mov eax, dword [esi]
mov byte [eax], 0
mov dword [esi + 4], 0
cmp byte [esi + 0xb], 0
jns 0x4354f1
push dword [esi]
call fcn.0044d09c
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [esi], xmm0
push edi
call fcn.0044d0dc
add esp, 4
mov esi, dword [ebp - 0x20]
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d0e1
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x437d60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x48912c]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x437e03
mov esi, ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x13], 9
mov dword [esp + 0xc], 0x65647261
mov dword [esp + 8], 0x63736964
mov word [esp + 0x10], 0x64
push 0x40
call fcn.0044d06c
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
mov edi, esp
mov ecx, esi
push eax
push edi
call fcn.00437cd0
mov ecx, ebx
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
call fcn.00437e20
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x437ded
mov ecx, edi
call fcn.00437e70
push edi
call fcn.0044d09c
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x437e00
push dword [esp + 8]
call fcn.0044d09c
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.0044d0e1
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x438330
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x48c938]
mov ecx, dword [0x48b650]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43835b
mov ecx, 0x48c930
pop ebp
jmp fcn.00430470
push 0x48c938
call fcn.0044d127
add esp, 4
cmp dword [0x48c938], 0xffffffff
jne 0x438350
mov dword [0x48c934], 0
mov dword [0x48c930], 0
mov ecx, 0x48c930
push 0
call fcn.004304e0
push 0x48c938
call fcn.0044d19d
add esp, 4
jmp 0x438350
Function at 0x441370
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x48912c]
xor ecx, ebp
mov dword [ebp - 8], ecx
cmp eax, 3
jne 0x44142e
mov dword [ebp - 0x14], 0x441450
lea eax, [ebp - 0x14]
push 0
push eax
push 0x441350
push 0x48c9c0
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x441440
cmp dword [0x48c9c4], 0
jne 0x44142e
push dword [0x48c9c8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44142e
mov esi, eax
push 0x48c9cc
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x48c9d8]
mov dword [ebp - 0xc], eax
movsd xmm0, qword [0x48c9d0]
movsd qword [ebp - 0x14], xmm0
push 0x48c9cc
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x441407
push dword [esi]
call eax
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x441416
push dword [esi + 4]
call eax
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x441425
push dword [esi + 8]
call eax
add esp, 4
push esi
call fcn.00440870
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044d0e1
add esp, 0x10
pop esi
pop ebp
ret 0xc
call fcn.0045bcc7
int3
Function at 0x469055
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046929e

Function at 0x46be65
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046be70