joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436392
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.0042e3c3
and dword [ebp - 4], 0
cmp dword [0x459fe0], 0
mov ebx, eax
jne 0x436443
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4364f4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4364f4
push eax
call fcn.0042e351
mov dword [esp], 0x44737c
push edi
mov dword [0x459fe0], eax
call esi
push eax
call fcn.0042e351
mov dword [esp], 0x447368
push edi
mov dword [0x459fe4], eax
call esi
push eax
call fcn.0042e351
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x459fe8], eax
call esi
push eax
call fcn.0042e351
pop ecx
mov dword [0x459ff0], eax
test eax, eax
je 0x436443
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042e351
pop ecx
mov dword [0x459fec], eax
mov eax, dword [0x459fec]
cmp eax, ebx
je 0x43649b
cmp dword [0x459ff0], ebx
je 0x43649b
push eax
call fcn.0042e3cc
push dword [0x459ff0]
mov esi, eax
call fcn.0042e3cc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43649b
test edi, edi
je 0x43649b
call esi
test eax, eax
je 0x436492
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x436492
test byte [ebp - 0xc], 1
jne 0x43649b
or dword [ebp + 0x10], 0x200000
jmp 0x4364d4
mov eax, dword [0x459fe4]
cmp eax, ebx
je 0x4364d4
push eax
call fcn.0042e3cc
pop ecx
test eax, eax
je 0x4364d4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4364d4
mov eax, dword [0x459fe8]
cmp eax, ebx
je 0x4364d4
push eax
call fcn.0042e3cc
pop ecx
test eax, eax
je 0x4364d4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x459fe0]
call fcn.0042e3cc
pop ecx
test eax, eax
je 0x4364f4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4364f6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x72dc7695
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..text_1
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x38d57367
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x29693902
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x3cfa2b8f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x40de38
mov ecx, 0x6ef434d5
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data_1
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x661e0670
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40104a
Capabilities:
Check if file exists
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x1c
mov esi, dword [ebp + 8]
mov dword [esp], 0x584110
mov ecx, esi
call fcn.0040217c
sub esp, 4
mov dword [esp], str.EBWebViewx86EmbeddedBrowserWebView.dll
mov ecx, esi
call fcn.0040217c
sub esp, 4
mov ecx, esi
call fcn.00402248
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
cmp eax, 0xffffffff
je 0x4010ff
mov ecx, esi
call fcn.00402248
mov esi, eax
movaps xmm0, xmmword [0x583e50]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x4010d5
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov al, 1
jmp 0x401101
mov dword [esp], str.WebView2:_skipped_inaccessible
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call edi
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
sub esp, 4
mov dword [esp], 0x584176
call edi
sub esp, 4
xor eax, eax
add esp, 0x1c
pop esi
pop edi
pop ebp
ret
Function at 0x4011ad
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [ebp + 0xc]
mov eax, dword [0x5b93d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, esi
push 0x104
call fcn.00402032
mov ecx, esi
push dword [ebp + 8]
call fcn.004020b2
mov ecx, esi
call fcn.00402248
mov edi, eax
mov ecx, esi
call fcn.00402240
cmp eax, 3
jb 0x401223
movzx eax, word [edi + 2]
cmp ax, 0x3a
jne 0x401213
cmp word [edi + 4], 0x5c
jne 0x401223
movzx eax, word [edi]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x401223
jmp 0x4012ab
cmp word [edi], 0x5c
jne 0x401223
cmp ax, 0x5c
je 0x4012ab
xor eax, eax
dec eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.00401fc0
push edi
push 0
call fcn.00401108
add esp, 8
test eax, eax
js 0x4012e3
mov ecx, edi
call fcn.00402240
mov ebx, eax
mov ecx, edi
call fcn.00402248
mov ecx, esi
push ebx
push eax
call fcn.004020dc
mov ecx, edi
call fcn.00402248
push 0x5c
push eax
call fcn.0052138b
add esp, 8
test eax, eax
je 0x4012f2
mov ebx, eax
mov ecx, edi
call fcn.00402248
sub ebx, eax
add ebx, 2
sar ebx, 1
mov ecx, edi
call fcn.00402248
mov ecx, esi
push ebx
push eax
call fcn.004020dc
mov ecx, esi
push dword [ebp + 8]
call fcn.0040217c
mov ecx, edi
call fcn.00401fd2
xor edi, edi
push esi
call fcn.0040104a
add esp, 4
test al, al
jne 0x4012ff
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.WebView2:_Failed_to_find_the_WebView2_client_dll_at:
call edi
mov ecx, esi
call fcn.00402248
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x584176
call edi
mov edi, 0x80070002
jmp 0x4012ff
mov edi, eax
push str.WebView2:_Failed_to_find_the_app_exe_path._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4012f7
mov edi, 0x80004005
lea ecx, [ebp - 0x1c]
call fcn.00401fd2
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051dfa2
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401c22
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x224
mov edi, edx
mov esi, ecx
mov eax, dword [0x5b93d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x218]
push 0x208
push 0xff
push eax
call fcn.00520810
add esp, 0xc
mov dword [ebp - 0x22c], 0x104
lea eax, [ebp - 0x230]
mov dword [eax], 0xffffffff
mov ecx, reloc.WS2_32.dll_bind
sub ecx, edi
push eax
push 0x20219
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x401d2c
lea eax, [ebp - 0x22c]
push eax
lea edi, [ebp - 0x218]
push edi
push ebx
push ebx
push str.EBWebView
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401d2a
cmp dword [ebp - 0x22c], 3
mov ebx, 0
jb 0x401d2c
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.004020b2
mov ecx, esi
call fcn.00402248
push 0x5c
push eax
call fcn.0052138b
add esp, 8
test eax, eax
je 0x401d2a
mov edi, eax
add edi, 2
pcmpeqd xmm0, xmm0
lea edx, [ebp - 0x228]
movdqu xmmword [edx], xmm0
mov ecx, edi
call fcn.00401af9
test al, al
je 0x401d2a
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x401d19
push edi
call fcn.004020b2
lea ecx, [ebp - 0x228]
mov edx, esi
call fcn.00401d43
mov ebx, eax
jmp 0x401d2c
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051dfa2
mov eax, ebx
add esp, 0x224
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401d43
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
xor eax, eax
mov edx, dword [eax + 0x584408]
cmp dword [ecx + eax], edx
ja 0x401d61
jb 0x401d6c
add eax, 4
cmp eax, 0x10
jne 0x401d4c
push esi
call fcn.0040104a
add esp, 4
jmp 0x401d90
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.WebView2:_skipped_an_incompatible_version
call edi
mov ecx, esi
call fcn.00402248
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x584176
call edi
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x402773
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, edx
mov edi, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5b93d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x4027ee
mov dword [ebp - 0x1c], ecx
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
lea edx, [ebp - 0x18]
mov dword [edx], 4
push edx
push ecx
push eax
push 0x10
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x402808
mov ecx, edi
mov edx, esi
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
push esi
call fcn.00402832
add esp, 8
test al, al
je 0x402818
mov eax, dword [esi]
test eax, eax
je 0x40282e
push 0xa
push 0
push eax
call fcn.0052c843
add esp, 0xc
cmp eax, 1
jmp 0x40280c
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051dfa2
mov ecx, edi
mov edx, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00402832
cmp dword [ebp - 0x14], 1
sete al
movzx eax, al
mov dword [ebx], eax
mov bl, 1
jmp 0x40281a
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051dfa2
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x40280f

Function at 0x402832
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x214
mov edi, edx
mov dword [ebp - 0x220], ecx
mov eax, dword [0x5b93d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea esi, [ebp - 0x218]
push 0x208
push ebx
push esi
call fcn.00520810
add esp, 0xc
lea eax, [ebp - 0x21c]
mov dword [eax], 0x104
push eax
push esi
push ebx
push 2
push edi
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x4028a9
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
lea eax, [ebp - 0x218]
push eax
call fcn.004020b2
mov ecx, edi
call fcn.00402248
mov dword [ebx], eax
test esi, esi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051dfa2
mov eax, ebx
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402954
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x5b93d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4029af
mov edi, eax
push str.CreateWebViewEnvironmentWithOptionsInternal
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402a21
mov ecx, eax
mov esi, dword [ebp + 0x1c]
mov bl, byte [ebp + 0xc]
call dword [0x55f558]
movzx eax, bl
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call ecx
mov esi, eax
jmp 0x402a8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea ebx, [ebp - 0x14]
mov dword [ebx], esi
xor eax, eax
dec eax
lea edi, [ebp - 0x20]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.00401fc0
push edi
push 1
push 4
push ebx
call fcn.004028c8
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.WebView2:_CoreWebView2Environment_failed_when_trying_to_LoadLibrary:_hr0x
call ebx
mov ecx, edi
call fcn.00402248
push eax
call ebx
push str._path
call ebx
push dword [ebp + 8]
call ebx
push 0x5847e2
call ebx
mov ecx, edi
call fcn.00401fd2
jmp 0x402aa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea eax, [ebp - 0x14]
mov dword [eax], esi
xor eax, eax
dec eax
lea ebx, [ebp - 0x20]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov ecx, ebx
call fcn.00401fc0
push ebx
push 1
push 4
lea eax, [ebp - 0x14]
push eax
call fcn.004028c8
add esp, 0x10
push str.WebView2:_CoreWebView2Environment_failed_when_trying_to_call_into_EmbeddedBrowserWebView.dll._hr0x
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, ebx
call fcn.00402248
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x5847e2
call eax
mov ecx, ebx
call fcn.00401fd2
push str.DllCanUnloadNow
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402aa3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051dfa2
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40d13b
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5477c2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5b93d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
call fcn.0040dfc0
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0040dfc0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x30]
mov dword [eax + 0x30], ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4

Function at 0x40d1b2
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5477c2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5b93d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
call fcn.0040dfc0
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov dword [ebp - 0x18], eax
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
call fcn.0040dfc0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [eax + 0x30], ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 0xc

Function at 0x411d1e
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
and dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x88], ecx
mov eax, dword [ebp - 4]
push dword [eax + 0x28]
push 0x41c92e
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
add ecx, 0x30
call fcn.0041d866
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
add eax, 0x1c
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
call fcn.0041240a
mov eax, dword [ebp - 8]
or eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
leave
ret 4
Function at 0x417806
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
jmp 0x417817
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jae 0x41783a
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
mov dword [ebp + 8], eax
imul eax, dword [ebp + 8], 0x1000193
mov dword [ebp + 8], eax
jmp 0x417810
mov eax, dword [ebp + 8]
leave
ret

Function at 0x41c302
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54894b
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5b93d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
push str.comdlg32.dll
lea ecx, [ebp - 0x40]
call fcn.0040e0e1
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040f886
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00410a23
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x44], eax
push 0
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.0040e05b
push dword [ebp - 0x44]
push 0
lea ecx, [ebp - 0x28]
call fcn.0041198c
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x6c], 0x20
mov dword [ebp - 0x68], 0xc
mov dword [ebp - 0x64], 0x560190
xor eax, eax
mov word [ebp - 0x60], ax
xor eax, eax
mov word [ebp - 0x5e], ax
lea ecx, [ebp - 0x28]
call fcn.0041c127
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0x7c
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x28]
call fcn.00410a23
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00411175
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051dfa2
leave
ret
Function at 0x42a752
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x5b93d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
lock xadd dword [eax], ecx
inc ecx
cmp ecx, 1
jne 0x42a7b5
lea eax, [ebp - 0x194]
push eax
movzx eax, byte [ebp + 0xc]
and eax, 0xff
movzx eax, al
movzx ecx, byte [ebp + 0x10]
and ecx, 0xff
movzx ecx, cl
shl ecx, 8
or eax, ecx
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp + 8]
add ecx, 4
xchg dword [ecx], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051dfa2
leave
ret

Function at 0x42a9ea
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
or dword [ebp - 0xc], 0xffffffff
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x42aa2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
call fcn.0042a17a
push eax
push dword [ebp - 8]
lea ecx, [ebp - 0x14]
call fcn.0040e873
push 0x561d30
lea eax, [ebp - 0x14]
push eax
call fcn.0042a826
pop ecx
pop ecx
mov eax, dword [ebp - 4]
leave
ret
Function at 0x435bfe
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x5b93d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x435c25
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x3d]
test eax, eax
jne 0x435c2c
mov al, 1
jmp 0x435d10
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x40], eax
call fcn.0041d3a2
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
call dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
call fcn.0041d3a2
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00426e7b
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x435c70
xor al, al
jmp 0x435d10
mov dword [ebp - 0x54], 0x20
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.0043b667
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x435cb2
cmp dword [ebp - 0x30], 1
je 0x435cb9
cmp dword [ebp - 0x30], 3
je 0x435d03
jmp 0x435d0e
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x28]
sub eax, ecx
mov dword [ebp - 0x34], eax
je 0x435ce6
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x4c]
push dword [ebp - 0x34]
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.00525337
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x435ce6
xor al, al
jmp 0x435d10
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x3d]
test eax, eax
jne 0x435cfa
mov dword [ebp - 0x38], 1
jmp 0x435cfe
and dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x435d10
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov al, 1
jmp 0x435d10
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051dfa2
leave
ret