joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002790
Capabilities:
Connect socket
Initialize winsock library
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x1002b518]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x298]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0
je 0x100027c9
jmp 0x10002937
mov dword [ebp - 0x2a0], 0
lea ecx, [ebp - 0x2a0]
push ecx
push 0
push str.1500
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0
je 0x100027ff
jmp 0x10002937
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0xffffffff
jne 0x10002837
jmp 0x10002937
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x2a4]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0
je 0x1000286c
jmp 0x10002937
push 0x104
push 0
lea edx, [ebp - 0x108]
push edx
call fcn.10007ba0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.GET__s__HTTP_1.1_nHost:__s_n_n
lea edx, [ebp - 0x108]
push edx
call fcn.100019a0
add esp, 0x10
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.1000a7b0
add esp, 4
push eax
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x2a4]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0xffffffff
jne 0x100028d5
jmp 0x10002937
push 1
mov eax, dword [ebp - 0x2a4]
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0xffffffff
jne 0x100028f5
jmp 0x10002937
mov ecx, dword [ebp - 0x2a4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0xffffffff
jne 0x10002913
jmp 0x10002937
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0xffffffff
jne 0x1000292a
jmp 0x10002937
mov edx, dword [ebp - 0x2a0]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006b80
mov esp, ebp
pop ebp
ret
Function at 0x100030a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
push 0
push 0x80
push 3
push 0
push 1
push connect
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100030e2
or ecx, 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], ecx
jmp 0x10003106
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x100031e0
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x1002b518]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1002b450
mov eax, dword [ebp + 8]
push eax
call fcn.10008274
add esp, 8
test eax, eax
je 0x100033a5
push 0x208
push 0
lea ecx, [ebp - 0x414]
push ecx
call fcn.10007ba0
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.10007ba0
add esp, 0xc
push 0x208
push 0
lea eax, [ebp - 0x61c]
push eax
call fcn.10007ba0
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0x824]
push ecx
call fcn.10007ba0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.1000a395
add esp, 4
mov esi, eax
push str.Hand2Note.exe
call fcn.1000a395
add esp, 4
sub esi, eax
sub esi, 1
push esi
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x414]
push ecx
call fcn.1000a66d
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.1000a251
add esp, 8
push str.umpdc.dll
lea ecx, [ebp - 0x20c]
push ecx
call fcn.1000a220
add esp, 8
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x61c]
push eax
call fcn.1000a251
add esp, 8
push str.umpdc.tmp
lea ecx, [ebp - 0x61c]
push ecx
call fcn.1000a220
add esp, 8
lea edx, [ebp - 0x61c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x824]
push ecx
call fcn.1000a251
add esp, 8
push str.integrationumpdc.dll
lea edx, [ebp - 0x824]
push edx
call fcn.1000a220
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call fcn.100030a0
add esp, 4
mov esi, eax
mov edi, edx
lea ecx, [ebp - 0x824]
push ecx
call fcn.100030a0
add esp, 4
mov dword [ebp - 0x82c], esi
mov dword [ebp - 0x828], edi
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x830], edx
mov edx, dword [ebp - 0x82c]
cmp edx, dword [ebp - 0x834]
jne 0x1000337b
mov eax, dword [ebp - 0x828]
cmp eax, dword [ebp - 0x830]
je 0x1000338f
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x824]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006b80
mov esp, ebp
pop ebp
ret
Function at 0x100034c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10003670
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000358d
mov edx, dword [ebp - 4]
cmp edx, dword [0x1002b50c]
jb 0x1000350a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1002b510]
ja 0x1000350a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100034da
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10007ba0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10003530
jmp 0x1000358d
cmp dword [ebp - 0x14], 0x10000
jne 0x10003573
cmp dword [ebp - 0x18], 0x10000
jb 0x10003573
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10003566
mov eax, dword [ebp - 8]
jmp 0x1000358f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10003588
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10003670
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100034da
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100035a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100036a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10003665
mov edx, dword [ebp - 4]
cmp edx, dword [0x1002b50c]
jb 0x100035e5
mov eax, dword [ebp - 4]
cmp eax, dword [0x1002b510]
ja 0x100035e5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100035b5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10007ba0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000360b
jmp 0x10003665
cmp dword [ebp - 0x14], 0x10000
jne 0x1000364e
cmp dword [ebp - 0x18], 0x10000
jb 0x1000364e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10003641
mov eax, dword [ebp - 8]
jmp 0x10003667
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10003660
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100036a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100035b5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10005140
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1004be84], 0
je 0x10005156
xor eax, eax
jmp 0x10005372
cmp dword [0x1004be80], 0
je 0x10005169
mov eax, dword [0x1004be80]
jmp 0x10005372
push 0x24
push 0
push 0x1004be5c
call fcn.10007ba0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x1004be5c], eax
push 0
push 0
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x1004be60], eax
cmp dword [0x1004be60], 0
jne 0x1000520e
mov dword [0x1004be84], 1
cmp dword [0x1004be60], 0
je 0x100051c1
mov eax, dword [0x1004be60]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1004be64], 0
mov dword [0x1004be68], 0
mov dword [0x1004be6c], 0
mov dword [0x1004be70], 0
mov dword [0x1004be74], 0
mov dword [0x1004be78], 0
mov dword [0x1004be7c], 0
xor eax, eax
jmp 0x10005372
push str.ImagehlpApiVersionEx
mov ecx, dword [0x1004be60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1004be64], eax
push str.SymInitialize
mov edx, dword [0x1004be60]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1004be68], eax
push str.SymSetOptions
mov eax, dword [0x1004be60]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1004be6c], eax
push str.SymGetOptions
mov ecx, dword [0x1004be60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1004be70], eax
push str.SymLoadModule64
mov edx, dword [0x1004be60]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1004be74], eax
push str.SymGetModuleInfo64
mov eax, dword [0x1004be60]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1004be78], eax
push str.SymFromName
mov ecx, dword [0x1004be60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1004be7c], eax
push 8
push 0
lea edx, [ebp - 0xc]
push edx
call fcn.10007ba0
add esp, 0xc
mov eax, 0xc
mov word [ebp - 0xc], ax
cmp dword [0x1004be64], 0
je 0x100052f3
cmp dword [0x1004be68], 0
je 0x100052f3
cmp dword [0x1004be74], 0
je 0x100052f3
cmp dword [0x1004be78], 0
je 0x100052f3
cmp dword [0x1004be7c], 0
jne 0x100052f8
jmp 0x100051a2
lea ecx, [ebp - 0xc]
push ecx
call dword [0x1004be64]
movzx edx, word [ebp - 0xc]
cmp edx, 0xc
jge 0x10005310
jmp 0x100051a2
push 0
push 0
mov eax, dword [0x1004be5c]
push eax
call dword [0x1004be68]
test eax, eax
jne 0x10005329
jmp 0x100051a2
cmp dword [0x1004be70], 0
je 0x10005363
cmp dword [0x1004be6c], 0
je 0x10005363
call dword [0x1004be70]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xfffffff8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 0x2704
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call dword [0x1004be6c]
mov dword [0x1004be80], 0x1004be5c
mov eax, dword [0x1004be80]
mov esp, ebp
pop ebp
ret
Function at 0x1000ca95
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000cad4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000cad4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000cad4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000cad4
cmp dword [ecx + 0x74], 0xe
jbe 0x1000cad4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10010961
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100109fe
push ebx
push esi
call fcn.1001092a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100108be
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100109ab
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100109fd
push edi
push eax
call fcn.1000d9f2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100109cb
call fcn.1000d69f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100109fc
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100108be
add esp, 0x20
test eax, eax
jne 0x100109ea
push edi
call fcn.1000d69f
jmp 0x100109f2
push ebx
call fcn.1000d69f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10010c6b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001adb8
push 0x1001adb0
push str.FlsAlloc
push 0x1f
call fcn.10010b87
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10010c9f
push dword [ebp + 8]
mov ecx, esi
call dword [0x100191b4]
call esi
jmp 0x10010ca5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10010ce9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001adc8
push 0x1001adc0
push str.FlsGetValue
push 0x21
call fcn.10010b87
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10010d20
push dword [ebp + 8]
mov ecx, esi
call dword [0x100191b4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10010d28
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001add0
push 0x1001adc8
push str.FlsSetValue
push 0x22
call fcn.10010b87
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10010d62
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100191b4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x413330
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a30c6
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x63b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x11c], ecx
push 0x5e2900
mov ecx, dword [ebp - 0x11c]
add ecx, 0x30
call fcn.004a65a5
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 0x780], eax
push 0x5e2914
mov ecx, dword [ebp - 0x11c]
add ecx, 0x30
call fcn.004a65a5
mov edx, dword [ebp - 0x11c]
mov dword [edx + 0x77c], eax
push str.foreImage
mov ecx, dword [ebp - 0x11c]
add ecx, 0x30
call fcn.004a65a5
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 0x7fc], eax
push 0x5e2938
mov ecx, dword [ebp - 0x11c]
add ecx, 0x30
call fcn.004a65a5
mov edx, dword [ebp - 0x11c]
mov dword [edx + 0x78c], eax
lea ecx, [ebp - 0x94]
call fcn.004b00c9
mov dword [ebp - 4], 0
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x78c]
mov eax, dword [ebp - 0x11c]
mov edx, dword [edx]
mov ecx, dword [eax + 0x78c]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x124]
push edx
lea ecx, [ebp - 0x94]
call fcn.004b022a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004b01a7
mov ecx, dword [ebp - 0x11c]
add ecx, 0x7c0
call fcn.00413640
push eax
lea ecx, [ebp - 0x94]
call fcn.004b039c
push 0
push 0x32
push 0x3e8
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0
mov edx, dword [ebp - 0x11c]
push edx
push 0x413310
push 0
push 0
call fcn.0057a80e
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b01a7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a39ef
mov esp, ebp
pop ebp
ret
Function at 0x4197b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3933
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x63b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], 0
jmp 0x4197fc
mov eax, dword [ebp - 0x90]
add eax, 1
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x90]
cmp edx, dword [ecx + 0x588]
jge 0x419909
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x56c
call fcn.0041a180
push eax
lea ecx, [ebp - 0x28]
call fcn.004138a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x90]
add ecx, 1
push ecx
lea edx, [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0x584]
call fcn.00468910
mov ecx, eax
call fcn.00426cf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0041a3e0
movzx ecx, al
test ecx, ecx
jne 0x41989c
lea ecx, [ebp - 0x44]
call fcn.00413640
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41989c
lea ecx, [ebp - 0x44]
call fcn.00413640
push eax
lea ecx, [ebp - 0x28]
call fcn.00413680
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x56c
call fcn.0041a180
mov ecx, eax
call fcn.004136a0
push 0x5e6ff8
mov ecx, dword [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x94]
add ecx, 0x56c
call fcn.0041a180
add eax, 0x18
mov ecx, eax
call fcn.00413680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.00419930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413710
jmp 0x4197ed
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a39ef
mov esp, ebp
pop ebp
ret
Function at 0x41d5e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x41d5f0
xor al, al
jmp 0x41d630
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x41d607
xor al, al
jmp 0x41d630
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x41d615
mov byte [ebp - 2], 1
jmp 0x41d62d
mov edx, dword [ebp - 8]
and edx, 0x10
jne 0x41d623
mov byte [ebp - 1], 0
jmp 0x41d627
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov byte [ebp - 2], al
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret

Function at 0x41d640
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3d38
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x63b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.0041a3e0
movzx eax, al
test eax, eax
je 0x41d67e
xor al, al
jmp 0x41d762
push 0
mov ecx, dword [ebp + 8]
call fcn.00411740
push eax
call fcn.0041d5e0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41d69f
mov al, 1
jmp 0x41d762
mov dword [ebp - 0x38], 0xffffffff
mov ecx, dword [ebp + 8]
call fcn.00411740
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x28]
call fcn.0042a1b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [0x63c030]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0057a246
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41d72e
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x28]
call fcn.00429f60
mov eax, dword [0x63c030]
push eax
lea ecx, [ebp - 0x28]
call fcn.00429f60
lea ecx, [ebp - 0x28]
call fcn.00411740
push eax
call fcn.005804a8
add esp, 4
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [0x63c030]
push edx
push 0
call fcn.0057a246
add esp, 0xc
mov dword [ebp - 0x30], eax
jmp 0x41d6e0
cmp dword [ebp - 0x38], 0xffffffff
jne 0x41d74c
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov al, byte [ebp - 0x29]
jmp 0x41d762
mov byte [ebp - 0x2a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov al, byte [ebp - 0x2a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a39ef
mov esp, ebp
pop ebp
ret
Function at 0x42f400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a53d8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x63b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x42f440
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x42f44c
mov al, 1
jmp 0x42f5ef
mov dword [ebp - 0x48], 8
call fcn.0041b250
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0041b250
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0041b1d0
add esp, 8
movzx eax, al
test eax, eax
je 0x42f48f
xor al, al
jmp 0x42f5ef
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0042a140
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00429e60
mov ecx, eax
call fcn.00415d20
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00411720
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.00429e60
mov ecx, eax
call fcn.00415d20
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.00431400
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x42f50a
cmp dword [ebp - 0x38], 1
je 0x42f511
cmp dword [ebp - 0x38], 3
je 0x42f5ab
jmp 0x42f5c3
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00429e60
mov ecx, eax
call fcn.00415d20
mov edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x42f574
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00429e60
mov ecx, eax
call fcn.00415d20
push eax
call fcn.0057f941
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x42f574
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov al, byte [ebp - 0x2d]
jmp 0x42f5ef
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x42f597
mov byte [ebp - 0x2e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov al, byte [ebp - 0x2e]
jmp 0x42f5ef
cmp dword [ebp - 0x34], 0
jne 0x42f5a9
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0042f090
jmp 0x42f5db
mov byte [ebp - 0x2f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov al, byte [ebp - 0x2f]
jmp 0x42f5ef
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov al, byte [ebp - 0x30]
jmp 0x42f5ef
jmp 0x42f4a2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a39ef
mov esp, ebp
pop ebp
ret