joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52a7d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd6000]
push edi
jmp 0x52a7ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52a7f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52a7e0
mov eax, 1
add ebx, ebx
jne 0x52a803
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52a814
jne 0x52a833
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52a833
dec eax
add ebx, ebx
jne 0x52a820
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52a7f8
add ebx, ebx
jne 0x52a82f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52a885
xor ecx, ecx
sub eax, 3
jb 0x52a84b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52a8ba
sar eax, 1
mov ebp, eax
jmp 0x52a856
add ebx, ebx
jne 0x52a856
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52a824
inc ecx
add ebx, ebx
jne 0x52a864
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52a824
add ebx, ebx
jne 0x52a871
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52a866
jne 0x52a882
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52a866
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52a8a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52a896
jmp 0x52a7e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52a8a4
add edi, ecx
jmp 0x52a7e6
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52a8c2
cmp byte [edi], 0x11
jne 0x52a8c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x52a8c7
lea edi, [esi + 0x123000]
mov eax, dword [edi]
or eax, eax
je 0x52a93f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17f00c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17f188]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52a8f4
mov ecx, edi
jns 0x52a923
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x17f18c]
or eax, eax
je 0x52a939
mov dword [ebx], eax
add ebx, 4
jmp 0x52a911
call dword [esi + 0x17f19c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52a970
cmp al, 0xef
ja 0x52a963
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52a945
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52a952
mov ebp, dword [esi + 0x17f190]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x52a9a4
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x403920
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403939
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403974
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403970
lea ebx, [ebx]
cmp esi, eax
jae 0x403974
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403960
cmp esi, eax
jb 0x40397a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4092e0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x466dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x481670]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0xc8]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
push ecx
call fcn.0044d410
lea edx, [esp + 0x4c]
add esp, 8
push edx
call fcn.0040d810
add esp, 8
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x48]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x409454
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x10]
push ecx
mov esi, eax
call fcn.0040d8f0
push 0x474228
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x48], 1
call fcn.004057d0
lea ecx, [esp + 0x50]
push ecx
push eax
lea edx, [esp + 0x5c]
mov bl, 2
push edx
mov byte [esp + 0x54], bl
call fcn.00407ac0
add esp, 0x1c
push 0
mov byte [esp + 0x3c], 3
mov eax, dword [eax]
push 0x10
push eax
call fcn.00420cb6
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409416
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40943e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret 0xc
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esp + 0x18]
jg 0x40946e
jl 0x40946a
mov edx, dword [esp + 0x44]
cmp edx, dword [esp + 0x14]
jae 0x40946e
mov bl, 1
jmp 0x409470
xor bl, bl
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409498
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret 0xc
Function at 0x40b380
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4661b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x481670]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
cmp byte [0x486428], 0
je 0x40b3cc
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
mov eax, dword [ebp + 0xc8]
sub eax, 0x10
push eax
call fcn.00402d30
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x44], esi
mov dword [esp + 0x3c], 0
mov ebx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebx + 1]
sub eax, edi
or eax, ecx
jge 0x40b412
push edi
lea ecx, [esp + 0x48]
call fcn.004035b0
mov esi, dword [esp + 0x44]
test edi, edi
mov word [esi + ebx*2], 0
jl 0x40b4ae
cmp edi, dword [esi - 8]
jg 0x40b4ae
mov dword [esi - 0xc], edi
mov word [esi + edi*2], 0
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x20]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], esi
mov word [esp + 0x28], 0x414
mov dword [esp + 0x32], 0x474408
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete bl
add esi, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40b4a7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov al, bl
jmp 0x40b3b6
push 0x80070057
call fcn.00402f90
int3
Function at 0x40df80
Capabilities:
Get file attributes
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x466a50
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x481670]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
lea edi, [esp + 0x1c]
call fcn.0040df10
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
je 0x40dfc9
test al, 0x10
je 0x40dfdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], 3
mov dword [ebx + 4], eax
jmp 0x40e12f
push ebp
lea ecx, [esp + 0x18]
call fcn.004036e0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x38], 0
call fcn.0040ee60
add esp, 8
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e025
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x40e048
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], 3
mov dword [ebx + 4], eax
jmp 0x40e112
push ebp
lea ecx, [esp + 0x1c]
call fcn.004036e0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x38], 3
call fcn.0044ddf0
add esp, 8
mov byte [esp + 0x30], 4
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x40]
call fcn.0040b7d0
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e09e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e0c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00410b50
mov edx, dword [esp + 0x38]
mov dword [edx + 4], eax
test eax, eax
mov eax, dword [esp + 0x3c]
mov edx, edi
jne 0x40e0ec
mov dword [ebx], 1
mov dword [ebx + 4], 0xffffff99
jmp 0x40e0f9
mov dword [ebx], 0
mov dword [ebx + 4], 0
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e112
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x30], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40e12f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 8
Function at 0x40eae0
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x30
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
jne 0x40eb0d
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x30
ret
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x40eb7b
lea ecx, [esp + 0x18]
push ecx
push esi
shr esi, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x40eb7b
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x40eb7b
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
mov eax, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp eax, 1
sete bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x30
ret
Function at 0x40f4a0
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x46637b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x481670]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov eax, dword [0x481670]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov edx, dword [esp + 0x228]
test edx, edx
je 0x40f63d
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f4f0
sub eax, esi
sar eax, 1
je 0x40f63d
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
call fcn.004036e0
lea eax, [esp + 0xc]
push eax
call fcn.0040f670
add esp, 8
mov dword [esp + 0x220], 0
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or esi, 0xffffffff
cmp eax, esi
je 0x40f5a0
test al, 0x10
je 0x40f56b
mov dword [esp + 0x220], esi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x40f564
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x40f64a
push 0x50
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esp + 0x220], esi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x40f648
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40f648
push 0x206
lea ecx, [esp + 0x12]
push 0
push ecx
mov word [esp + 0x18], 0
call fcn.004364e0
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.004350fd
lea ecx, [esp + 0x24]
push 0x5c
push ecx
call fcn.00434f2d
add esp, 0x20
test eax, eax
je 0x40f611
lea edx, [esp + 0xc]
push edx
mov word [eax], 0
call fcn.0040f4a0
add esp, 4
test al, al
jne 0x40f600
lea ecx, [esp + 8]
call fcn.004011e0
jmp 0x40f648
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40f5f5
mov dword [esp + 0x220], esi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x40f564
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x40f64a
push 0xa1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00433115
add esp, 0x21c
ret
Function at 0x40fb20
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
xor ecx, ecx
cmp edx, ecx
mov dword [esp + 0x10], eax
ja 0x40fb5c
jb 0x40fb50
cmp eax, ebx
jae 0x40fb5c
mov eax, ebx
mov edx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x30]
push 0
push eax
push edx
push ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
jne 0x40fb83
call fcn.0040fc00
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x18
test ebx, ebx
mov edx, dword [esp + 0x28]
jne 0x40fb96
mov ecx, dword [esp + 0x10]
sub ecx, edx
mov dword [esi + 4], ecx
jmp 0x40fb99
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x2c]
push 0
mov dword [esi + 0x14], edx
mov edx, dword [esi + 4]
push edx
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push edx
push ecx
push eax
mov dword [esi + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
mov dword [esi], eax
jne 0x40fbe9
call fcn.0040fc00
mov edi, eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x18
Function at 0x410e30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x410e62
lea esp, [esp]
test cl, 3
je 0x410e62
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4697c0]
add ecx, 1
sub esi, 1
jne 0x410e40
cmp esi, 0x20
push ebx
push edi
jb 0x41104c
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x469bc0]
xor edx, dword [ebx*4 + 0x469fc0]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4697c0]
add ecx, 4
xor edx, dword [eax*4 + 0x46a3c0]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x469bc0]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x469fc0]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4697c0]
add ecx, 4
xor eax, dword [edx*4 + 0x46a3c0]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x469bc0]
xor edx, dword [ebx*4 + 0x469fc0]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4697c0]
xor edx, dword [eax*4 + 0x46a3c0]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x469bc0]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x469fc0]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4697c0]
xor eax, dword [edx*4 + 0x46a3c0]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x469bc0]
xor edx, dword [ebx*4 + 0x469fc0]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4697c0]
xor edx, dword [eax*4 + 0x46a3c0]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x469bc0]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x469fc0]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4697c0]
and edx, 0xff
xor eax, dword [edx*4 + 0x46a3c0]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x469bc0]
xor edx, dword [ebx*4 + 0x469fc0]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4697c0]
add ecx, 4
xor edx, dword [eax*4 + 0x46a3c0]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x469bc0]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x469fc0]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4697c0]
and edx, 0xff
xor eax, dword [edx*4 + 0x46a3c0]
sub edi, 1
jne 0x410e72
cmp esi, 4
jb 0x411099
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x469bc0]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x469fc0]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4697c0]
and eax, 0xff
xor edi, dword [eax*4 + 0x46a3c0]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x411056
test esi, esi
pop edi
pop ebx
je 0x4110bd
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4697c0]
add ecx, 1
sub esi, 1
jne 0x4110a0
not eax
pop esi
ret
Function at 0x416e40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x463858
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x481670]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
call fcn.0041e3a5
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x416e87
push 0x80004005
call fcn.00402f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov ebx, 0x104
sub eax, ebx
or eax, ecx
mov dword [esp + 0x24], edi
jge 0x416ebf
push ebx
lea ecx, [esp + 0x18]
call fcn.004035b0
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
push 0x104
call ebp
mov edi, eax
cmp edi, ebx
jbe 0x416efa
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
mov ebx, edi
jge 0x416ef4
push edi
lea ecx, [esp + 0x18]
call fcn.004035b0
mov esi, dword [esp + 0x14]
push esi
push edi
call ebp
mov edi, eax
test edi, edi
je 0x416f54
cmp edi, ebx
ja 0x416f54
push edi
lea ecx, [esp + 0x18]
call fcn.00416d70
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push esi
call fcn.00402d30
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x34]
add esp, 4
push edi
call fcn.0040d810
add esp, 8
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416fa4
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x416fa4
call fcn.0041e3a5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x416f6e
push 0x80004005
call fcn.00402f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
lea eax, [esi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416fa4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x41b354
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41b38d
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041b317
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00416d70
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x41ce6b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41ceae
call fcn.0041f279
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41ceae
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41cec9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041ca25
test ebx, ebx
mov esi, eax
je 0x41cec7
test edi, edi
je 0x41cec7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4