joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d570
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x51e791
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x597f54]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x597f54]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, dword [esp + 0x140]
mov edi, ecx
mov dword [esp + 0x20], edi
call fcn.004b4151
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d5d2
push 0x80004005
call fcn.004010bd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push esi
lea ecx, [esp + 0x1c]
push str._sCaseItemsVideos_
push ecx
mov dword [esp + 0x144], 0
call fcn.00402fab
mov ebp, dword [edi + 0xc0]
add esp, 0xc
test ebp, ebp
je 0x41d731
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
test ebp, ebp
mov eax, ebp
je 0x41d786
mov edi, dword [eax + 8]
mov eax, dword [edi + 4]
mov ebp, dword [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov esi, eax
push esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0040ad38
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x13c], 1
call fcn.00416c90
mov edx, dword [esp + 0x14]
mov edi, dword [edi + 4]
push 0
push edx
push edi
call ebx
test eax, eax
jne 0x41d701
call fcn.004b9ccd
mov eax, dword [eax + 8]
push 0x104
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathStripToRootA]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call fcn.00401534
test esi, esi
mov byte [esp + 0x138], 2
jne 0x41d6b0
xor eax, eax
jmp 0x41d6c0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41d6b5
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.00402c69
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push edx
call ebx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x138], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d701
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x138], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d729
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x41d614
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x138], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d75c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004e2867
add esp, 0x128
ret 8
call fcn.004b3efb
int3
Function at 0x41f760
Capabilities:
Delete directory

Disassembly:
push ebx
mov ebx, dword [ecx + 0x44]
test ebx, ebx
je 0x41f80a
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
push edi
test ebx, ebx
mov eax, ebx
je 0x41f80c
mov esi, dword [eax + 8]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov ebx, dword [ebx]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41f7ab
cmp eax, dword [esi]
jne 0x41f7ab
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x41f7dd
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x41f811
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004e2a5b
add esp, 0x10
lea esi, [edi + 0x10]
push esi
call ebp
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f7ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
jne 0x41f775
pop edi
pop esi
pop ebp
pop ebx
ret
jmp fcn.004b3efb
jmp fcn.004011ee
Function at 0x432710
Capabilities:
Copy file

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
call fcn.004325b0
mov esi, dword [esp + 4]
cmp dword [esi - 0xc], 0
je 0x43275b
mov ecx, dword [esp + 0xc]
push 0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x43275b
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432754
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
pop esi
pop ecx
ret 4
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432777
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
pop esi
pop ecx
ret 4
Function at 0x435440
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x520408
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x597f54]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0
mov byte [esi + 0x197], 1
call fcn.00432040
mov ecx, dword [esi + 0x48]
mov eax, dword [eax]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x40]
push 0x532708
push 0
push 0x433f80
push esi
push ecx
movzx ecx, word [esi + 0x5e]
push edx
mov edx, dword [esi + 0xdc]
push 1
push ecx
push eax
mov dword [esp + 0x58], 0
call edx
cmp ax, 1
mov eax, dword [esp + 0x38]
sete bl
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4354ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4355df
fld dword [0x53295c]
mov byte [esi + 0x197], 0
fstp dword [esp + 0x38]
call fcn.004b9d4c
test eax, eax
je 0x435519
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x43551b
xor eax, eax
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004c82c8
mov edi, eax
test edi, edi
je 0x43556d
mov edx, dword [edi + 8]
push 0x58
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fstp dword [esp + 0x38]
call fcn.004b9d4c
test eax, eax
je 0x43555d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x43555f
xor eax, eax
mov ecx, dword [edi + 4]
mov edx, dword [eax + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 0x10]
fld dword [esp + 0x38]
lea ecx, [esp + 0x14]
fstp dword [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x124]
mov dword [esp + 0x1c], eax
call fcn.00431180
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.0042da90
mov edx, dword [esi + 0x10]
cmp dword [esi + 0x6c], 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
push ecx
mov bl, al
lea edx, [esp + 0x20]
sete al
push edx
lea ecx, [esi + 0x148]
mov byte [esp + 0x20], al
call fcn.00431240
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8
mov dword [esi + 0x44], 3
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8
Function at 0x4373e0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x437424
mov ecx, dword [esi + 0x40]
push ecx
push 0x1000
lea eax, [esi + 0x50]
push 1
push eax
mov dword [esi + 4], eax
call fcn.004e8163
add esp, 0x10
test eax, eax
mov dword [esi + 8], eax
je 0x437427
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi + 0x2050]
push edx
push eax
call fcn.0049f3f0
add esp, 0xc
mov dword [esi + 0x2050], eax
mov eax, dword [esi + 8]
pop esi
ret

Function at 0x437430
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, 0x1000
sub edi, dword [esi + 0x14]
je 0x437470
mov eax, dword [esi + 0x44]
push eax
push edi
lea ebx, [esi + 0x1050]
push 1
push ebx
call fcn.004e3bd5
add esp, 0x10
cmp eax, edi
je 0x437466
pop edi
mov dword [esi + 0x4c], 0xffffffff
pop esi
xor eax, eax
pop ebx
ret
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0x1000
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x4374d0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
push 0x50
call fcn.004e83f4
push edi
push 0x4b
call fcn.004e83f4
push edi
push 3
call fcn.004e83f4
push edi
push 4
call fcn.004e83f4
mov esi, dword [esp + 0x2c]
movsx eax, byte [esi + 2]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 3]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0x2c]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0x2d]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 6]
add esp, 0x40
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 7]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 8]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 9]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0xa]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0xb]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0xc]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0xd]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0xe]
add esp, 0x40
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0xf]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0x10]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0x11]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0x12]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0x13]
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0x14]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0x15]
push edi
push ecx
call fcn.004e83f4
movsx edx, byte [esi + 0x16]
add esp, 0x40
push edi
push edx
call fcn.004e83f4
movsx eax, byte [esi + 0x17]
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0x18]
push edi
push ecx
call fcn.004e83f4
mov edx, dword [esi + 0x18]
shr edx, 8
movsx eax, dl
push edi
push eax
call fcn.004e83f4
movsx ecx, byte [esi + 0x1c]
push edi
push ecx
call fcn.004e83f4
mov edx, dword [esi + 0x1c]
shr edx, 8
movsx eax, dl
push edi
push eax
call fcn.004e83f4
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x48]
push edi
push ecx
push 1
push edx
call fcn.004e3bd5
add esp, 0x40
cmp eax, dword [esi + 0x18]
jne 0x437664
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x43765f
push edi
push eax
mov eax, dword [esi + 0x3c]
push 1
push eax
call fcn.004e3bd5
add esp, 0x10
cmp eax, dword [esi + 0x1c]
jne 0x437664
pop edi
xor eax, eax
pop esi
ret
pop edi
mov eax, 0xa
pop esi
ret
Function at 0x4378f0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push esi
call fcn.00437480
add esp, 4
cmp eax, 0x2014b50
jne 0x437ad5
push ebx
push edi
push esi
call fcn.004e817e
push esi
movzx edi, ax
call fcn.004e817e
xor ecx, ecx
mov ch, al
push esi
or ecx, edi
mov edi, dword [esp + 0x1c]
mov word [edi], cx
call fcn.004e817e
push esi
movzx ebx, ax
call fcn.004e817e
xor edx, edx
mov dh, al
push esi
or edx, ebx
mov word [edi + 2], dx
call fcn.004e817e
push esi
movzx ebx, ax
call fcn.004e817e
xor ecx, ecx
mov ch, al
push esi
or ecx, ebx
mov word [edi + 4], cx
call fcn.004e817e
push esi
movzx ebx, ax
call fcn.004e817e
xor edx, edx
mov dh, al
push esi
or edx, ebx
mov word [edi + 6], dx
call fcn.00437480
push esi
mov dword [edi + 8], eax
call fcn.00437480
push esi
mov dword [edi + 0xc], eax
call fcn.00437480
push esi
mov dword [edi + 0x10], eax
call fcn.00437480
push esi
mov dword [edi + 0x14], eax
call fcn.004e817e
push esi
movzx ebx, ax
call fcn.004e817e
xor ecx, ecx
mov ch, al
movzx eax, bx
push esi
movzx edx, cx
or edx, eax
mov dword [edi + 0x18], edx
call fcn.004e817e
push esi
movzx ebx, ax
call fcn.004e817e
xor ecx, ecx
mov ch, al
movzx eax, bx
add esp, 0x40
push esi
movzx edx, cx
or edx, eax
mov dword [edi + 0x20], edx
call fcn.004e817e
push esi
movzx ebx, ax
call fcn.004e817e
xor ecx, ecx
mov ch, al
movzx edx, cx
movzx eax, bx
or edx, eax
push esi
mov dword [edi + 0x24], edx
call fcn.004e817e
push esi
movzx ebx, ax
call fcn.004e817e
xor ecx, ecx
mov ch, al
push esi
or ecx, ebx
mov word [edi + 0x28], cx
call fcn.004e817e
push esi
movzx ebx, ax
call fcn.004e817e
xor edx, edx
mov dh, al
push esi
or edx, ebx
mov word [edi + 0x2a], dx
call fcn.00437480
push esi
mov dword [edi + 0x30], eax
call fcn.00437480
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x18]
mov ecx, 0xff
add esp, 0x20
cmp eax, ecx
ja 0x437ad3
cmp dword [edi + 0x1c], ecx
ja 0x437ad3
cmp dword [edi + 0x24], ecx
ja 0x437ad3
add eax, 1
push eax
call fcn.004b1a5e
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x1c]
add eax, 1
push eax
call fcn.004b1a5e
mov ecx, dword [edi + 0x24]
add ecx, 1
push ecx
mov dword [edi + 0x3c], eax
call fcn.004b1a5e
mov edx, dword [edi + 0x18]
push esi
push edx
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x48]
push 1
push eax
call fcn.004e8163
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x3c]
push esi
push ecx
push 1
push edx
call fcn.004e8163
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x44]
push esi
push eax
push 1
push ecx
call fcn.004e8163
mov edx, dword [edi + 0x48]
mov eax, dword [edi + 0x18]
mov byte [edx + eax], 0
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x1c]
mov byte [ecx + edx], 0
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x24]
add esp, 0x3c
mov byte [eax + ecx], 0
pop edi
pop ebx
xor eax, eax
pop esi
ret
Function at 0x437ae0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x20]
push edi
push esi
push 0x50
call fcn.004e83f4
push esi
push 0x4b
call fcn.004e83f4
push esi
push 5
call fcn.004e83f4
push esi
push 6
call fcn.004e83f4
push esi
push 0
call fcn.004e83f4
push esi
push 0
call fcn.004e83f4
push esi
push 0
call fcn.004e83f4
push esi
push 0
call fcn.004e83f4
mov ebx, dword [esp + 0x50]
add esp, 0x40
movsx edi, bl
push esi
push edi
call fcn.004e83f4
sar ebx, 8
movsx ebx, bl
push esi
push ebx
call fcn.004e83f4
push esi
push edi
call fcn.004e83f4
push esi
push ebx
call fcn.004e83f4
mov ebx, dword [esp + 0x34]
movsx eax, bl
push esi
push eax
call fcn.004e83f4
mov ecx, ebx
shr ecx, 8
movsx edx, cl
push esi
push edx
call fcn.004e83f4
mov eax, ebx
shr eax, 0x10
movsx ecx, al
push esi
push ecx
call fcn.004e83f4
shr ebx, 0x18
movsx edx, bl
push esi
push edx
call fcn.004e83f4
mov ebx, dword [esp + 0x58]
add esp, 0x40
movsx eax, bl
push esi
push eax
call fcn.004e83f4
mov ecx, ebx
shr ecx, 8
movsx edx, cl
push esi
push edx
call fcn.004e83f4
push esi
mov eax, ebx
shr eax, 0x10
movsx ecx, al
push ecx
call fcn.004e83f4
shr ebx, 0x18
movsx edx, bl
push esi
push edx
call fcn.004e83f4
mov ebx, dword [esp + 0x3c]
movsx eax, bl
push esi
push eax
call fcn.004e83f4
mov ecx, ebx
shr ecx, 8
movsx edx, cl
push esi
push edx
call fcn.004e83f4
add esp, 0x30
test ebx, ebx
je 0x437c0a
mov eax, dword [esp + 0x20]
push esi
push ebx
push 1
push eax
call fcn.004e3bd5
add esp, 0x10
cmp eax, ebx
je 0x437c0a
pop edi
pop esi
mov eax, 0xa
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x4382e0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
test ebx, ebx
push esi
push edi
mov esi, ecx
je 0x43838e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43838e
mov edi, dword [esp + 0x14]
test edi, edi
je 0x43838e
cmp dword [esi + 8], 0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
jne 0x438340
mov edx, dword [esi + 0x48]
mov ecx, 0x1000
cmp edx, ecx
lea eax, [esi + 0x50]
mov dword [esi + 4], eax
jae 0x438329
mov ecx, edx
mov edx, dword [ebx + 0xc]
push edx
push ecx
push 1
push eax
call fcn.004e8163
add esp, 0x10
test eax, eax
mov dword [esi + 8], eax
je 0x438366
lea eax, [esi + 4]
push 0
push eax
call fcn.004a12c0
add esp, 8
test eax, eax
mov dword [esi + 0x4c], eax
je 0x43835a
cmp eax, 1
jne 0x43838e
mov eax, edi
sub eax, dword [esi + 0x14]
sub dword [esi + 0x48], eax
test eax, eax
jne 0x438390
lea ecx, [esi + 4]
push 4
push ecx
call fcn.004a12c0
add esp, 8
test eax, eax
mov dword [esi + 0x4c], eax
je 0x438380
cmp eax, 1
jne 0x43838e
sub edi, dword [esi + 0x14]
mov eax, edi
sub dword [esi + 0x48], eax
pop edi
pop esi
pop ebx
ret 0xc
xor eax, eax
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x438430
Capabilities:
Get common file path

Disassembly:
sub esp, 0x158
mov eax, dword [0x597f54]
xor eax, esp
mov dword [esp + 0x154], eax
mov eax, dword [ecx + 4]
cmp dword [eax - 0xc], 0
push ebx
lea ebx, [ecx + 4]
jg 0x43853f
lea ecx, [esp + 0x54]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x438481
xor al, al
pop ebx
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.004e2867
add esp, 0x158
ret
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x438488
sub eax, edx
cmp byte [esp + eax + 0x53], 0x5c
push esi
push edi
je 0x4384b7
lea edi, [esp + 0x5c]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4384a3
mov dx, word [0x52f0fc]
mov word [edi], dx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push str._x_x_x_x_
push edx
call fcn.004e8739
lea eax, [esp + 0x34]
add esp, 0x18
mov edx, eax
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4384f0
lea edi, [esp + 0x5c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x438502
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x5c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004e51dd
add esp, 4
test eax, eax
pop edi
pop esi
jne 0x438469
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call fcn.00401522
mov ecx, dword [esp + 0x158]
pop ebx
xor ecx, esp
mov al, 1
call fcn.004e2867
add esp, 0x158
ret
Function at 0x439180
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x30], 0
je 0x4391b5
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [esi + 0x31]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esi]
push eax
mov eax, dword [edx + 8]
push ecx
mov ecx, esi
call eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop esi
ret 0x10
mov edx, dword [esi]
mov eax, dword [edx + 8]
push edi
call eax
push eax
mov ecx, esi
call fcn.00439010
mov edi, eax
test edi, edi
je 0x439232
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push ebp
push edi
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x18]
jne 0x439214
lea eax, [esp + 0x20]
push eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 0
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x43922b
mov edx, dword [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop ebp
pop ebx
pop edi
pop esi
ret 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
ret 0x10

Function at 0x439250
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp byte [esi + 0x30], 0
je 0x439287
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x31]
push eax
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
pop esi
add esp, 8
ret 0xc
mov edx, dword [esi]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, esi
call fcn.00439010
mov esi, eax
test esi, esi
je 0x4392ee
push edi
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push esi
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
test edi, edi
pop edi
jne 0x4392e1
mov eax, dword [esp + 0x10]
mov dword [edx], eax
pop esi
add esp, 8
ret 0xc
mov ecx, dword [esp + 0x18]
mov dword [edx], ecx
pop esi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
pop esi
add esp, 8
ret 0xc
Function at 0x439300
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp byte [esi + 0x30], 0
je 0x43933d
movzx ecx, byte [esp + 0x18]
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x31]
push eax
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x14]
test eax, eax
setne al
mov byte [ecx], al
pop esi
add esp, 8
ret 0xc
mov edx, dword [esi]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, esi
call fcn.00439010
mov esi, eax
test esi, esi
je 0x4393ac
push edi
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push esi
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x43939b
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
setne dl
mov byte [eax], dl
pop esi
add esp, 8
ret 0xc
mov cl, byte [esp + 0x18]
mov edx, dword [esp + 0x14]
mov byte [edx], cl
pop esi
add esp, 8
ret 0xc
mov al, byte [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov byte [ecx], al
pop esi
add esp, 8
ret 0xc

Function at 0x4393c0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
sub esp, 0x50
mov eax, dword [0x597f54]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
mov ebx, dword [esp + 0x5c]
push esi
mov esi, ecx
cmp byte [esi + 0x30], 0
push edi
mov edi, dword [esp + 0x60]
je 0x439425
mov ecx, dword [esp + 0x68]
push 0xa
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00518a27
add esp, 0xc
lea edx, [esi + 0x31]
push edx
mov edx, dword [esi]
push 0x20
lea eax, [esp + 0x40]
push eax
mov eax, dword [edx + 8]
lea ecx, [esp + 0x24]
push ecx
push edi
mov ecx, esi
call eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x38]
push ecx
call fcn.004e5209
add esp, 4
jmp 0x4394a0
mov edx, dword [esi]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, esi
call fcn.00439010
mov esi, eax
test esi, esi
je 0x43949c
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push edi
push esi
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x439482
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword [ebx], ecx
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.004e2867
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x68]
pop edi
pop esi
mov dword [ebx], edx
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.004e2867
add esp, 0x50
ret 0xc
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
xor ecx, esp
call fcn.004e2867
add esp, 0x50
ret 0xc