joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101602d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x18]
add eax, eax
push ebx
xor ebx, ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp + 0x18], ebx
cmp eax, ebx
je 0x1016140
cmp word [eax], bx
je 0x1016140
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1016125
cmp word [edi], bx
je 0x1016125
cmp dword [ebp + 0x14], ebx
jne 0x1016099
mov eax, dword [section..data]
cmp eax, section..data
je 0x1016164
test byte [eax + 0x1c], 1
je 0x1016164
push 0x1002e58
push 0xc
jmp 0x1016159
push esi
lea ecx, [ebp + 0x18]
push ecx
mov ecx, dword [0x101aa9c]
neg ecx
sbb ecx, ecx
and ecx, 0x100
add ecx, 0x20019
push ecx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x1016112
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
push ebx
push edi
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, ebx
jne 0x1016112
cmp dword [ebp - 4], 1
je 0x1016112
mov eax, dword [section..data]
push 0xd
pop esi
cmp eax, section..data
je 0x1016112
test byte [eax + 0x1c], 1
je 0x1016112
push dword [ebp - 4]
push edi
push 0x1002e58
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003330
cmp dword [ebp + 0x18], ebx
je 0x1016120
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x1016167
mov eax, dword [section..data]
cmp eax, section..data
je 0x1016164
test byte [eax + 0x1c], 1
je 0x1016164
push 0x1002e58
push 0xb
jmp 0x1016159
mov eax, dword [section..data]
cmp eax, section..data
je 0x1016164
test byte [eax + 0x1c], 1
je 0x1016164
push 0x1002e58
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100e47b
push 0x57
pop eax
pop edi
pop ebx
leave
ret 0x14

Function at 0x10162e0
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x101aaa0], 0
push ebx
jne 0x101635d
push eax
push ebx
push ecx
push edx
xor eax, eax
cpuid
xor eax, eax
xor ebx, 0x756e6547
sete al
xor ebx, ebx
xor ecx, 0x6c65746e
sete bl
and eax, ebx
xor ecx, ecx
xor edx, 0x49656e69
sete cl
and eax, ecx
mov dword [ebp - 4], eax
mov eax, 1
cpuid
xor ecx, ecx
xor edx, edx
mov ebx, 0xff0
and ebx, eax
mov dword [ebp - 8], ebx
pop edx
pop ecx
pop ebx
pop eax
cmp dword [ebp - 4], 0
mov eax, 1
je 0x1016351
cmp dword [ebp - 8], 0x660
jae 0x1016351
xor eax, eax
mov eax, dword [eax*4 + 0x101a440]
mov dword [0x101aaa0], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x40], 0x67452301
mov dword [eax + 0x44], 0xefcdab89
mov dword [eax + 0x48], 0x98badcfe
mov dword [eax + 0x4c], 0x10325476
mov dword [eax + 0x50], 0xc3d2e1f0
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40f450
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10020
call fcn.00425210
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x492380]
mov dl, byte [eax + 0x492378]
mov byte [esp + eax + 0xc], cl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 8
jl 0x40f460
lea eax, [esp]
push str.ok41
push eax
call fcn.00413990
push 4
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00410f70
add esp, 0x14
push ebx
push ebp
push esi
mov dword [esp + 0x14], 0
push edi
jmp 0x40f4b0
mov eax, dword [esp + 0x10034]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [esp + 0x38]
push 1
push edx
call fcn.004151b0
add esp, 0x10
cmp eax, 0x18
jl 0x40f531
mov ebp, eax
lea edi, [ebp - 0x14]
test edi, edi
jle 0x40f4fd
xor edx, edx
mov edi, edi
xor ecx, ecx
lea esi, [esp + edx + 0x30]
mov al, byte [esp + ecx + 0x1c]
cmp al, byte [esi + ecx]
je 0x40f521
cmp ecx, 0x14
je 0x42937a
inc edx
cmp edx, edi
jl 0x40f4e0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10034]
lea edx, [ecx + ebp - 0x14]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [esp + 0x24], edx
call fcn.0041557c
add esp, 0xc
jmp 0x40f4b0
mov bl, byte [esp + ecx + 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x31]
je 0x40f543
inc ecx
jmp 0x40f4ef
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10020
ret 4
mov bl, byte [esp + ecx + 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x32]
je 0x40f555
add ecx, 2
jmp 0x40f4ef
mov bl, byte [esp + ecx + 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x33]
jne 0x429372
mov bl, byte [esp + ecx + 0x20]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x34]
je 0x429361
add ecx, 4
jmp 0x40f4ef
add ecx, 5
cmp ecx, 0x14
jl 0x40f4e6
jmp 0x40f4ef
add ecx, 3
jmp 0x40f4ef
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10034]
lea ecx, [eax + edx + 0x14]
mov edx, dword [esi]
push 0
push ecx
push edx
call fcn.0041557c
mov eax, dword [esi]
push eax
push 4
lea ecx, [esp + 0x24]
push 1
push ecx
call fcn.004151b0
lea edx, [esp + 0x2c]
push 0x4876d8
push edx
mov byte [esp + 0x38], 0
call fcn.004151d0
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x40f536
Function at 0x40f5e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
mov ebx, 0x4848e8
call fcn.0040f580
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00413990
push esi
call fcn.004112ef
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0040f6a0
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0040f6d0
xor ebx, ebx
mov dword [edi + 8], ebx
xor ecx, ecx
mov eax, ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x40f631
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x4876c8
push eax
call fcn.00414e06
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x42b2ee
push edi
call fcn.0040f450
cmp eax, ebx
je 0x42b2f8
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00414e94
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x40f690
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004151b0
add esp, 0x10
push 0x6abd3639
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044afdc
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x42b324
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00415484
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x40f690

Function at 0x40f6a0
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.004131f0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x4103e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4972c8]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push accept
push accept
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x4972c8]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x4972c0], eax
call esi
mov edx, dword [0x4972c0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x4972bc], eax
call esi
mov eax, dword [0x4972c0]
push 0
push eax
call esi
pop esi
ret

Function at 0x421fa7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x490e80]
jne 0x421fb1
repz ret
jmp fcn.00426243
Function at 0x4523ce
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x430
push ebx
push ebp
push esi
mov esi, dword [esp + 0x440]
push edi
xor ebp, ebp
mov eax, dword [esi]
push eax
push 4
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.004151b0
add esp, 0x10
push 0x909ae413
push 4
lea edx, [esp + 0x1c]
push edx
call fcn.0044afdc
lea eax, [esp + 0x14]
push 0x487704
push eax
mov byte [esp + 0x20], 0
call fcn.004151d0
add esp, 8
test eax, eax
jne 0x452562
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x18]
push 4
push edx
inc ebp
call fcn.004151b0
mov edi, dword [esp + 0x20]
mov eax, dword [esi]
push eax
xor edi, 0x7450bc70
lea ebx, [edi + edi]
push ebx
lea ecx, [esp + 0x38]
push 1
push ecx
call fcn.004151b0
add esp, 0x20
add edi, 0x3a9856a5
push edi
push ebx
lea edx, [esp + 0x28]
push edx
call fcn.0044afdc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x234]
xor eax, eax
push edx
mov word [esp + ebx + 0x28], ax
call fcn.00411691
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
call fcn.004151b0
mov edi, dword [esp + 0x28]
mov edx, dword [esi]
push edx
xor edi, 0x3e8bdb31
lea ebx, [edi + edi]
push ebx
lea eax, [esp + 0x40]
push 1
push eax
call fcn.004151b0
add esp, 0x28
add edi, 0xa11dfffc
push edi
push ebx
lea ecx, [esp + 0x28]
push ecx
call fcn.0044afdc
mov ecx, dword [esp + 0x44c]
lea eax, [esp + 0x20]
push eax
xor edx, edx
push ecx
mov word [esp + ebx + 0x28], dx
call fcn.00411691
mov edi, dword [esp + 0x450]
lea edx, [esp + 0x238]
push edi
push edx
call fcn.004133e4
add esp, 0x10
test eax, eax
je 0x452553
push 0x4876f8
push edi
call fcn.004133e4
add esp, 8
test eax, eax
jne 0x452510
test ebp, ebp
je 0x452553
mov eax, dword [esi]
push 1
push 1
push eax
call fcn.0041557c
mov ecx, dword [esi]
add esp, 0xc
push ecx
push 1
lea edx, [esp + 0x24]
push 4
push edx
call fcn.004151b0
mov eax, dword [esp + 0x2c]
xor eax, 0x87bc
mov dword [esp + 0x2c], eax
add eax, 0x18
push 1
push eax
mov eax, dword [esi]
push eax
call fcn.0041557c
add esp, 0x1c
jmp 0x4523e1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x430
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x430
ret 0xc
Function at 0x452574
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x694
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x6ac]
push esi
mov esi, dword [esp + 0x6a4]
mov edx, dword [esi + 4]
push edi
xor eax, eax
push ebx
mov word [esp + 0x50], ax
mov eax, dword [esi]
push edx
xor ecx, ecx
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov word [esp + 0x262], cx
mov dword [esp + 0x488], ebx
mov dword [esp + 0x2c], 1
call fcn.0041557c
mov edx, dword [esp + 0x6b8]
add esp, 0xc
lea ecx, [esp + 0x490]
push ecx
push edx
push esi
call fcn.004523ce
test eax, eax
je 0x45260c
lea eax, [ebx + 6]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x10
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x1f]
push 1
push ecx
call fcn.004151b0
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x30]
push 4
push eax
call fcn.004151b0
mov ecx, dword [esi]
mov edi, dword [esp + 0x38]
push ecx
push 1
lea edx, [esp + 0x40]
push 4
push edx
xor edi, 0x87bc
call fcn.004151b0
mov ecx, dword [esi]
mov eax, dword [esp + 0x48]
push ecx
push 1
lea edx, [esp + 0x50]
xor eax, 0x87bc
push 4
push edx
mov dword [ebp], eax
call fcn.004151b0
mov eax, dword [esp + 0x58]
add esp, 0x40
xor eax, 0xa685
push 1
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push 0x10
push eax
call fcn.0041557c
mov ecx, dword [ebp]
add esp, 0xc
push ecx
call fcn.004138ba
add esp, 4
push edi
mov dword [esp + 0x20], eax
call fcn.004138ba
mov edx, dword [esi]
add esp, 4
push edx
push 1
mov ebp, eax
push edi
push ebp
call fcn.004151b0
mov eax, dword [esi + 8]
add esp, 0x10
add eax, 0x86dd210e
push eax
push edi
push ebp
call fcn.0044afdc
push edi
push ebp
lea ecx, [esp + 0x28]
push ecx
call fcn.0043535d
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x20]
je 0x4526fd
mov eax, dword [esp + 0x1c]
push eax
call fcn.00413a88
add esp, 4
push ebp
call fcn.00413a88
add esp, 4
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x10
cmp byte [esp + 0x17], 1
jne 0x45275b
xor ecx, ecx
mov eax, 1
mov word [esp + 0x4c], cx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
xor edx, edx
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov word [esp + 0x25a], dx
mov dword [esp + 0x480], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
call fcn.0044b195
push ebp
call fcn.00413a88
jmp 0x452769
mov edx, dword [esp + 0x1c]
push edx
call fcn.00413a88
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x6b4]
mov ecx, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebp
mov dword [eax], ecx
xor eax, eax
pop ebx
add esp, 0x694
ret 0x10
Function at 0x10001f20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10030f28
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1003cb10]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x44], 0x10
mov edi, dword [esp + 0x30]
jae 0x10001f59
lea edi, [esp + 0x30]
mov esi, dword [eax + 0xc]
push 0x10036004
push 0x67
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10001fa8
push edi
mov ecx, esi
call fcn.10004c70
test eax, eax
je 0x10001fa8
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x10001f89
lea eax, [esp + 0x30]
push 5
push 0
push 0x10036008
push eax
push 0x10036230
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
seta bl
jmp 0x10001fac
mov bl, byte [esp + 0x17]
cmp dword [esp + 0x44], 0x10
jb 0x10001fc0
mov eax, dword [esp + 0x30]
push eax
call fcn.1000a6ea
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x20

Function at 0x10003500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10003519
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10003554
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10003550
lea ebx, [ebx]
cmp esi, eax
jae 0x10003554
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10003540
cmp esi, eax
jb 0x1000355a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10003fc0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [esi + 4], 0
push edi
mov edi, eax
je 0x10003fcf
xor al, al
pop edi
pop ecx
ret
xor ecx, ecx
mov edx, 0xc
mul edx
seto cl
push ebp
neg ecx
or ecx, eax
push ecx
call fcn.1000a6e5
add esp, 4
xor ebp, ebp
test edi, edi
mov dword [esi + 4], eax
mov dword [esi + 8], edi
jle 0x1000408d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov eax, dword [esi + 4]
mov dword [edi + eax], esi
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
mov dword [ecx + edi + 8], 1
mov eax, dword [esi + 4]
push 0
add eax, edi
push eax
push 0x100040a0
push 0
push 0
call fcn.10015fba
mov ecx, dword [esi + 4]
add esp, 0x18
push 0x64
mov dword [ecx + edi + 4], eax
call ebx
mov edx, dword [esi + 4]
cmp dword [edx + edi + 4], 0
lea eax, [edx + edi]
jne 0x10004050
mov dword [eax + 8], 0
mov eax, dword [esi + 4]
cmp dword [eax + edi + 8], 2
lea eax, [eax + edi + 8]
je 0x1000407d
mov dword [eax], 0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + edi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
mov dword [eax + edi + 4], 0
add ebp, 1
add edi, 0xc
cmp ebp, dword [esi + 8]
jl 0x10004002
pop ebx
pop ebp
mov al, 1
pop edi
pop ecx
ret

Function at 0x10004c70
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov edi, ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10004cef
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x10004cef
mov eax, dword [esp + 0x10]
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10004cef
push 0
lea ecx, [esp + 0x14]
push ecx
push edi
push ebx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10004ce8
cmp dword [esp + 0x10], edi
jne 0x10004ce8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
Function at 0x100059a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10030a95
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x1003cb10]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003cb10]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1a0]
xor ecx, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ecx
mov eax, 1
mov dword [esp + 0x198], eax
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ecx
mov byte [ebp + 4], cl
push ecx
mov dword [esp + 0x18], eax
call fcn.100174e1
push eax
call fcn.100174b2
add esp, 8
call fcn.100174bf
cdq
mov ecx, 5
idiv ecx
lea ebx, [ecx + 0xb]
cmp edx, 4
ja case.default.0x10005a31
jmp dword [edx*4 + 0x10005bf8]
lea edx, [esp + 0x8c]
push edx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp case.default.0x10005a31
push 0x1a
lea esi, [esp + 0x58]
call fcn.10005c10
cmp dword [eax + 0x18], ebx
jb 0x10005a65
mov eax, dword [eax + 4]
jmp 0x10005a68
add eax, 4
push 0x100
push eax
lea eax, [esp + 0x94]
push eax
call fcn.100172a0
add esp, 0xc
cmp dword [esp + 0x6c], ebx
jb case.default.0x10005a31
mov ecx, dword [esp + 0x58]
jmp 0x10005b46
push 0x2b
lea esi, [esp + 0x3c]
call fcn.10005c10
cmp dword [eax + 0x18], ebx
jb 0x10005aa6
mov eax, dword [eax + 4]
jmp 0x10005aa9
add eax, 4
push 0x100
push eax
lea edx, [esp + 0x94]
push edx
call fcn.100172a0
add esp, 0xc
cmp dword [esp + 0x50], ebx
jb case.default.0x10005a31
mov eax, dword [esp + 0x3c]
push eax
jmp 0x10005b47
push 0x23
lea esi, [esp + 0x74]
call fcn.10005c10
cmp dword [eax + 0x18], ebx
jb 0x10005ae5
mov eax, dword [eax + 4]
jmp 0x10005ae8
add eax, 4
push 0x100
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.100172a0
add esp, 0xc
cmp dword [esp + 0x88], ebx
jb case.default.0x10005a31
mov edx, dword [esp + 0x74]
push edx
jmp 0x10005b47
push 0x24
lea esi, [esp + 0x20]
call fcn.10005c10
cmp dword [eax + 0x18], ebx
jb 0x10005b23
mov eax, dword [eax + 4]
jmp 0x10005b26
add eax, 4
push 0x100
push eax
lea eax, [esp + 0x94]
push eax
call fcn.100172a0
add esp, 0xc
cmp dword [esp + 0x34], ebx
jb case.default.0x10005a31
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1000a6ea
add esp, 4
lea eax, [esp + 0x8c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10005b60
sub eax, edx
push eax
lea edx, [esp + 0x90]
push edx
mov ecx, ebp
call fcn.10002570
lea eax, [esp + 0x1a4]
push eax
lea edi, [esp + 0x20]
call fcn.10009d80
add esp, 4
push eax
mov esi, ebp
mov byte [esp + 0x19c], 2
call fcn.10008370
cmp dword [esp + 0x34], ebx
jb 0x10005bb2
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1000a6ea
add esp, 4
cmp dword [esp + 0x1bc], ebx
jb 0x10005bcb
mov edx, dword [esp + 0x1a8]
push edx
call fcn.1000a6ea
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.10015adf
add esp, 0x188
ret 0x20
Function at 0x10005a38
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10030a95
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x1003cb10]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003cb10]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1a0]
xor ecx, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ecx
mov eax, 1
mov dword [esp + 0x198], eax
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ecx
mov byte [ebp + 4], cl
push ecx
mov dword [esp + 0x18], eax
call fcn.100174e1
push eax
call fcn.100174b2
add esp, 8
call fcn.100174bf
cdq
mov ecx, 5
idiv ecx
lea ebx, [ecx + 0xb]
cmp edx, 4
ja case.default.0x10005a31
jmp dword [edx*4 + 0x10005bf8]
lea edx, [esp + 0x8c]
push edx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp case.default.0x10005a31
push 0x1a
lea esi, [esp + 0x58]
call fcn.10005c10
cmp dword [eax + 0x18], ebx
jb 0x10005a65
mov eax, dword [eax + 4]
jmp 0x10005a68
add eax, 4
push 0x100
push eax
lea eax, [esp + 0x94]
push eax
call fcn.100172a0
add esp, 0xc
cmp dword [esp + 0x6c], ebx
jb case.default.0x10005a31
mov ecx, dword [esp + 0x58]
jmp 0x10005b46
push 0x2b
lea esi, [esp + 0x3c]
call fcn.10005c10
cmp dword [eax + 0x18], ebx
jb 0x10005aa6
mov eax, dword [eax + 4]
jmp 0x10005aa9
add eax, 4
push 0x100
push eax
lea edx, [esp + 0x94]
push edx
call fcn.100172a0
add esp, 0xc
cmp dword [esp + 0x50], ebx
jb case.default.0x10005a31
mov eax, dword [esp + 0x3c]
push eax
jmp 0x10005b47
push 0x23
lea esi, [esp + 0x74]
call fcn.10005c10
cmp dword [eax + 0x18], ebx
jb 0x10005ae5
mov eax, dword [eax + 4]
jmp 0x10005ae8
add eax, 4
push 0x100
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.100172a0
add esp, 0xc
cmp dword [esp + 0x88], ebx
jb case.default.0x10005a31
mov edx, dword [esp + 0x74]
push edx
jmp 0x10005b47
push 0x24
lea esi, [esp + 0x20]
call fcn.10005c10
cmp dword [eax + 0x18], ebx
jb 0x10005b23
mov eax, dword [eax + 4]
jmp 0x10005b26
add eax, 4
push 0x100
push eax
lea eax, [esp + 0x94]
push eax
call fcn.100172a0
add esp, 0xc
cmp dword [esp + 0x34], ebx
jb case.default.0x10005a31
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1000a6ea
add esp, 4
lea eax, [esp + 0x8c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10005b60
sub eax, edx
push eax
lea edx, [esp + 0x90]
push edx
mov ecx, ebp
call fcn.10002570
lea eax, [esp + 0x1a4]
push eax
lea edi, [esp + 0x20]
call fcn.10009d80
add esp, 4
push eax
mov esi, ebp
mov byte [esp + 0x19c], 2
call fcn.10008370
cmp dword [esp + 0x34], ebx
jb 0x10005bb2
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1000a6ea
add esp, 4
cmp dword [esp + 0x1bc], ebx
jb 0x10005bcb
mov edx, dword [esp + 0x1a8]
push edx
call fcn.1000a6ea
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.10015adf
add esp, 0x188
ret 0x20