joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413830
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x458ac7
call fcn.0042298b
mov esi, ecx
mov dword [ebp - 0x30], esi
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x413938
cmp byte [esi + 0x3d], bl
je 0x413938
push 0xffffffffffffffff
call fcn.00412d9c
cmp eax, 0xffffffff
jne 0x413868
xor al, al
jmp 0x41393a
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
call fcn.0041368a
lea eax, [esi + 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
lea edi, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
mov ecx, dword [ecx + 0x38]
add eax, edi
push eax
push esi
push dword [ebp - 0x34]
mov edx, dword [ecx]
call dword [edx + 0x20]
sub eax, ebx
je 0x4138c5
sub eax, 1
jne 0x41391d
mov esi, dword [ebp - 0x30]
jmp 0x4138cb
mov esi, dword [ebp - 0x30]
mov byte [esi + 0x3d], bl
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov edi, dword [ebp - 0x38]
cmovae eax, edx
sub edi, eax
je 0x413903
push dword [esi + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push edi
cmovae eax, edx
push 1
push eax
call fcn.00441a53
add esp, 0x10
cmp edi, eax
jne 0x413928
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [esi + 0x3d], 0
je 0x413926
test edi, edi
jne 0x41388f
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.00411753
jmp 0x413889
dec eax
sub eax, 1
jne 0x41392c
inc eax
jmp 0x41392a
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x2c]
call fcn.004052b7
mov al, bl
jmp 0x41393a
mov al, 1
call fcn.00422935
ret
Function at 0x41458c
Capabilities:
Create process on windows

Disassembly:
push 0x80
mov eax, 0x458bd6
call fcn.0042298b
mov esi, edx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x44
pop edi
push edi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x8c]
push ebx
push eax
call fcn.0043a5b0
add esp, 0xc
mov dword [ebp - 0x8c], edi
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
mov edx, esi
push ecx
lea ecx, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004015e9
pop ecx
mov edi, 0x4689cc
mov dword [ebp - 4], ebx
push edi
call fcn.0043e0fa
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.00402815
mov eax, dword [ebp - 0x30]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x41460a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402815
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
cmp dword [esi + 0x14], 8
jb 0x414629
mov esi, dword [esi]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x414659
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x34]
mov bl, 1
mov eax, dword [ebp - 0x44]
mov dword [ecx], eax
lea ecx, [ebp - 0x2c]
call fcn.0040279a
mov al, bl
call fcn.00422935
ret

Function at 0x4148f4
Capabilities:
Get common file path

Disassembly:
push 0x54
mov eax, 0x458ca5
call fcn.0042298b
mov esi, ecx
mov dword [ebp - 0x60], esi
xor ebx, ebx
mov dword [ebp - 0x30], 7
xor eax, eax
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
push ebx
mov edi, 0x105
mov dword [ebp - 4], ebx
push edi
lea ecx, [ebp - 0x44]
call fcn.00414cf6
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x41494e
push 0x4689d0
mov ecx, esi
call fcn.004025b4
jmp 0x4149b9
push ebx
push eax
lea ecx, [ebp - 0x44]
call fcn.00414cf6
lea eax, [ebp - 0x44]
mov dword [ebp - 0x4c], ebx
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], ebx
call fcn.004028b3
push 0x18
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00439ea0
push 0x18
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00439ea0
push 0x18
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00439ea0
add esp, 0x24
lea ecx, [ebp - 0x5c]
call fcn.0040279a
mov byte [ebp - 0x60], bl
lea eax, [ebp - 0x44]
push dword [ebp - 0x60]
mov ecx, esi
mov dword [esi + 0x10], ebx
push eax
mov dword [esi + 0x14], ebx
call fcn.00402935
lea ecx, [ebp - 0x44]
call fcn.0040279a
mov eax, esi
call fcn.00422935
ret
Function at 0x414e86
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x458d8f
call fcn.00422957
mov ebx, ecx
call fcn.00414ff5
test al, al
jne 0x414eb9
mov esi, dword [ebp + 8]
xor edi, edi
push dword [ebp + 0x10]
mov ecx, esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.004028b3
mov eax, esi
jmp 0x414f96
push 0x40
pop esi
push ecx
push esi
lea ecx, [ebp - 0x24]
call fcn.0041500a
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x414ed8
mov ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
lea eax, [esi + esi]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push edi
push ecx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414f30
cmp dword [ebp - 0x10], 1
je 0x414f0f
cmp dword [ebp - 0x10], 2
je 0x414f0f
push 0xd
pop eax
jmp 0x414f30
test esi, esi
je 0x414f2e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x414f29
test al, 1
jne 0x414f0a
shr eax, 1
cmp word [esi + eax*2 - 2], di
je 0x414f2e
jmp 0x414f0a
xor eax, eax
mov word [esi], ax
mov eax, edi
mov dword [ebx + 0xc], eax
cmp eax, 0xea
jne 0x414f54
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
sub esi, dword [ebp - 0x24]
mov ecx, eax
and esi, 0xfffffffe
push eax
push esi
call fcn.004150be
jmp 0x414ecb
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebx + 0xc], edi
je 0x414f80
mov esi, dword [ebp + 8]
mov ecx, esi
push dword [ebp + 0x10]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.004028b3
lea ecx, [ebp - 0x24]
call fcn.00415048
jmp 0x414eb2
push dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
call fcn.004025b4
lea ecx, [ebp - 0x24]
call fcn.00415048
mov eax, dword [ebp + 8]
call fcn.00422920
ret 0xc

Function at 0x414f9e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
call fcn.00414ff5
test al, al
je 0x414ff0
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 0x14], 8
jb 0x414fba
mov esi, dword [esi]
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x414fc5
mov edi, dword [edi]
test esi, esi
jne 0x414fce
push 0xd
pop eax
jmp 0x414feb
push esi
call fcn.0043e0fa
pop ecx
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
mov dword [ebx + 0xc], eax
pop esi
pop ebx
pop ebp
ret 8
Function at 0x418165
Capabilities:
Check os version
Get system information on windows

Disassembly:
push 0x15c
mov eax, 0x45925c
call fcn.0042298b
mov ebx, ecx
mov dword [ebp - 0x134], ebx
xor eax, eax
mov dword [ebp - 0x138], ebx
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov byte [ebx + 8], al
mov dword [ebx + 0x24], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
call fcn.00418371
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], 0xf
mov byte [ebx + 0x34], al
mov dword [ebp - 4], eax
lea edi, [ebp - 0x144]
stosd dword es:[edi], eax
lea esi, [ebp - 0x144]
lea ecx, [ebx + 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00418012
push 0x118
mov dword [ebx], eax
lea eax, [ebp - 0x12c]
push 0
push eax
mov dword [ebp - 0x130], 0x11c
call fcn.0043a5b0
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 0xc], 0
jne 0x418222
mov eax, dword [ebp - 0x12c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x128]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x124]
mov dword [ebx + 0x14], eax
movzx eax, word [ebp - 0x1c]
lea edi, [ebp - 0x168]
mov dword [ebx + 0x1c], eax
movzx eax, word [ebp - 0x1a]
mov dword [ebx + 0x20], eax
push 9
pop eax
mov ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov cx, word [ebp - 0x168]
xor esi, esi
push 2
pop edi
movzx eax, cx
inc esi
push 9
pop edx
test eax, eax
je 0x418276
cmp eax, 6
je 0x418271
cmp eax, edx
jne 0x41827a
mov dword [ebx + 0x24], esi
jmp 0x41827a
mov dword [ebx + 0x24], edi
jmp 0x41827a
and dword [ebx + 0x24], 0
cmp dword [ebp - 0x12c], 6
mov eax, dword [ebp - 0x154]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebx + 0x2c], eax
je 0x4182ea
cmp dword [ebp - 0x12c], 0xa
je 0x4182ea
cmp dword [ebp - 0x12c], 5
jne 0x41833f
cmp dword [ebp - 0x128], edi
jne 0x4182d6
cmp byte [ebp - 0x16], 1
jne 0x4182c2
cmp cx, dx
je 0x41835f
mov ax, word [ebp - 0x18]
not ax
movzx eax, ax
shr eax, 0xe
and eax, edi
mov dword [ebx + 0x18], eax
jmp 0x418343
cmp dword [ebp - 0x128], esi
jne 0x41833f
mov eax, dword [ebp - 0x18]
not eax
shr eax, 9
and eax, esi
jmp 0x4182d1
push str.GetProductInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x134]
push ecx
push 0
push 0
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
call eax
mov eax, dword [ebp - 0x134]
cmp eax, 0xf
ja 0x41834b
cmp eax, 0xc
jae 0x418364
cmp eax, esi
je 0x41835f
cmp eax, 4
je 0x41835f
cmp eax, 6
je 0x41835f
jbe 0x41833f
cmp eax, 0xa
jbe 0x418364
and dword [ebx + 0x18], 0
mov eax, ebx
call fcn.00422935
ret
cmp eax, 0x11
jb 0x41833f
cmp eax, 0x12
jbe 0x418364
cmp eax, 0x19
je 0x418364
cmp eax, 0x30
jne 0x41833f
mov dword [ebx + 0x18], esi
jmp 0x418343
mov dword [ebx + 0x18], edi
jmp 0x418343
Function at 0x419188
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
push ebx
push esi
push edi
lea edi, [ebp - 0x10]
mov ebx, ecx
stosd dword es:[edi], eax
mov esi, dword [ebx + 0x1c]
stosd dword es:[edi], eax
not esi
and esi, 1
test byte [ebx + 0x1c], 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
je 0x4191c5
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x4191c5
mov ecx, dword [ebp - 8]
test ecx, ecx
push 3
pop eax
cmovne esi, eax
jmp 0x4191c8
mov ecx, dword [ebp - 8]
lea eax, [ebx + 4]
cmp dword [eax + 0x14], 8
jb 0x4191d3
mov eax, dword [eax]
push 0x10000000
push dword [ebp - 4]
push ecx
push esi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 0x20], eax
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x4191f8
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x41d3c4
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459ddc
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x47b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x54]
xor edi, edi
cmp dword [esi + 0x34], 2
mov eax, 0x800000
push ecx
cmove edi, eax
mov eax, dword [esi + 0x58]
lea eax, [ecx + eax*2]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004053fb
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [esi + 0x78]
cmovae ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x41d429
mov eax, dword [eax]
push edi
xor edx, edx
push edx
push edx
push edx
push ecx
push eax
push dword [esi + 0x70]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
mov eax, dword [esi + 0x74]
mov dword [esi + 0x74], edi
test eax, eax
je 0x41d44d
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
setne bl
test edi, edi
jne 0x41d467
mov ecx, esi
mov dword [esi + 0x13c], 5
call fcn.0041dc29
lea ecx, [ebp - 0x28]
call fcn.0040279a
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421f43
mov esp, ebp
pop ebp
ret
Function at 0x41d48d
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459e01
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x47b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x128]
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x28], ax
mov eax, dword [edi + 0x12c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x30], eax
cmp esi, eax
je 0x41d557
push esi
lea ecx, [ebp - 0x28]
call fcn.0040253a
push 0x46be44
call fcn.0043e0fa
pop ecx
mov ecx, eax
lea eax, [esi + 0x18]
push eax
push ecx
push 0x46be44
lea ecx, [ebp - 0x28]
call fcn.00402815
mov ecx, eax
call fcn.0040251d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x10000000
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [edi + 0x74]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
setne cl
mov byte [ebp - 0x29], cl
test eax, eax
jne 0x41d54b
mov ecx, edi
mov dword [edi + 0x13c], 3
call fcn.0041dc29
mov cl, byte [ebp - 0x29]
test cl, cl
je 0x41d559
add esi, 0x30
cmp esi, dword [ebp - 0x30]
jne 0x41d4df
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.0040279a
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421f43
mov esp, ebp
pop ebp
ret
Function at 0x41e0e7
Capabilities:
Read http header

Disassembly:
push 0x28
mov eax, 0x459eb4
call fcn.00422957
mov ebx, ecx
and dword [ebp - 0x18], 0
mov esi, dword [ebx + 4]
add esi, 0xc
mov ecx, esi
mov dword [ebp - 0x28], esi
call fcn.0041e0d7
xor eax, eax
inc eax
xor edx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 8], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov eax, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edx
push ecx
push edx
push dword [ebp + 0xc]
push 0xffff
push dword [eax + 0x74]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x41e1c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41e1c9
cmp dword [ebp - 0x10], 0
je 0x41e1c9
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x10]
mov ecx, eax
call fcn.00413dcd
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x34]
push dword [ebp + 0xc]
push 0xffff
push dword [eax + 0x74]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x41e1c9
mov eax, dword [ebp - 0x34]
mov ecx, edi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffe
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041e1e2
mov eax, dword [ebp - 0x14]
push 0
pop edx
cmp eax, 0x2f76
jne 0x41e131
lea ecx, [ebp - 0x34]
call fcn.00413634
mov ecx, esi
call fcn.0041e0df
mov eax, edi
call fcn.00422920
ret 8
Function at 0x42432b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4246ca
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
jne 0x4246e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x4246eb
jmp 0x4246f3
mov esp, ebp
pop ebp
ret
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.00424bed
push 0x4768f4
lea eax, [ebp - 0x10]
push eax
call fcn.0043c48d
int3

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

Disassembly:
push 4
mov eax, 0x45a8c4
call fcn.00422957
mov edi, ecx
mov dword [ebp - 0x10], edi
or dword [edi + 4], 0xfffffff
lea ecx, [edi + 0x3c]
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], SysReAllocString
mov dword [edi + 0x18], ebx
mov dword [edi + 0x38], ebx
call fcn.0042c735
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x64]
mov dword [edi + 0x64], eax
xor eax, eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
test dword [0x47b0bc], 0x80000000
je 0x42e976
push dword [0x4813e4]
call fcn.00424719
pop ecx
test eax, eax
jne 0x42e97b
call fcn.00429d98
mov dword [edi + 0xc], eax
mov eax, dword [eax + 0x34]
mov dword [edi], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
test eax, eax
je 0x42e996
cmp eax, 2
je 0x42e996
lock inc dword [eax + 4]
mov ecx, edi
call fcn.0042f5cd
lea ecx, [edi + 0x3c]
call fcn.0042d043
cmp byte [ebp + 0xc], 0
je 0x42e9d7
mov edx, dword [edi + 0x64]
mov ecx, edi
add edx, 0x68
mov esi, dword [edx]
mov eax, esi
mov dword [edi + 0x68], esi
lock cmpxchg dword [edx], ecx
jmp 0x42e9d1
mov dword [edi + 0x68], eax
mov esi, eax
mov ecx, dword [edi + 0x64]
mov edx, edi
add ecx, 0x68
lock cmpxchg dword [ecx], edx
cmp eax, esi
jne 0x42e9c0
jmp 0x42e9df
or dword [edi + 0x78], 1
and dword [edi + 0x68], 0
call fcn.00429f83
mov esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x42e9f7
mov ecx, esi
call fcn.0042de32
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x40]
and dword [edi + 4], 0xfffffff
mov dword [edi + 0x80], eax
mov eax, edi
call fcn.00422920
ret 8

Function at 0x436c22
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x481454], eax
cmp eax, 0xffffffff
jne 0x436c44
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x436c48
jmp 0x436c50
mov esp, ebp
pop ebp
ret
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.00424bed
push 0x4768f4
lea eax, [ebp - 0x10]
push eax
call fcn.0043c48d
int3
Function at 0x43c648
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x45fb98
push 0x45fb90
push str.FlsAlloc
push 0
call fcn.0043c5c1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43c67a
push dword [ebp + 8]
mov ecx, esi
call fcn.0042291a
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x43c6bc
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x45fba8
push 0x45fba0
push str.FlsGetValue
push 2
call fcn.0043c5c1
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x43c6ed
mov ecx, esi
call fcn.0042291a
call esi
jmp 0x43c6f3
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x43c6f6
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x45fbb0
push 0x45fba8
push str.FlsSetValue
push 3
call fcn.0043c5c1
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x43c72a
mov ecx, esi
call fcn.0042291a
call esi
jmp 0x43c730
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x44a393
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044a212
Function at 0x4f87e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x4f8805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x4f8878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x4f883a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x4f886d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x4f886b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x4f8831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4f87fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x1000167c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1001d908
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1002a034]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x214]
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x10001768
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003356
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100033b4
push 0x104
push eax
push dword [ebp + 0x218]
push edi
call fcn.10018f6f
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x1000173e
call fcn.100037d1
jmp 0x1000173e
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10004926
add ebp, 0x20c
leave
ret
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.10003d44
pop ecx
pop ecx
push ebx
push esi
call fcn.10018f6f
int3

Function at 0x1000177d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1001d938
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1002a034]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x214]
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x10001869
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003356
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100033b4
push 0x104
push eax
push dword [ebp + 0x218]
push edi
call fcn.10018f6f
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x1000183f
call fcn.100037d1
jmp 0x1000183f
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10004926
add ebp, 0x20c
leave
ret
push esi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.10003d44
pop ecx
pop ecx
push ebx
push esi
call fcn.10018f6f
int3