joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c700
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ca40
mov eax, dword fs:[0]
push eax
sub esp, 0x904
mov eax, dword [0x4a7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [ebp + 0x38], 0
mov dword [ebp - 4], 1
mov byte [esi + 0x1f6c8], 1
jne 0x46c749
call fcn.0046c940
lea ecx, [esi + 0x1f698]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x46c760
push 0xffffffffffffffff
push 0
push eax
call fcn.004034d0
lea ecx, [esi + 0x1f6b0]
lea eax, [ebp + 0x20]
cmp ecx, eax
je 0x46c777
push 0xffffffffffffffff
push 0
push eax
call fcn.004034d0
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
lea ecx, [ebp + 8]
mov dword [esi + 0x1f404], 0
cmovae eax, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push eax
cmovae ecx, dword [ebp + 8]
lea eax, [esi + 4]
push 0x1f400
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [esi + 0x1f408], eax
mov dword [esi + 0x1f404], 0
test eax, eax
jle 0x46c8d1
mov eax, dword [esi + 0x1f404]
xor edi, edi
mov byte [ebp - 0x110], 0
cmp byte [eax + esi + 4], 0x3d
je 0x46c825
jmp 0x46c7e0
mov eax, dword [esi + 0x1f404]
mov bl, byte [eax + esi + 4]
movsx ax, bl
movzx eax, ax
push eax
call fcn.00471252
add esp, 4
test eax, eax
jne 0x46c806
mov byte [ebp + edi - 0x110], bl
inc edi
inc dword [esi + 0x1f404]
mov eax, dword [esi + 0x1f404]
cmp byte [eax + esi + 4], 0x3d
jne 0x46c7e0
cmp edi, 0x100
jae 0x46c937
mov eax, dword [esi + 0x1f404]
xor bl, bl
mov byte [ebp + edi - 0x110], 0
xor dl, dl
xor edi, edi
mov byte [ebp - 0x910], 0
cmp byte [eax + esi + 4], bl
je 0x46c89c
mov cl, byte [eax + esi + 4]
cmp cl, 0x3d
je 0x46c859
cmp cl, 0x22
je 0x46c859
cmp cl, 0xa
jne 0x46c863
test dl, dl
je 0x46c861
xor dl, dl
jmp 0x46c863
mov bl, 1
cmp cl, 0x5c
jne 0x46c86f
inc eax
mov dl, 1
xor bl, bl
jmp 0x46c881
test bl, bl
je 0x46c878
inc eax
xor bl, bl
jmp 0x46c881
mov byte [ebp + edi - 0x910], cl
inc eax
inc edi
mov ecx, eax
mov dword [esi + 0x1f404], eax
cmp byte [ecx + esi + 4], 0
jne 0x46c846
cmp edi, 0x800
jae 0x46c937
inc dword [esi + 0x1f404]
lea eax, [ebp - 0x910]
push eax
lea eax, [ebp - 0x110]
mov byte [ebp + edi - 0x910], 0
push eax
mov ecx, esi
call fcn.0046cb30
mov eax, dword [esi + 0x1f404]
cmp eax, dword [esi + 0x1f408]
jl 0x46c7c0
cmp dword [ebp + 0x1c], 0x10
mov dword [esi + 0x1f404], 0
mov dword [esi + 0x1f40c], 0
jb 0x46c8f6
push dword [ebp + 8]
call fcn.0046fdb4
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x46c919
push dword [ebp + 0x20]
call fcn.0046fdb4
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f27e
mov esp, ebp
pop ebp
ret 0x34
call fcn.00470eb6
int3
Function at 0x46e6f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cb53
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x4a7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
jne 0x46e75b
sub esp, 0x18
mov ecx, esp
push 0x1f
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.GBufferedFile_invalid_file_path
mov byte [ecx], 0
call fcn.00403610
call fcn.00401370
mov ecx, eax
call fcn.00469a50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x818], esp
push 2
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x49794c
mov byte [ecx], 0
call fcn.00403610
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004034d0
mov byte [ebp - 4], 0
call fcn.0046aba0
add esp, 0x30
mov dword [esi + 0x30], eax
test eax, eax
je 0x46e87f
push 2
push 0
push eax
call fcn.00471617
add esp, 0xc
push dword [esi + 0x30]
call fcn.00471b5e
add esp, 4
mov dword [esi + 0x10], eax
push 0
push 0
push dword [esi + 0x30]
call fcn.00471617
mov edi, dword [esi + 0x10]
add esp, 0xc
cmp edi, 0x40000000
jle 0x46e802
sub esp, 0x18
mov ecx, esp
push str.GBufferedFile_File_size___1_gig
jmp 0x46e81c
push edi
call fcn.004707b2
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x46e832
sub esp, 0x18
mov ecx, esp
push str.Failed_to_allocate_GBufferedFile_data
call fcn.00403250
call fcn.00401370
mov ecx, eax
call fcn.00469a50
jmp 0x46e8ff
push dword [esi + 0x30]
push 1
push edi
push eax
call fcn.004714dc
mov eax, dword [esi + 4]
push dword [esi + 0x30]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov byte [esi + 0x14], 0
call fcn.00470582
add esp, 0x14
cmp dword [esi + 0x10], 0
jg 0x46e864
mov byte [esi + 0x14], 1
lea ecx, [esi + 0x18]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x46e878
push 0xffffffffffffffff
push 0
push eax
call fcn.004034d0
mov bl, 1
jmp 0x46e901
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.GBufferedFile_failed_to_open_file___s_
lea eax, [ebp - 0x810]
push 0x800
push eax
call fcn.0046f311
sub esp, 8
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x810], 0
jne 0x46e8c4
xor ecx, ecx
jmp 0x46e8d9
lea ecx, [ebp - 0x810]
lea edi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e8d0
sub ecx, edi
push ecx
lea eax, [ebp - 0x810]
mov ecx, edx
push eax
call fcn.00403610
call fcn.00401370
mov ecx, eax
call fcn.00469c80
mov byte [esi + 0x14], 1
mov dword [esi + 0x10], 0
xor bl, bl
cmp dword [ebp + 0x1c], 0x10
jb 0x46e912
push dword [ebp + 8]
call fcn.0046fdb4
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f27e
mov esp, ebp
pop ebp
ret 0x18
Function at 0x47e063
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a7008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0047807c
mov dword [ebp - 0x14], eax
cmp dword [0x4afcdc], esi
jne 0x47e156
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47e0e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47e236
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x47e236
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47e236
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4afcdc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4afce0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4afce4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4afcec], eax
test eax, eax
je 0x47e153
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4afce8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47e17b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47e16e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x47e190
push 4
pop eax
jmp 0x47e238
cmp dword [ebp - 0x14], esi
je 0x47e190
push dword [0x4afcdc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47e175
mov eax, dword [0x4afce8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47e1ee
cmp dword [0x4afcec], edi
je 0x47e1ee
push eax
call ebx
push dword [0x4afcec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47e1ee
test eax, eax
je 0x47e1ee
call ecx
test eax, eax
je 0x47e1e3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x47e1e3
test byte [ebp - 8], 1
jne 0x47e1ee
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47e21e
mov eax, dword [0x4afce0]
cmp eax, edi
je 0x47e21b
push eax
call ebx
test eax, eax
je 0x47e21b
call eax
mov esi, eax
test esi, esi
je 0x47e21b
mov eax, dword [0x4afce4]
cmp eax, edi
je 0x47e21b
push eax
call ebx
test eax, eax
je 0x47e21b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4afcdc]
call ebx
test eax, eax
je 0x47e236
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x47e238
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f27e
mov esp, ebp
pop ebp
ret
Function at 0x4095f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x10]
push 0x400
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00516260
movaps xmm1, xmmword [0x571ab0]
lea edx, [ebp - 0x3f4]
add esp, 0xc
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 0
mov ecx, 8
lea eax, [ecx - 8]
movd xmm0, eax
lea edx, [edx + 0x40]
pshufd xmm0, xmm0, 0
lea eax, [ecx - 4]
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, eax
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movd xmm0, ecx
add ecx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
movd xmm0, eax
lea eax, [ecx - 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x20], xmm0
cmp eax, 0x100
jl 0x409651
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor edx, edx
xor ebx, ebx
xor esi, esi
nop word [eax + eax]
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp + esi*4 - 0x404]
mov al, byte [edx + eax]
add al, bl
add al, cl
movzx ebx, al
mov eax, dword [ebp + ebx*4 - 0x404]
mov dword [ebp + esi*4 - 0x404], eax
lea eax, [edx + 1]
xor edx, edx
mov dword [ebp + ebx*4 - 0x404], ecx
inc esi
cmp eax, edi
cmovl edx, eax
cmp esi, 0x100
jl 0x4096c0
mov edi, dword [ebp + 0x14]
xor esi, esi
mov edx, dword [ebp - 0x40c]
mov ebx, dword [ebp - 0x408]
test edi, edi
jle 0x409755
inc dl
movzx edx, dl
mov ecx, dword [ebp + edx*4 - 0x404]
lea eax, [ebx + ecx]
movzx ebx, al
mov eax, dword [ebp + ebx*4 - 0x404]
mov dword [ebp + edx*4 - 0x404], eax
mov dword [ebp + ebx*4 - 0x404], ecx
add cl, al
movzx eax, cl
mov ecx, dword [ebp - 0x414]
mov al, byte [ebp + eax*4 - 0x404]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x409714
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046c16d
mov esp, ebp
pop ebp
ret
Function at 0x40c9f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x5c57a8
mov dword [ebp - 0x1c], 0x680053
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x6c0065
mov dword [ebp - 0x14], 0x33006c
mov edx, 0xd
mov dword [ebp - 0x10], 0x2e0032
sub esi, eax
mov dword [ebp - 0xc], 0x6c0064
mov dword [ebp - 8], 0x6c
nop word [eax + eax]
lea ecx, [edx + 0x7ffffff1]
test ecx, ecx
je 0x40ca5e
movzx ecx, word [esi + eax]
test cx, cx
je 0x40ca5e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x40ca40
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x5c57a8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c16d
mov esp, ebp
pop ebp
ret

Function at 0x40ca80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x5c57e0
mov dword [ebp - 0x1c], 0x680053
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x6c0065
mov dword [ebp - 0x14], 0x33006c
mov edx, 0xd
mov dword [ebp - 0x10], 0x2e0032
sub esi, eax
mov dword [ebp - 0xc], 0x6c0064
mov dword [ebp - 8], 0x6c
nop word [eax + eax]
lea ecx, [edx + 0x7ffffff1]
test ecx, ecx
je 0x40caee
movzx ecx, word [esi + eax]
test cx, cx
je 0x40caee
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x40cad0
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x5c57e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c16d
mov esp, ebp
pop ebp
ret

Function at 0x40cb10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x5c57c4
mov dword [ebp - 0x1c], 0x680053
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x6c0065
mov dword [ebp - 0x14], 0x33006c
mov edx, 0xd
mov dword [ebp - 0x10], 0x2e0032
sub esi, eax
mov dword [ebp - 0xc], 0x6c0064
mov dword [ebp - 8], 0x6c
nop word [eax + eax]
lea ecx, [edx + 0x7ffffff1]
test ecx, ecx
je 0x40cb7e
movzx ecx, word [esi + eax]
test cx, cx
je 0x40cb7e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x40cb60
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x5c57c4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c16d
mov esp, ebp
pop ebp
ret
Function at 0x415a70
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e263
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x50]
push eax
call fcn.004278c0
mov ecx, eax
call fcn.00427890
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.004112d0
add eax, 0x10
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
call fcn.004613a0
lea eax, [ebp - 0x48]
push eax
call fcn.0045e270
add esp, 0xc
push 0
push dword [ebp - 0x44]
mov byte [ebp - 4], 2
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 0x44]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415bd5
call fcn.0047a580
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x415bd1
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.004211a0
push 3
push 0x572a44
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004211a0
mov byte [ebp - 4], 4
call fcn.0047a580
mov edi, eax
lea ecx, [ebp - 0xe8]
push 0x4c0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040b1c0
mov esi, eax
push str.InstallHelper::InstallFiles__copy_exe_file_failed__path:
push esi
mov byte [ebp - 4], 5
call fcn.0040c570
mov ecx, dword [ebp - 0x44]
mov edx, 0x572928
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00409810
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.0040cbc0
lea ecx, [ebp - 0x28]
call fcn.0040bb80
lea ecx, [ebp - 0x40]
call fcn.0040bb80
xor edi, edi
jmp 0x415bda
mov edi, 1
mov edx, dword [ebp - 0x48]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415bfb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415c19
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x415c3e
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x415c3e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x415c3e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c16d
mov esp, ebp
pop ebp
ret
Function at 0x41bc10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55eb90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5be26c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x24]
push eax
call fcn.004278c0
mov ecx, eax
call fcn.00427890
mov dword [ebp - 4], 0
call fcn.00418ed0
mov ecx, eax
test ecx, ecx
je 0x41bd77
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00438fe0
test al, al
mov eax, dword [ebp - 0x24]
je 0x41bca3
add eax, 0x3c
push str.cef69
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040c920
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040c150
mov edx, dword [ebp - 0x14]
jmp 0x41bcc8
add eax, 0x3c
push str.cef
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040c920
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040c150
mov edx, dword [ebp - 0x18]
or edi, 0xffffffff
mov byte [ebp - 4], 1
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41bce6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x5be090]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040c920
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x1c]
mov ebx, eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41bd20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41bd3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x41bd63
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41bd63
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41bd63
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00410dc0
int3
Function at 0x41bd90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ebd8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5be26c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
test eax, eax
jne 0x41bdd0
xor esi, esi
jmp 0x41bed9
add eax, 0x3c
push str.cef
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040c920
mov esi, dword [ebp + 0x10]
push esi
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call fcn.0040c870
add esp, 0x18
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41be15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0x3c
push str.cef69
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040c920
push esi
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
call fcn.0040c870
add esp, 0x18
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41be5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
call fcn.00438fe0
test al, al
je 0x41be78
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41be9b
push dword [ebp - 0x10]
jmp 0x41be88
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41be9b
push dword [ebp - 0x14]
call fcn.00476320
add esp, 4
test eax, eax
je 0x41be9b
mov esi, 1
jmp 0x41be9d
xor esi, esi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41bebb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41bed9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x41befe
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x41befe
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x41befe
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41fa10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41fa69
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41fa69
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41fa5a
cmp esi, edx
jae 0x41fa69
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x41fa48
cmp esi, edx
jae 0x41fa69
cmp word [esi], 0
je 0x41fa69
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x420430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f330
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5be26c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0046c29f
mov edi, eax
add esp, 4
test edi, edi
je 0x4204db
push 1
mov dword [ebp - 4], 0
call fcn.0046dfa3
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret