joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a360
Capabilities:
Create thread
Resume thread

Disassembly:
push edi
mov edi, eax
mov eax, dword [edi]
test eax, eax
jne 0x42a36d
xor al, al
pop edi
ret
cmp dword [eax + 4], 0
je 0x42a369
push esi
lea ecx, [eax + 0xc]
push ecx
push 4
push eax
push 0x42a260
push 0
push 0
call fcn.004545af
mov edx, dword [edi]
mov dword [edx + 0x10], eax
mov eax, dword [edi]
add esp, 0x18
cmp dword [eax + 0x10], 0
jne 0x42a3c2
or esi, 0xffffffff
mov dword [eax + 0x10], esi
mov edi, dword [edi]
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x42a3b2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10], esi
pop esi
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
xor al, al
pop edi
ret
mov byte [eax + 8], 1
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x42a3e4
mov esi, dword [edi]
call fcn.0042a2f0
mov edx, dword [edi]
mov byte [edx + 8], 0
pop esi
mov al, 1
pop edi
ret

Function at 0x42ada0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0x42adb1
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0x42adcf
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x42ae06
test ecx, ecx
je 0x42adff
test esi, esi
ja 0x42adc0
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x42d8f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x48e4a0], ecx
inc edx
cmp edx, 0x100
jb 0x42d8f3
cmp edx, 0x800
jae 0x42d9c9
lea ecx, [ecx]
mov eax, dword [edx*4 + 0x48e0a0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x48e4a0]
inc edx
mov dword [edx*4 + 0x48e49c], eax
cmp edx, 0x800
jb 0x42d9a0
mov dword [0x48cec8], 0x42e470
call fcn.0042e640
test eax, eax
jne 0x42d9e6
mov dword [0x48cec8], 0x42e520
pop ecx
ret
Function at 0x42da40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x488900]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x14]
push edi
mov ebx, edx
mov edx, dword [eax + 0x10]
push ecx
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], ebx
call fcn.00430680
xor edi, edi
add esp, 4
cmp eax, edi
jne 0x42dbbb
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xa8]
mov eax, 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x78], eax
nop
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], 0x40000
cmp dword [esp + 0xac], edi
ja 0x42daf3
jb 0x42daef
cmp ebx, 0x40000
jae 0x42daf3
mov dword [esp + 0x14], ebx
mov edx, dword [ebp]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
call edx
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x42dba7
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0xb8]
push 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
lea eax, [esp + 0x3c]
call fcn.004302f0
mov esi, eax
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x28], eax
add esp, 0x14
sub ebx, eax
sbb dword [esp + 0xac], 0
test esi, esi
jne 0x42dba7
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x4c], ecx
je 0x42db84
test eax, eax
jne 0x42db6d
cmp edi, dword [esp + 0x4c]
je 0x42db84
mov edx, dword [ebp + 4]
push eax
push ebp
call edx
mov esi, eax
add esp, 8
test esi, esi
jne 0x42dba7
xor edi, edi
jmp 0x42dad0
cmp ecx, dword [esp + 0xb4]
jne 0x42dba2
cmp dword [esp + 0x14], 0
jne 0x42dba2
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x42dba7
cmp eax, 4
je 0x42dba7
mov esi, 1
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
push eax
call ecx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00452675
add esp, 0x90
ret
Function at 0x42dbe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb0
mov eax, dword [0x488900]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
push ebx
push ebp
mov ebp, dword [esp + 0xc8]
push esi
push edi
xor ebx, ebx
mov edi, 1
mov esi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
cmp dword [eax + 0x14], edi
je 0x42dc27
mov eax, edi
jmp 0x42dd7d
mov eax, dword [eax + 0x10]
movzx ecx, byte [eax]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0042e6d0
add esp, 4
cmp eax, ebx
jne 0x42dd7d
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x78], edi
lea esp, [esp]
mov eax, 0x40000
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
cmp dword [esp + 0xcc], ebx
ja 0x42dcbc
jb 0x42dcb1
cmp dword [esp + 0xc8], eax
jae 0x42dcbc
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
call eax
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x42dd69
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
lea esi, [esp + 0x38]
call fcn.0042e880
mov esi, eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x24], eax
add esp, 0x10
sub dword [esp + 0xc8], eax
sbb dword [esp + 0xcc], ebx
cmp esi, ebx
jne 0x42dd69
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x4c], ecx
je 0x42dd4e
cmp eax, ebx
jne 0x42dd38
cmp edi, dword [esp + 0x4c]
je 0x42dd4e
push eax
mov eax, dword [ebp + 4]
push ebp
call eax
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x42dc90
jmp 0x42dd69
cmp ecx, dword [esp + 0xd4]
jne 0x42dd64
cmp dword [esp + 0x14], ebx
jne 0x42dd64
cmp dword [esp + 0x20], 1
je 0x42dd69
mov esi, 1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00452675
add esp, 0xb0
ret
Function at 0x42eb70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push ebp
push esi
mov esi, dword [ecx]
xor ebp, ebp
and esi, 7
cmp eax, 5
jae 0x42eb8d
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x14]
push ebx
lea ebx, [edx + eax - 4]
push edi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], ebx
lea edi, [edx + ebp]
cmp edi, ebx
jae 0x42ebbd
lea ebx, [ebx]
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x42ebbd
inc edi
cmp edi, ebx
jb 0x42ebb0
mov ebp, edi
sub ebp, edx
mov eax, ebp
sub eax, dword [esp + 0x10]
cmp edi, ebx
jae 0x42ecc5
cmp eax, 3
jbe 0x42ebf0
xor esi, esi
mov al, byte [edi + 4]
mov dword [esp + 0x10], ebp
test al, al
je 0x42ec2b
cmp al, 0xff
je 0x42ec2b
and esi, 3
add esi, esi
or esi, 1
inc ebp
jmp 0x42eba3
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x42ebd6
movzx ecx, byte [esi + 0x478250]
mov eax, edi
sub eax, ecx
cmp byte [esi + 0x478248], 0
mov al, byte [eax + 4]
je 0x42ec19
test al, al
je 0x42ec19
cmp al, 0xff
jne 0x42ebd6
and esi, 3
add esi, esi
mov dword [esp + 0x10], ebp
or esi, 1
inc ebp
jmp 0x42eba3
movzx ecx, byte [edi + 3]
movzx edx, al
movzx eax, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
lea esp, [esp]
sub edx, ebp
sub edx, 5
mov eax, edx
test esi, esi
je 0x42ec97
movzx edx, byte [esi + 0x478250]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
test bl, bl
je 0x42ec7c
cmp bl, 0xff
jne 0x42ec93
mov ebx, dword [esp + 0x14]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x42ec50
mov ebx, dword [esp + 0x14]
mov edx, eax
shr edx, 0x18
and dl, 1
dec dl
not dl
mov byte [edi + 4], dl
mov edx, eax
shr edx, 8
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x1c]
mov byte [edi + 3], cl
mov byte [edi + 1], al
add ebp, 5
jmp 0x42eba3
pop edi
pop ebx
cmp eax, 3
jbe 0x42ecdc
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
lea ecx, [eax - 1]
mov eax, dword [esp + 0x18]
shl esi, cl
and esi, 7
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret

Function at 0x434ecc
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x434ef7
call fcn.00439d4d
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x434f1a
push eax
push dword [esi + 4]
call fcn.00434e52
push esi
push eax
mov ecx, 0x48a144
call fcn.00434ad2
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x43599a
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x46b23c
call fcn.00454e64
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.0043595a
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401b50
push dword [esi + 8]
mov edi, dword [edi + 8]
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x435a01
push eax
push dword [esi + 8]
call fcn.00434e52
push dword [esi + 0xc]
mov ecx, 0x48a144
push eax
call fcn.00434ad2
mov eax, esi
call fcn.00454f3c
ret 0x1c

Function at 0x43835b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4383a3
call fcn.00439d4d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4383a3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4383e6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4383cf
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4383cf
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4383e3
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43a6af
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46c1f5
call fcn.00454e64
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x43a6d4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43a71a
lea ecx, [ebp - 0x10]
call fcn.00401b50
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00434700
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401160
mov eax, esi
call fcn.00454f3c
ret 8
Function at 0x44079a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4407e1
call fcn.00439d4d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4407e1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4407fd
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00440312
mov esi, eax
test edi, edi
je 0x4407fb
test ebx, ebx
je 0x4407fb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45066d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x450691
cmp dword [edi + 0x54], 0
jne 0x450691
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00439d4d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0045062e
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x452675
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x488900]
jne 0x45267f
repz ret
jmp fcn.00458dce
Function at 0x4649f0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00458732
and dword [ebp - 4], 0
cmp dword [0x48cbf8], 0
mov ebx, eax
jne 0x464aa1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x464b52
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x464b52
push eax
call fcn.004586c0
mov dword [esp], 0x474bf8
push edi
mov dword [0x48cbf8], eax
call esi
push eax
call fcn.004586c0
mov dword [esp], 0x474be4
push edi
mov dword [0x48cbfc], eax
call esi
push eax
call fcn.004586c0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48cc00], eax
call esi
push eax
call fcn.004586c0
pop ecx
mov dword [0x48cc08], eax
test eax, eax
je 0x464aa1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004586c0
pop ecx
mov dword [0x48cc04], eax
mov eax, dword [0x48cc04]
cmp eax, ebx
je 0x464af9
cmp dword [0x48cc08], ebx
je 0x464af9
push eax
call fcn.0045873b
push dword [0x48cc08]
mov esi, eax
call fcn.0045873b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x464af9
test edi, edi
je 0x464af9
call esi
test eax, eax
je 0x464af0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x464af0
test byte [ebp - 0xc], 1
jne 0x464af9
or dword [ebp + 0x10], 0x200000
jmp 0x464b32
mov eax, dword [0x48cbfc]
cmp eax, ebx
je 0x464b32
push eax
call fcn.0045873b
pop ecx
test eax, eax
je 0x464b32
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x464b32
mov eax, dword [0x48cc00]
cmp eax, ebx
je 0x464b32
push eax
call fcn.0045873b
pop ecx
test eax, eax
je 0x464b32
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48cbf8]
call fcn.0045873b
pop ecx
test eax, eax
je 0x464b52
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x464b54
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x436dc0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4cf22c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x436de2
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x436f6d
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x436fb7
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov esi, 0x4baea8
mov edx, edi
lea eax, [esi + 1]
mov dword [ebp - 0x124], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x436e15
sub esi, dword [ebp - 0x124]
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x124], ebx
jb 0x436e36
mov eax, dword [ebx]
mov dword [ebp - 0x124], eax
test esi, esi
je 0x436eb6
cmp ecx, edx
jae 0x436eb6
push 0x100
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0047e610
xor edx, edx
lea eax, [esi + 0x4baea8]
add esp, 0xc
mov ecx, 0x4baea8
cmp eax, ecx
cmovb esi, edx
test esi, esi
je 0x436e83
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
inc edx
mov byte [ebp + eax - 0x120], 1
cmp edx, esi
jne 0x436e70
mov esi, dword [ebp - 0x124]
mov eax, dword [ebp - 0x128]
add eax, esi
lea edx, [esi + edi]
cmp eax, edx
jae 0x436eb6
nop dword [eax + eax]
movzx ecx, byte [eax]
cmp byte [ebp + ecx - 0x120], 0
jne 0x436f80
inc eax
cmp eax, edx
jb 0x436ea0
or eax, 0xffffffff
cmp eax, 0xffffffff
mov dword [ebp - 0xc], 0
mov esi, edi
mov dword [ebp - 8], 0xf
cmovne esi, eax
mov byte [ebp - 0x1c], 0
cmp edi, esi
mov eax, esi
mov ecx, ebx
cmovb eax, edi
cmp dword [ebx + 0x14], 0x10
jb 0x436ee4
mov ecx, dword [ebx]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040b740
cmp dword [ebp - 0xc], 0
je 0x436f23
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x436f23
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.00489b74
add esp, 4
test eax, eax
jne 0x436f87
mov edx, dword [ebp - 8]
lea ecx, [esi + 1]
mov dword [ebp - 0x128], ecx
cmp edx, 0x10
jb 0x436f62
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x436f52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436fca
push edx
push ecx
call fcn.00466e3f
mov ecx, dword [ebp - 0x128]
add esp, 8
mov edi, dword [ebx + 0x10]
cmp ecx, edi
jb 0x436e05
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004667cd
mov esp, ebp
pop ebp
ret
sub eax, esi
jmp 0x436eb9
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x436fb7
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x436fad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436fca
push edx
push ecx
call fcn.00466e3f
add esp, 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004667cd
mov esp, ebp
pop ebp
ret
call fcn.004852a9
int3
Function at 0x10050d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1025ce0]
push esi
push 0x100
mov dword [ebp - 4], eax
lea eax, [ebp - 0x204]
push eax
mov esi, ecx
push 0xbb7
push dword [esi + 0x2c]
call fcn.0101e4e1
test eax, eax
jne 0x1005114
lea eax, [ebp - 0x204]
push 0x10050b8
push eax
call fcn.010136fb
pop ecx
pop ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.01013717
mov esi, dword [esi + 4]
add esp, 0xc
push 0x10010
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 8]
push esi
call fcn.0101e2b9
dec eax
pop esi
je 0x1005158
dec eax
dec eax
je 0x1005158
dec eax
jne 0x1005167
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x1005167
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
call fcn.0101339b
leave
ret 8

Function at 0x100750c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x1025ce0]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xa4]
cmp esi, ebx
mov dword [ebp + 0x98], eax
push edi
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], ebx
je 0x1007618
mov edi, dword [ebp + 0xa8]
cmp edi, ebx
je 0x1007618
lea eax, [ebp - 0x74]
push eax
mov word [esi], bx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x100760b
mov eax, dword [ebp - 0x74]
cmp eax, ebx
je 0x1007618
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x80]
push edx
lea edx, [ebp + 0xa4]
push edx
push 0x10074ba
push ebx
push ebx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x10075a2
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
lea edx, [ebp - 0x70]
push edx
push 1
push dword [ebp - 0x80]
push eax
call dword [ecx + 0x2c]
test eax, eax
jge 0x10075ce
lea eax, [ebp - 0x78]
push eax
push 5
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x100760b
cmp dword [ebp - 0x78], ebx
je 0x100760b
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
lea edx, [ebp - 0x70]
push edx
push 1
push dword [ebp - 0x78]
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x100760b
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push eax
call fcn.0100894e
test eax, eax
jl 0x100760b
push edi
push dword [ebp - 0x7c]
push esi
call fcn.01013786
add esp, 0xc
push dword [ebp - 0x7c]
mov word [esi + edi*2 - 2], bx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x100761a
mov eax, dword [ebp - 0x74]
cmp eax, ebx
je 0x1007618
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
pop ebx
call fcn.0101339b
add ebp, 0x9c
leave
ret 8