joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402df0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447e95
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x45701c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push edx
push eax
call fcn.00403d20
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x402e89
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x402ffe
cmp dword [0x4597d8], 0xaaaaaaa
je 0x403016
mov dword [ebp - 0x30], 0x4597d4
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x2c], 0
call fcn.00413474
mov ecx, dword [ebp - 0x14]
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x4597d8]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4526c0]
mov eax, dword [0x4597ec]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4526c0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x4597d0]
comiss xmm1, xmm0
jbe 0x402fa5
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.00441bb0
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.004479e0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x4597ec]
cmp eax, ecx
jae 0x402f84
cmp eax, 0x200
jae 0x402f82
shl eax, 3
cmp eax, ecx
jae 0x402f84
mov eax, ecx
push eax
call fcn.004034f0
mov edi, dword [ebp - 0x24]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00403d20
mov ecx, dword [0x4597d8]
mov edx, dword [eax]
jmp 0x402fab
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov eax, dword [edx + 4]
inc ecx
mov dword [0x4597d8], ecx
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [0x4597dc]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4597e8]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x4597d4]
jne 0x402fdf
mov dword [ecx + eax*8], esi
jmp 0x402ff1
cmp edi, edx
jne 0x402fe8
mov dword [ecx + eax*8], esi
jmp 0x402ff5
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x402ff5
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x28]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.00410b4d
int3
Function at 0x4034f0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebx + 8]
cmp ecx, eax
ja 0x403696
lea eax, [ecx - 1]
mov esi, dword [0x4597d4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x4597dc
lea eax, [edi + edi]
push eax
call fcn.00402ab0
mov ecx, dword [0x4597d4]
lea eax, [edi - 1]
mov dword [0x4597e8], eax
mov dword [0x4597ec], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x403660
nop dword [eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x4597dc]
imul edi, edi, 0x1000193
and edi, dword [0x4597e8]
lea eax, [eax + edi*8]
mov edi, dword [eax]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
cmp edi, esi
jne 0x4035c9
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x403651
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x40360c
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x403604
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], ecx
jmp 0x403651
mov edi, eax
cmp dword [ebp - 4], eax
je 0x403625
mov eax, dword [eax + 4]
mov edi, eax
mov esi, dword [ecx + 8]
cmp esi, dword [eax + 8]
je 0x40366b
cmp dword [ebp - 4], eax
jne 0x403613
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov dword [eax], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], esi
mov esi, dword [ebp - 4]
mov dword [edx + 4], esi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], ecx
mov esi, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x403570
nop dword [eax + eax]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x40364e
push str.invalid_hash_bucket_count
call fcn.00410b4d
int3
Function at 0x403a70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp ebx, eax
je 0x403be1
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.00404000
push 0x18
push edi
call fcn.0041382e
mov edx, dword [ebp - 0x14]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x403b3d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x403af0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x403bd7
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x403b51
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [edi], eax
jmp 0x403b54
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x403bd7
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + ecx*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.00404000
push 0x18
push edi
call fcn.0041382e
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x403be8
cmp esi, eax
jne 0x403ba7
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x403b60
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x409320
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448555
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x45701c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], vtable.DownloadProgress.0
mov dword [ebp - 0x14], 0
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x38]
call fcn.00409dd0
cmp dword [ebp + 0x34], 8
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp + 0x20]
cmovae ecx, dword [ebp + 0x20]
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov esi, eax
cmovae ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov ecx, dword [ebp - 0x14]
test esi, esi
setns bl
test ecx, ecx
je 0x4093cd
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x409407
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4093fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40949a
push edx
push ecx
call fcn.0041382e
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x409451
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409447
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40949a
push edx
push ecx
call fcn.0041382e
add esp, 8
mov ecx, dword [ebp + 0x5c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
test ecx, ecx
je 0x40947d
mov esi, dword [ecx]
lea eax, [ebp + 0x38]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413245
mov esp, ebp
pop ebp
ret
call fcn.0041df19
int3
Function at 0x434739
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004341c9

Function at 0x434bd5
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00434ae9
Function at 0x4015a0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4acc38
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4d8104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040df60
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0040e050
add esp, 8
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x58]
push eax
call fcn.0040e3c0
push eax
mov byte [ebp - 4], 2
call fcn.0040c2f0
mov edx, dword [ebp - 0x44]
add esp, 8
mov bl, al
cmp edx, 8
jb 0x40166e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401664
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40171e
push edx
push ecx
call fcn.00483e09
add esp, 8
call fcn.00411810
test bl, bl
je 0x40167b
xor esi, esi
jmp 0x401681
mov esi, dword [0x4d8004]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4016b7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4016ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401723
push edx
push ecx
call fcn.00483e09
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x401701
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4016f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401728
push edx
push ecx
call fcn.00483e09
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483e17
mov esp, ebp
pop ebp
ret
call fcn.0048969c
call fcn.0048969c
call fcn.0048969c
int3
Function at 0x4092b0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.00408a60
push dword [esi + 0x40]
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
call fcn.00483e28
mov ebx, dword [esp + 0x14]
push 2
push 0
push ebx
mov dword [esi + 0x40], 0
call fcn.00489c17
push ebx
call fcn.0048a232
push 0
push 0
push ebx
mov edi, eax
call fcn.00489c17
add esp, 0x20
test edi, edi
je 0x409392
lea ecx, [edi + 1]
push ecx
call fcn.004840ea
push ebx
push edi
push 1
push eax
mov dword [esi + 0x40], eax
call fcn.0048d254
add esp, 0x14
cmp eax, edi
je 0x409346
pop edi
mov dword [esi + 0x30], 5
mov eax, 5
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
pop esi
pop ebx
ret 4
mov eax, dword [esi + 0x40]
mov byte [edi + eax], 0
push dword [esi + 0x40]
call fcn.0040a390
mov ecx, eax
mov byte [esi + 0x2c], 0
add esp, 4
cmp byte [ecx], 0xef
jne 0x409376
cmp byte [ecx + 1], 0xbb
jne 0x409376
cmp byte [ecx + 2], 0xbf
jne 0x409376
mov byte [esi + 0x2c], 1
add ecx, 3
test ecx, ecx
je 0x409392
cmp byte [ecx], 0
je 0x409392
mov eax, dword [esi]
push 0
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebx
ret 4
pop edi
mov dword [esi + 0x30], 0xf
mov eax, 0xf
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
pop esi
pop ebx
ret 4
Function at 0x40a6b0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x23c]
sub esp, 0x23c
push 0xffffffffffffffff
push 0x4ad298
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4d8104]
xor eax, ebp
mov dword [ebp + 0x238], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp]
push eax
call fcn.0040e880
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40a6f9
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp + 0x14]
test eax, eax
sete bl
cmp edx, 8
jb 0x40a73f
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a735
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a867
push edx
push ecx
call fcn.00483e09
add esp, 8
test bl, bl
je 0x40a74a
mov al, 1
jmp 0x40a846
push 0x208
lea eax, [ebp + 0x30]
push 0
push eax
call fcn.00486710
lea eax, [ebp]
push eax
call fcn.0040e880
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x40a76e
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp + 0x30]
push eax
push 0x4b2150
push str.check_for_updates
push str.Update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp]
call fcn.00401390
xor eax, eax
mov dword [ebp + 0x28], 0
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a7b0
sub ecx, edx
lea eax, [ebp + 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x18]
call fcn.00401b30
cmp dword [ebp + 0x2c], 8
lea ecx, [ebp + 0x18]
mov eax, dword [ebp + 0x28]
lea edx, [ebp - 0xd]
cmovae ecx, dword [ebp + 0x18]
push edx
mov dword [ebp - 4], 0
lea eax, [ecx + eax*2]
lea ecx, [ebp + 0x18]
cmovae ecx, dword [ebp + 0x18]
push eax
push ecx
lea ecx, [ebp]
call fcn.0040a4d0
lea eax, [ebp]
push 0x4b21d8
push eax
call fcn.0040a620
mov edx, dword [ebp + 0x14]
add esp, 8
mov bl, al
cmp edx, 0x10
jb 0x40a83c
mov ecx, dword [ebp]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a832
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a86c
push edx
push ecx
call fcn.00483e09
add esp, 8
lea ecx, [ebp + 0x18]
call fcn.00401390
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp + 0x238]
xor ecx, ebp
call fcn.00483e17
lea esp, [ebp + 0x23c]
pop ebp
ret
call fcn.0048969c
call fcn.0048969c
int3
Function at 0x40a880
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad2cb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4d8104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 0x250], edi
call fcn.0040e880
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40a8cc
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x234]
test eax, eax
sete al
mov byte [ebp - 0x249], al
cmp edx, 8
jb 0x40a924
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a914
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa83
push edx
push ecx
call fcn.00483e09
mov al, byte [ebp - 0x249]
add esp, 8
test al, al
je 0x40a94c
push 0x35
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0xf
push str.https:__emsfs.autodesk.com_utility_wingman_update.xml
mov byte [edi], 0
call fcn.00401a40
jmp 0x40aa67
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00486710
lea eax, [ebp - 0x248]
push eax
call fcn.0040e880
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x40a976
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x4b2150
push 0x4b21ac
push str.Update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x248]
call fcn.00401390
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a9d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00401b30
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x249]
cmovae ecx, dword [ebp - 0x230]
push edx
mov dword [ebp - 4], 0
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push eax
push ecx
lea ecx, [ebp - 0x248]
call fcn.0040a4d0
movups xmm0, xmmword [ebp - 0x248]
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x230]
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x238]
movq qword [edi + 0x10], xmm0
call fcn.00401390
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483e17
mov esp, ebp
pop ebp
ret
call fcn.0048969c
int3
Function at 0x40aa90
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x23c]
sub esp, 0x23c
push 0xffffffffffffffff
push 0x4ad308
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4d8104]
xor eax, ebp
mov dword [ebp + 0x238], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x244]
lea eax, [ebp + 0x30]
push 0x208
push 0
push eax
mov dword [ebp - 0x14], edi
call fcn.00486710
lea eax, [ebp]
push eax
call fcn.0040e880
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x40aaf4
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp + 0x30]
push eax
push 0x4b2150
push 0x4b2154
push str.Update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp + 0x14]
cmp edx, 8
jb 0x40ab4d
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ab43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac08
push edx
push ecx
call fcn.00483e09
add esp, 8
xor eax, eax
mov dword [ebp + 0x28], 0
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ab67
sub ecx, edx
lea eax, [ebp + 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x18]
call fcn.00401b30
cmp dword [ebp + 0x2c], 8
lea ecx, [ebp + 0x18]
mov eax, dword [ebp + 0x28]
lea edx, [ebp - 0xd]
cmovae ecx, dword [ebp + 0x18]
push edx
mov dword [ebp - 4], 0
lea eax, [ecx + eax*2]
lea ecx, [ebp + 0x18]
cmovae ecx, dword [ebp + 0x18]
push eax
push ecx
mov ecx, edi
call fcn.0040a4d0
mov edx, dword [ebp + 0x2c]
cmp edx, 8
jb 0x40abe5
mov ecx, dword [ebp + 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40abdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac0d
push edx
push ecx
call fcn.00483e09
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp + 0x238]
xor ecx, ebp
call fcn.00483e17
lea esp, [ebp + 0x23c]
pop ebp
ret
call fcn.0048969c
call fcn.0048969c
int3
Function at 0x40ac20
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x23c]
sub esp, 0x23c
push 0xffffffffffffffff
push 0x4ad298
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4d8104]
xor eax, ebp
mov dword [ebp + 0x238], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp]
push eax
call fcn.0040e880
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40ac69
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp + 0x14]
test eax, eax
sete bl
cmp edx, 8
jb 0x40acaf
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40aca5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40add7
push edx
push ecx
call fcn.00483e09
add esp, 8
test bl, bl
je 0x40acba
xor al, al
jmp 0x40adb6
push 0x208
lea eax, [ebp + 0x30]
push 0
push eax
call fcn.00486710
lea eax, [ebp]
push eax
call fcn.0040e880
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x40acde
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp + 0x30]
push eax
push 0x4b2150
push 0x4b21dc
push 0x4b2208
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp]
call fcn.00401390
xor eax, eax
mov dword [ebp + 0x28], 0
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ad20
sub ecx, edx
lea eax, [ebp + 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x18]
call fcn.00401b30
cmp dword [ebp + 0x2c], 8
lea ecx, [ebp + 0x18]
mov eax, dword [ebp + 0x28]
lea edx, [ebp - 0xd]
cmovae ecx, dword [ebp + 0x18]
push edx
mov dword [ebp - 4], 0
lea eax, [ecx + eax*2]
lea ecx, [ebp + 0x18]
cmovae ecx, dword [ebp + 0x18]
push eax
push ecx
lea ecx, [ebp]
call fcn.0040a4d0
lea eax, [ebp]
push 0x4b21d8
push eax
call fcn.0040a620
mov edx, dword [ebp + 0x14]
add esp, 8
mov bl, al
cmp edx, 0x10
jb 0x40adac
mov ecx, dword [ebp]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ada2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40addc
push edx
push ecx
call fcn.00483e09
add esp, 8
lea ecx, [ebp + 0x18]
call fcn.00401390
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp + 0x238]
xor ecx, ebp
call fcn.00483e17
lea esp, [ebp + 0x23c]
pop ebp
ret
call fcn.0048969c
call fcn.0048969c
int3