joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5027b0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
cmp esi, 0x7f
ja 0x5027c9
push esi
call fcn.00594f26
add esp, 4
test eax, eax
je 0x5027c9
xor al, al
pop esi
ret
cmp esi, 0x25
je 0x502841
cmp esi, 0x5e
je 0x502841
cmp esi, 0x26
je 0x502841
cmp esi, 0x2a
je 0x502841
cmp esi, 0x28
je 0x502841
cmp esi, 0x29
je 0x502841
cmp esi, 0x2d
je 0x502841
cmp esi, 0x2b
je 0x502841
cmp esi, 0x3d
je 0x502841
cmp esi, 0x7c
je 0x502841
cmp esi, 0x7b
je 0x502841
cmp esi, 0x7d
je 0x502841
cmp esi, 0x5b
je 0x502841
cmp esi, 0x5d
je 0x502841
cmp esi, 0x3a
je 0x502841
cmp esi, 0x3b
je 0x502841
cmp esi, 0x3c
je 0x502841
cmp esi, 0x3e
je 0x502841
cmp esi, 0x2c
je 0x502841
cmp esi, 0x2f
je 0x502841
cmp esi, 0x3f
je 0x502841
cmp esi, 0x21
je 0x502841
cmp esi, 0x2e
je 0x502841
cmp esi, 0x7e
jne 0x5027c5
mov al, 1
pop esi
ret
Function at 0x50a9c0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
cmp esi, 0x80
jge 0x50a9dc
push esi
call fcn.00594f26
add esp, 4
test eax, eax
je 0x50a9dc
xor al, al
pop esi
ret
cmp esi, 0x2a
je 0x50aa36
cmp esi, 0x2f
je 0x50aa36
cmp esi, 0x2d
je 0x50aa36
cmp esi, 0x2b
je 0x50aa36
cmp esi, 0x28
je 0x50aa36
cmp esi, 0x29
je 0x50aa36
cmp esi, 0x3d
je 0x50aa36
cmp esi, 0x5e
je 0x50aa36
cmp esi, 0x5b
je 0x50aa36
cmp esi, 0x5d
je 0x50aa36
cmp esi, 0x3c
je 0x50aa36
cmp esi, 0x26
je 0x50aa36
cmp esi, 0x3e
je 0x50aa36
cmp esi, 0x2c
je 0x50aa36
cmp esi, 0x7c
je 0x50aa36
cmp esi, 0x7e
je 0x50aa36
cmp esi, 0x25
je 0x50aa36
cmp esi, 0x3a
jne 0x50a9d8
mov al, 1
pop esi
ret

Function at 0x50ad00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0f79
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5bd344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [eax], 0x44c940
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov dword [eax + 0x14], 0xffffffff
mov dword [ebp - 4], 0
mov dword [eax + 0x414], 0
mov dword [eax + 0x418], 0
mov dword [eax + 0x41c], 0
mov byte [eax + 0x420], 0
mov dword [eax + 0x424], 0xffffffff
mov dword [eax + 0x824], 0
mov dword [eax + 0x828], 0
mov dword [eax + 0x82c], 0
mov byte [eax + 0x830], 0
mov dword [eax + 0x834], 0xffffffff
mov dword [eax + 0xc34], 0
mov dword [eax + 0xc38], 0
mov dword [eax + 0xc3c], 0
mov byte [eax + 0xc40], 0
mov dword [eax + 0xc44], 0xffffffff
mov dword [eax + 0x1044], 0
mov dword [eax + 0x1048], 0
mov dword [eax + 0x104c], 0
mov byte [eax + 0x1050], 0
mov dword [eax + 0x1054], 0xffffffff
mov dword [eax + 0x1454], 0
mov dword [eax + 0x1458], 0
mov dword [eax + 0x145c], 0
mov byte [eax + 0x1460], 0
mov dword [eax + 0x1464], 0xffffffff
mov dword [eax + 0x1864], 0
mov dword [eax + 0x1868], 0
mov dword [eax + 0x186c], 0
mov byte [eax + 0x1870], 0
mov dword [eax + 0x1874], 0xffffffff
mov dword [eax + 0x1c74], 0
mov dword [eax + 0x1c78], 0
mov dword [eax + 0x1c7c], 0
mov byte [eax + 0x1c80], 0
mov dword [eax + 0x1c84], 0xffffffff
lea ebx, [eax + 0x2084]
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0xf
mov byte [ebx + 0x34], 0
push 0
push 0x41695d
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.004ad0f0
push 0
push 0x41695d
lea ecx, [ebx + 0x1c]
mov dword [ebx + 0x18], 0x100
call fcn.004ad0f0
push 0
push 0x41695d
lea ecx, [ebx + 0x34]
call fcn.004ad0f0
mov word [ebx + 0x4c], 0x100
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x20d4]
call fcn.0050aa40
mov eax, dword [ebp + 8]
mov dword [esi + 0x2110], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x517340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1248
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5bd344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0xc]
or ebx, 0xffffffff
xor esi, esi
mov dword [ebp - 0x10], ebx
mov edx, dword [edi + 4]
mov ecx, edx
mov eax, dword [edi]
sub ecx, eax
sar ecx, 3
test ecx, ecx
je 0x5173ad
mov eax, dword [eax + esi*8]
cmp eax, 4
je 0x5173a6
cmp eax, 3
je 0x5173a6
cmp eax, 0x11
je 0x5173a6
cmp eax, 0x10
je 0x5173a6
mov eax, dword [edi]
inc esi
cmp esi, ecx
jae 0x5173ad
jmp 0x517386
mov eax, dword [edi]
mov ebx, esi
mov dword [ebp - 0x10], ebx
cmp ebx, 0xffffffff
mov ebx, dword [ebp + 8]
je 0x51741c
mov ecx, dword [ebp - 0x10]
push dword [ebx + 0x30]
mov esi, dword [eax + ecx*8]
mov ecx, dword [ebx + 0x1c]
cmp dword [ebx + 0xc], ecx
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [ebx]
call fcn.004e5610
mov dword [ebx + 0x30], esi
mov edx, dword [edi + 4]
mov eax, edx
mov ecx, dword [edi]
sub eax, ecx
sar eax, 3
cmp eax, dword [ebp - 0x10]
jbe 0x51741c
mov esi, dword [ebp + 0x10]
nop word [eax + eax]
cmp ecx, edx
je 0x517405
lea eax, [edx - 8]
mov dword [edi + 4], eax
cmp dword [edi], eax
je 0x517405
add eax, 0xfffffff8
mov dword [esi], eax
jmp 0x51740b
mov dword [esi], 0
mov edx, dword [edi + 4]
mov eax, edx
mov ecx, dword [edi]
sub eax, ecx
sar eax, 3
cmp eax, dword [ebp - 0x10]
ja 0x5173f0
cmp dword [edi], edx
je 0x517483
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
mov eax, dword [ebx + 0x20]
push edi
mov dword [ebp - 0x28], eax
call fcn.00519340
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x894]
call fcn.00519b50
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x894]
call fcn.00519bd0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0049f3d0
jmp 0x517486
mov edi, dword [ebp - 0x14]
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x5174a1
cmp esi, 6
je 0x5174a1
cmp esi, 7
je 0x5174a1
cmp esi, 0x12
je 0x5174a1
cmp esi, 0x13
jne 0x5174ba
mov ecx, dword [ebx + 0x1c]
cmp dword [ebx + 0xc], ecx
push esi
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [ebx]
call fcn.004e5610
mov dword [ebx + 0x30], esi
cmp esi, 4
je 0x5174ce
cmp esi, 3
je 0x5174ce
cmp esi, 0x11
je 0x5174ce
cmp esi, 0x10
jne 0x517523
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
jne 0x517520
cmp byte [edi + 0x82c], 0
jne 0x517520
mov ecx, ebx
mov dword [ebx + 0x30], 0xd
call fcn.004e9800
mov ecx, dword [ebx + 0x1c]
cmp dword [ebx + 0xc], ecx
push dword [ebx + 0x30]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [ebx]
call fcn.004e5610
mov dword [ebx + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov byte [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5280a0
Capabilities:
Access peb ldr_data

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 0x5b1728
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc
push esi
mov eax, dword [0x5bd344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x18], 0x44dcc0
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], 0
test al, 1
je 0x528153
mov edx, dword [ecx]
push dword [esi + 0x34]
movups xmm0, xmmword [ebx + 0x14]
test al, 4
je 0x528135
push dword [esi + 0x30]
lea eax, [ebp - 0x18]
push dword [ebx + 0xc]
push dword [ebx + 8]
push ecx
movss dword [esp], xmm2
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test al, 4
je 0x52817b
push dword [esi + 0x30]
movups xmm0, xmmword [ebx + 0x14]
mov edx, dword [ecx]
lea eax, [ebp - 0x18]
push dword [ebx + 0xc]
push dword [ebx + 8]
push ecx
movss dword [esp], xmm2
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x5283b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b17d5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5bd344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], 0x44dc48
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 1
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea ebx, [edi + 0x34]
mov dword [ebp - 0x10], ebx
lea ecx, [ebx + 8]
mov dword [ebx], 0x44dc84
mov dword [ebx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 4
push ecx
push 0
mov dword [ebx + 0x18], 0xffffffff
mov dword [ebx + 0x1c], 0
mov byte [ebx + 0x14], 0
call fcn.005345e0
lea esi, [edi + 0x54]
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
mov byte [ebp - 4], 6
mov ecx, esi
push 0x400
mov dword [esi + 0xc], 1
call fcn.00534330
mov byte [esi + 0x10], 1
mov byte [ebp - 4], 7
mov dword [edi + 0x14], 2
mov word [edi + 0x18], 0x100
mov byte [edi + 0x1a], 1
mov dword [edi + 0x1c], 1
mov dword [edi + 0x20], 0
mov word [edi + 0x24], 0x101
mov byte [edi + 0x26], 0
cmp dword [ebx + 4], 1
mov byte [ebx + 0x14], 0
je 0x528503
mov dword [ebx + 4], 1
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x10], eax
cmp esi, eax
je 0x5284fd
mov ecx, dword [esi]
test ecx, ecx
je 0x5284f3
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x10]
add esi, 4
cmp esi, eax
jne 0x5284e4
mov esi, dword [ebx + 8]
mov dword [ebx + 0xc], esi
lea esi, [edi + 0x54]
mov ecx, esi
call fcn.00533a70
push esi
push 0x400
mov ecx, esi
call fcn.00534330
mov dword [edi + 0x68], 4
mov eax, edi
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x531720
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

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 0x5b1b0c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x5bd344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
lea esi, [edi + 0x10]
mov dword [edi], 0x44dc64
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004e3f80
mov dword [esi], eax
lea edx, [esi + 0x208]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [esi + 8]
call fcn.005342a0
mov dword [ebp - 4], 0
lea esi, [edi + 0x238]
mov word [edi + 0x218], 0
mov dword [edi + 0x21c], 0x1f4
mov dword [edi + 0x220], 0xffffffff
mov dword [edi + 0x224], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 2
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
sub esp, 0xc
mov dword [ebp - 0x24], ecx
mov eax, esp
mov dword [ebp - 0x1c], ecx
mov ecx, esi
movups xmm1, xmmword [ebp - 0x28]
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov word [esi + 0x2c], 0
mov dword [esi + 0x30], 1
movups xmmword [ebp - 0x28], xmm1
movups xmmword [eax], xmm1
call fcn.004a2870
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x531865
movups xmmword [eax], xmm1
add dword [esi + 4], 0x10
jmp 0x531871
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, esi
call fcn.004a30e0
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 4
dec eax
mov dword [esi + 0x28], eax
mov dword [edi + 0x27c], 0x44dc28
mov dword [edi + 0x280], 0
mov dword [edi + 0x284], 0
mov dword [edi + 0x288], 0
mov dword [edi + 0x28c], 0
mov dword [edi + 0x290], 0
mov dword [edi + 0x294], 1
mov byte [ebp - 4], 4
mov dword [edi + 0x298], 0
mov dword [edi + 0x29c], 0
mov byte [edi + 4], 0
mov dword [edi + 8], 0
mov byte [edi + 0xc], 0
mov dword [edi + 0x220], 0xffffffff
mov dword [edi + 0x224], 0
mov dword [edi + 0x228], 0xffffffff
mov dword [edi + 0x22c], 0xffffffff
push 0x240
mov dword [edi + 0x230], 0x23
mov dword [edi + 0x234], 0
mov byte [edi + 0x26c], 1
mov dword [edi + 0x270], 0
mov dword [edi + 0x274], 0
mov dword [edi + 0x278], 0
mov dword [edi + 0x298], 0xffffffff
mov dword [edi + 0x29c], 0xffffffff
mov dword [edi + 0x2a0], 0xffffffff
mov dword [edi + 0x2a4], 0x7ffffff
call fcn.0057eb4e
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004a5d00
mov dword [edi + 0x2a8], eax
inc dword [eax + 0xc]
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
Function at 0x532890
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1bbc
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5bd344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x44dc7c
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x10], 0
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov word [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 3
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0x7ffffff
mov dword [esi + 0x4c], 1
mov dword [esi + 0x50], 0
mov word [esi + 0x3c], 0
cmp edi, dword [esi + 0x14]
jle 0x5329cd
call fcn.00532ab0
lea ebx, [edi + 1]
push ebx
call fcn.0057eb8c
mov ecx, dword [esi + 0x30]
add esp, 4
mov dword [esi + 0x30], eax
test ecx, ecx
je 0x53297f
push ecx
call fcn.0057e94e
add esp, 4
push ebx
call fcn.0057eb8c
mov ecx, dword [esi + 0x34]
add esp, 4
mov dword [esi + 0x34], eax
test ecx, ecx
je 0x53299b
push ecx
call fcn.0057e94e
add esp, 4
xor ecx, ecx
lea eax, [edi + 2]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0057eb8c
mov ecx, dword [esi + 0x38]
add esp, 4
mov dword [esi + 0x38], eax
test ecx, ecx
je 0x5329ca
push ecx
call fcn.0057e94e
add esp, 4
mov dword [esi + 0x14], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x537ce3
Capabilities:
Check if file exists

Disassembly:
push 0x218
mov eax, 0x5b1f10
call fcn.0057f468
mov ebx, ecx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], ebx
call fcn.00539fb6
and dword [ebp - 4], 0
mov dword [ebx], 0x4011f8
call fcn.0045d8a0
push eax
lea ecx, [ebx + 0x10]
call fcn.00462cc0
mov byte [ebp - 4], 1
call fcn.0045d8a0
push eax
lea ecx, [ebx + 0x14]
call fcn.00462cc0
mov byte [ebp - 4], 2
call fcn.0045d8a0
push eax
lea ecx, [ebx + 0x18]
call fcn.00462cc0
mov byte [ebp - 4], 3
call fcn.0045d8a0
push eax
lea ecx, [ebx + 0x1c]
call fcn.00462cc0
push 0
mov byte [ebp - 4], 4
call fcn.00594b15
push eax
call fcn.0058b6b6
mov esi, 0x100
lea eax, [ebp - 0x110]
push esi
push 0
push eax
call fcn.00583650
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.0053bee5
add esp, 0x1c
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], eax
lea ecx, [ebp - 0x214]
lea eax, [ebp - 0x110]
push 3
push eax
call fcn.0053919e
push dword [ebp - 0x214]
mov byte [ebp - 4], 5
call fcn.00463100
pop ecx
push eax
push dword [ebp - 0x214]
lea ecx, [ebx + 0x10]
call fcn.004631c0
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x214], eax
je 0x537de5
push dword [ebp - 0x214]
call fcn.0058a352
pop ecx
xor eax, eax
lea ecx, [ebx + 0x14]
inc eax
xor esi, esi
push 0x16
push 0x401294
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], esi
call fcn.004631c0
push 0x1b
push 0x4012c4
lea ecx, [ebx + 0x18]
call fcn.004631c0
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.005389fa
push 0x401260
push eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push eax
call fcn.00487a40
mov ecx, dword [ebp - 0x21c]
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.0045d880
push dword [ebp - 0x218]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x218]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.0045d880
test esi, esi
je 0x537e8a
push 0x15
push 0x4012fc
lea ecx, [ebx + 0x14]
call fcn.004631c0
push 0x1a
push 0x401328
lea ecx, [ebx + 0x18]
call fcn.004631c0
xor edi, edi
lea esi, [ebx + 0x20]
push edi
push edi
push edi
push esi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
call fcn.00538ade
add esp, 0x10
test eax, eax
jne 0x537ea7
mov dword [esi], edi
mov dword [ebx + 0x40], edi
mov eax, ebx
mov dword [ebx + 0x44], edi
call fcn.0057f423
ret
Function at 0x5387d5
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xc
mov eax, 0x5b208c
call fcn.0057f434
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00462a00
push dword [ebp - 0x10]
and dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x53886b
push eax
jmp 0x53885a
call fcn.0045d8a0
push eax
lea ecx, [ebp - 0x14]
call fcn.00462cc0
inc edi
mov byte [ebp - 4], 1
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00487bc0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00488260
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0045d880
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x53884d
push esi
call fcn.0059475d
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.0045d880
push edi
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00487cf0
mov edi, eax
cmp edi, 0xffffffff
jne 0x538800
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0045d880
call fcn.0057f40e
ret
Function at 0x538ade
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0xc]
push 0x401278
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x10]
push 0x401288
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x128], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 9
mov dword [ebp - 0x124], eax
lea edi, [ebp - 0x158]
pop eax
mov ecx, eax
xor ebx, ebx
xor eax, eax
push 0x118
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.00583650
mov eax, dword [ebp - 0x124]
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
test eax, eax
je 0x538b7c
lea ecx, [ebp - 0x120]
push ecx
call eax
test eax, eax
jns 0x538b91
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x538d1e
test esi, esi
je 0x538ba6
mov edi, dword [ebp - 0x128]
lea esi, [ebp - 0x120]
push 0x47
pop ecx
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx esi, word [ebp - 0xc]
xor ecx, ecx
cmp dword [ebp - 0x140], 0x21d8
push 2
sete cl
pop edx
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x110], edx
jne 0x538cc4
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jne 0x538c03
cmp dword [ebp - 0x118], ebx
jne 0x538cf7
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0x11
jmp 0x538cf7
cmp eax, 6
jne 0x538c69
mov eax, dword [ebp - 0x118]
cmp eax, 3
jne 0x538c24
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0xf
jmp 0x538cf7
cmp eax, edx
jne 0x538c39
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0xd
jmp 0x538cf7
cmp eax, 1
jne 0x538c4e
xor ebx, ebx
cmp byte [ebp - 6], al
setne bl
add ebx, 0xb
jmp 0x538cf7
test eax, eax
jne 0x538cf7
xor ebx, ebx
cmp byte [ebp - 6], 1
push 9
setne bl
pop eax
add ebx, eax
jmp 0x538cf7
cmp eax, 5
jne 0x538cba
mov eax, dword [ebp - 0x118]
cmp eax, edx
jne 0x538ca9
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x538c88
push 8
jmp 0x538ca0
cmp byte [ebp - 6], 1
jne 0x538c9e
push 9
pop eax
cmp word [ebp - 0x158], ax
jne 0x538c9e
push 6
jmp 0x538ca0
push 7
mov ecx, dword [ebp - 0x124]
pop ebx
jmp 0x538cf7
cmp eax, 1
jne 0x538cb2
push 6
jmp 0x538cc1
test eax, eax
jne 0x538cf7
push 5
jmp 0x538cc1
cmp eax, 4
ja 0x538cf7
push 4
pop ebx
jmp 0x538cf7
cmp dword [ebp - 0x110], 1
jne 0x538cf7
cmp dword [ebp - 0x11c], 4
jne 0x538cf7
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x538ce5
xor ebx, ebx
inc ebx
jmp 0x538cf7
cmp eax, 0xa
jne 0x538cee
mov ebx, edx
jmp 0x538cf7
push 3
cmp eax, 0x5a
pop edx
cmove ebx, edx
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x538d03
mov dword [eax], ebx
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x538d0f
mov dword [eax], esi
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x538d1b
mov dword [eax], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e93d
leave
ret
Function at 0x5390b3
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x5b223e
call fcn.0057f434
call fcn.0045d8a0
push eax
lea ecx, [ebp - 0x10]
call fcn.00462cc0
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.00462c80
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00487d30
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x539118
mov ecx, dword [ebp + 8]
push 0x41bcc8
call fcn.00462a00
lea ecx, [esi - 0x10]
call fcn.0045d880
mov eax, dword [ebp + 8]
jmp 0x539171
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.00487d80
cmp ax, 0x5c
je 0x539137
push 1
push 0x416964
lea ecx, [ebp - 0x10]
call fcn.004881b0
push 0xd
push 0x420b60
lea ecx, [ebp - 0x10]
call fcn.004881b0
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp - 0x10]
je 0x539156
push esi
call fcn.005387d5
pop ecx
lea edi, [esi - 0x10]
push edi
call fcn.00488a00
mov esi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, edi
mov dword [esi], eax
call fcn.0045d880
mov eax, esi
call fcn.0057f40e
ret

Function at 0x53a42d
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x5b240e
call fcn.0057f434
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.005389fa
and dword [ebp - 4], 0
push 0x401260
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00487a40
mov ecx, dword [ebp - 0x14]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.0045d880
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0045d880
mov eax, esi
call fcn.0057f40e
ret