joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e810
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422dab
mov eax, dword fs:[0]
push eax
mov eax, 0x123c
call fcn.0041fd70
mov eax, dword [0x42e07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x210]
push str.FN_CSharedMemoryChannel_GetMessage
push eax
call fcn.00401880
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x423484
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, edi
call fcn.0041e4b0
cmp eax, 0xfffe00ff
jne 0x41e8cc
mov ecx, edi
call fcn.0041e4b0
mov ecx, edi
call fcn.0041e4b0
mov ecx, edi
call fcn.0041e4b0
mov ecx, edi
call fcn.0041e4b0
lea edx, [eax - 1]
cmp edx, 0xffe
ja 0x41e8b2
push eax
lea eax, [ebp - 0x1210]
mov ecx, edi
push eax
call fcn.0041e540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ecc2
mov esp, ebp
pop ebp
ret
push str.Invalid_Message_Header
lea ecx, [ebp - 0x1228]
call fcn.00402d30
lea eax, [ebp - 0x1228]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x1244]
call fcn.00401b80
push 0x42b38c
lea eax, [ebp - 0x1244]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x41f37b
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x42b2e0
call fcn.0041fa90
push 1
call fcn.0041f03d
pop ecx
test al, al
je 0x41f4d7
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041f00b
mov byte [ebp - 0x24], al
mov eax, dword [0x43222c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x41f4d7
test eax, eax
jne 0x41f405
mov dword [0x43222c], ecx
push 0x423340
push 0x42332c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x41f3e8
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41f4d1
push 0x423328
push 0x423314
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x43222c], 2
jmp 0x41f40a
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0041f1aa
pop ecx
call fcn.0041fc0d
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x41f43b
push esi
call fcn.0041f120
pop ecx
test al, al
je 0x41f43b
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call dword [0x423310]
call esi
call fcn.0041fc13
mov esi, eax
cmp dword [esi], edi
je 0x41f459
push esi
call fcn.0041f120
pop ecx
test al, al
je 0x41f459
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.0041f819
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0041f84f
test al, al
je 0x41f4de
test bl, bl
jne 0x41f487
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0041f1c7
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x41f4d1
call fcn.0041fad6
ret
push 7
call fcn.0041f6fd
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.00563000
jmp 0x41f37b
Function at 0x403040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403057
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403088
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x403084
cmp esi, eax
jae 0x403088
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x403074
cmp esi, eax
jb 0x40308e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x407e60
Capabilities:
Create thread

Disassembly:
push esi
call fcn.00408b60
mov esi, eax
add esi, 0x2c
cmp dword [esi + 0x30], 0
jne 0x407ea7
push edi
lea edi, [esi + 0x34]
push edi
push 0
push esi
push 0x427410
push 0
push 0
call fcn.004358ca
add esp, 0x18
test eax, eax
jg 0x407e97
mov dword [edi], 0
pop edi
pop esi
ret
mov dword [esi + 0x30], eax
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
ret

Function at 0x407f40
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x450f0b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4642d8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
call fcn.00408b60
add eax, 0x2c
cmp dword [eax + 0x30], 0
je 0x407ffe
cmp dword [ebp + 0x50], 4
ja 0x407ffe
mov dword [esp + 0x2c], 8
push 0x104
call fcn.00432419
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0
test eax, eax
je 0x407fb0
push eax
call fcn.004043a0
jmp 0x407fb2
xor eax, eax
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x18], eax
test eax, eax
je 0x407ff7
cmp dword [eax + 0x5c], 0
lea esi, [eax + 0x2c]
jne 0x408023
lea edi, [esi + 0x34]
push edi
push 0
push esi
push 0x427410
push 0
push 0
call fcn.004358ca
add esp, 0x18
test eax, eax
jg 0x408014
mov dword [edi], 0
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
sub dword [esp + 0x2c], 1
jne 0x407f8b
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
mov dword [esi + 0x30], eax
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x407fed
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 0x4c]
mov edx, dword [esi + 4]
lea ebx, [ebp + 0x38]
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call fcn.00409080
mov ecx, ebx
mov edi, eax
call fcn.00405ee0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
push ebp
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x407ff7
Function at 0x40b7f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450da0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4642d8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x4642d8]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x34]
call fcn.004146a0
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x64], ebx
push ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00402140
push 7
push str.config_
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call fcn.00402eb0
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x40b87d
lea eax, [esp + 0x1c]
push 0x10
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40b8ca
mov esi, 0x10
cmp dword [esp + 0x30], esi
jb 0x40b8a6
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0043206e
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x4c], esi
jb 0x40b96f
mov edx, dword [esp + 0x38]
push edx
jmp 0x40b967
mov eax, dword [esi + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
jmp 0x40b8e0
push edi
call dword [sym.imp.KERNEL32.dll_FindNextChangeNotification]
test eax, eax
jne 0x40b900
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x40b92d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40b8e0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x18]
push ecx
push 2
call esi
cmp eax, ebx
je 0x40b92d
cmp eax, 1
jne 0x40b92d
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00405c60
push eax
call fcn.0041a560
jmp 0x40b8e0
push edi
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov esi, 0x10
cmp dword [esp + 0x30], esi
jb 0x40b94c
mov edx, dword [esp + 0x1c]
push edx
call fcn.0043206e
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x4c], esi
jb 0x40b96f
mov eax, dword [esp + 0x38]
push eax
call fcn.0043206e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00432079
mov esp, ebp
pop ebp
ret
Function at 0x40bc10
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x450a85
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4642d8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
mov dword [edi], vtable.CThread.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call esi
push ebx
push ebx
push 1
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
push ebx
push 1
push ebx
mov dword [edi + 0x10], eax
call esi
mov dword [edi + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [edi], vtable.CThreadUpload.0
mov eax, dword [0x466ddc]
mov edx, dword [eax + 0xc]
mov ecx, 0x466ddc
call edx
add eax, 0x10
mov dword [edi + 0x48], eax
mov byte [esp + 0x18], 1
mov eax, dword [0x466ddc]
mov edx, dword [eax + 0xc]
mov ecx, 0x466ddc
call edx
add eax, 0x10
mov dword [edi + 0x4c], eax
mov byte [esp + 0x18], 2
mov eax, dword [0x466ddc]
mov edx, dword [eax + 0xc]
mov ecx, 0x466ddc
call edx
add eax, 0x10
mov dword [edi + 0x50], eax
lea esi, [edi + 0x54]
call fcn.0040bd70
mov byte [esp + 0x18], 4
mov eax, dword [0x466ddc]
mov edx, dword [eax + 0xc]
mov ecx, 0x466ddc
call edx
add eax, 0x10
mov dword [edi + 0x70], eax
lea eax, [edi + 0x74]
push eax
mov byte [esp + 0x1c], 5
call fcn.0040fe10
lea ecx, [edi + 0x90]
push ecx
mov byte [esp + 0x1c], 6
call fcn.0040feb0
lea edx, [edi + 0xac]
push edx
mov byte [esp + 0x1c], 7
call fcn.0040ff50
lea eax, [edi + 0xc8]
push eax
mov byte [esp + 0x1c], 8
call fcn.0040feb0
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
lea ecx, [edi + 0x18]
push ecx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x412540
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x50
mov eax, dword [0x4642d8]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov ecx, 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x68]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ecx
sub eax, edx
sub ecx, eax
movsb byte es:[edi], byte [esi]
mov edi, ecx
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x14], eax
test edi, edi
jle 0x412601
mov eax, dword [esp + 0x64]
movzx ecx, byte [eax + ebp]
mov esi, dword [esp + 0x10]
shr ecx, 2
mov dl, byte [esp + ecx + 0x18]
mov byte [esi + ebx], dl
movsx ecx, byte [eax + ebp]
movzx edx, byte [eax + ebp + 1]
shr edx, 4
and ecx, 3
lea edx, [esp + edx + 0x18]
shl ecx, 4
movzx ecx, byte [edx + ecx]
mov byte [esi + ebx + 1], cl
movzx edx, byte [eax + ebp + 2]
movsx ecx, byte [eax + ebp + 1]
inc ebx
shr edx, 6
lea edx, [esp + edx + 0x18]
and ecx, 0xf
movzx ecx, byte [edx + ecx*4]
inc ebx
mov byte [esi + ebx], cl
movsx edx, byte [eax + ebp + 2]
and edx, 0x3f
mov al, byte [esp + edx + 0x18]
inc ebx
mov byte [esi + ebx], al
add ebp, 3
inc ebx
cmp ebp, edi
jl 0x412594
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x41263d
mov esi, dword [esp + 0x64]
movzx ecx, byte [esi + ebp]
mov eax, dword [esp + 0x10]
shr ecx, 2
movzx edx, byte [esp + ecx + 0x18]
mov byte [eax + ebx], dl
movsx ecx, byte [esi + ebp]
and ecx, 3
shl ecx, 4
movzx edx, byte [esp + ecx + 0x18]
inc ebx
mov byte [eax + ebx], dl
inc ebx
mov byte [eax + ebx], 0x3d
inc ebx
mov byte [eax + ebx], 0x3d
inc ebx
jmp 0x412696
cmp eax, 2
jne 0x412692
mov edi, dword [esp + 0x64]
movzx eax, byte [edi + ebp]
shr eax, 2
mov cl, byte [esp + eax + 0x18]
mov eax, dword [esp + 0x10]
mov byte [eax + ebx], cl
movsx ecx, byte [edi + ebp]
movzx edx, byte [edi + ebp + 1]
and ecx, 3
lea esi, [edi + ebp + 1]
shl ecx, 4
shr edx, 4
lea ecx, [esp + ecx + 0x18]
movzx edx, byte [ecx + edx]
mov byte [eax + ebx + 1], dl
movsx ecx, byte [esi]
inc ebx
and ecx, 0xf
movzx edx, byte [esp + ecx*4 + 0x18]
inc ebx
mov byte [eax + ebx], dl
inc ebx
mov byte [eax + ebx], 0x3d
inc ebx
jmp 0x412696
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov byte [eax + ebx], 0
pop ebx
xor ecx, esp
call fcn.00432079
add esp, 0x50
ret
Function at 0x414ad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x451961
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4642d8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [0x466ddc]
mov edx, dword [eax + 0xc]
mov ecx, 0x466ddc
call edx
mov ecx, dword [esp + 0x38]
add eax, 0x10
mov dword [ecx], eax
lea edx, [esp + 0x14]
push edx
push 0x457978
mov esi, 1
push esi
push ebx
mov dword [esp + 0x40], ebx
push 0x457988
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x414c0c
cmp dword [esp + 0x14], ebx
je 0x414c0c
mov eax, dword [0x466ddc]
mov edx, dword [eax + 0xc]
mov ecx, 0x466ddc
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x457aa8
lea edi, [esp + 0x24]
call fcn.004109e0
add esp, 8
mov dword [esp + 0x18], ebx
mov byte [esp + 0x30], 2
mov ebp, dword [esp + 0x1c]
cmp ebp, ebx
jne 0x414c24
xor esi, esi
mov dword [esp + 0x24], esi
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x38]
call fcn.004039d0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push ebp
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x24], esi
cmp esi, ebx
jne 0x414ba0
push 0x8007000e
call fcn.004030a0
int3
Function at 0x415060
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x450218
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4642d8]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
mov eax, dword [0x4642d8]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x164]
mov dword [esp + 0x140], 0
xor eax, eax
mov ebx, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x14], 0
cmp dword [esp + 0x160], ebx
jae 0x4150f1
lea eax, [esp + 0x14c]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x4151b9
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
mov cl, byte [eax + 5]
mov dl, byte [eax + 6]
mov bl, byte [eax + 4]
mov al, byte [eax + 7]
push 0xff
mov byte [esp + 0x11], cl
lea ecx, [esp + 0x39]
push 0
push ecx
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], al
mov byte [esp + 0x40], 0
call fcn.00435a70
movzx edx, byte [esp + 0x1b]
movzx eax, byte [esp + 0x1a]
movzx ecx, byte [esp + 0x19]
push edx
push eax
push ecx
movzx edx, bl
push edx
push str._u._u._u._u
lea eax, [esp + 0x54]
push 0x100
push eax
call fcn.00433525
lea eax, [esp + 0x5c]
add esp, 0x28
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415175
sub eax, edx
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.00402320
cmp dword [esp + 0x160], 0x10
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 4]
mov dword [ebp], ecx
jb 0x4151b2
mov edx, dword [esp + 0x14c]
push edx
call fcn.0043206e
add esp, 4
mov eax, 1
jmp 0x4151d4
cmp dword [esp + 0x160], ebx
jb 0x4151d2
mov eax, dword [esp + 0x14c]
push eax
call fcn.0043206e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00432079
add esp, 0x138
ret

Function at 0x416f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x450913
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4642d8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov eax, 7
xor esi, esi
xor ecx, ecx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], esi
mov word [edi + 4], cx
mov dword [esp + 0x14], esi
xor edx, edx
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], esi
mov word [edi + 0x20], dx
mov byte [esp + 0x14], 1
push 4
mov dword [edi + 0x5c], esi
call fcn.00432419
add esp, 4
cmp eax, esi
je 0x416fa3
mov dword [eax], esi
jmp 0x416fa5
xor eax, eax
push 0xc
mov dword [edi + 0x60], eax
call fcn.00432419
add esp, 4
cmp eax, esi
je 0x416fc0
mov dword [eax + 8], esi
mov dword [eax + 4], esi
mov dword [eax], esi
jmp 0x416fc2
xor eax, eax
push esi
mov dword [edi + 0x64], eax
mov dword [edi + 0x58], esi
call fcn.00420aa0
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x417380
Capabilities:
Create directory

Disassembly:
sub esp, 0xc
push esi
mov esi, eax
push 0
push esi
call fcn.004339ed
add esp, 8
test eax, eax
je 0x4173cc
push 0
lea eax, [esp + 0xc]
push eax
push 1
push str.D:_A_OICI_GRGWGX___WD__A_OICI_GA___BA_
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x4173cc
lea ecx, [esp + 4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [esp + 8]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop esi
add esp, 0xc
ret
xor eax, eax
pop esi
add esp, 0xc
ret
Function at 0x418430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x452898
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push edi
mov eax, dword [0x4642d8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esi + 0x14]
push ecx
sub eax, 0x10
mov dword [esp + 0xc], esp
mov edi, esp
call fcn.00404120
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x24], 0
mov eax, dword [esi + 0x10]
push ecx
sub eax, 0x10
mov dword [esp + 0x14], esp
mov edi, esp
call fcn.00404120
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x28], 1
mov eax, dword [esi + 0xc]
push ecx
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov edi, esp
call fcn.00404120
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x2c], 2
mov eax, dword [esi]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.00404120
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x30], 0xffffffff
call fcn.004184f0
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x1c
ret
Function at 0x41b370
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44fad1
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4642d8]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4642d8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
xor edi, edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edi
mov ecx, 1
mov dword [esp + 0x68], ecx
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], edi
mov byte [eax + 4], 0
lea eax, [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esi, 0x38
push str.upsvr
mov ecx, esi
call fcn.0042f0a7
mov ecx, eax
call fcn.0042d327
test al, al
je 0x41b580
push str.upsvr
mov ecx, esi
call fcn.0042f0a7
mov ecx, eax
call fcn.0042d9a0
mov dword [esp + 0x18], eax
cmp eax, edi
jbe 0x41b580
push str.name
push edi
push str.upsvr
mov ecx, esi
call fcn.0042f0a7
mov ecx, eax
call fcn.0042ee8b
mov ecx, eax
call fcn.0042f0a7
mov ecx, eax
call fcn.0042d31d
test al, al
je 0x41b509
lea eax, [esp + 0x40]
push eax
push str.name
push edi
push str.upsvr
mov ecx, esi
call fcn.0042f0a7
mov ecx, eax
call fcn.0042ee8b
mov ecx, eax
call fcn.0042f0a7
mov ecx, eax
call fcn.0042dc9f
mov byte [esp + 0x68], 2
mov ecx, dword [esp + 0x78]
mov edx, 0x10
cmp dword [esp + 0x8c], edx
jae 0x41b48e
lea ecx, [esp + 0x78]
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x88]
mov eax, ebp
cmp ebp, ebx
jb 0x41b4a1
mov eax, ebx
cmp dword [esp + 0x58], edx
mov edx, dword [esp + 0x44]
jae 0x41b4af
lea edx, [esp + 0x44]
call fcn.00401040
test eax, eax
jne 0x41b4f0
cmp ebp, ebx
jb 0x41b4f0
cmp ebp, ebx
setne al
test eax, eax
jne 0x41b4f0
push 0x456698
push edi
push str.upsvr
mov ecx, esi
call fcn.0042f0a7
mov ecx, eax
call fcn.0042ee8b
mov ecx, eax
call fcn.0042f0a7
mov ecx, eax
call fcn.0042d31d
test al, al
jne 0x41b516
mov byte [esp + 0x68], 1
cmp dword [esp + 0x58], 0x10
jb 0x41b509
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0043206e
add esp, 4
inc edi
cmp edi, dword [esp + 0x18]
jb 0x41b418
jmp 0x41b580
lea edx, [esp + 0x24]
push edx
push 0x456698
push edi
push str.upsvr
mov ecx, esi
call fcn.0042f0a7
mov ecx, eax
call fcn.0042ee8b
mov ecx, eax
call fcn.0042f0a7
mov ecx, eax
call fcn.0042dc9f
push 0xffffffffffffffff
push 0
mov byte [esp + 0x70], 3
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00402140
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jb 0x41b56d
mov eax, dword [esp + 0x28]
push eax
call fcn.0043206e
add esp, 4
cmp dword [esp + 0x58], esi
jb 0x41b580
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0043206e
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x8c], 0x10
jb 0x41b5a2
mov eax, dword [esp + 0x78]
push eax
call fcn.0043206e
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00432079
add esp, 0x58
ret 0x20