joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40a750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.qjEpyQEl
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40a772
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a779
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a768
mov eax, 1
add ebx, ebx
jne 0x40a78b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a780
jne 0x40a79c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a780
xor ecx, ecx
sub eax, 3
jb 0x40a7b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a822
mov ebp, eax
add ebx, ebx
jne 0x40a7bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a7c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a7ec
inc ecx
add ebx, ebx
jne 0x40a7d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a7cd
jne 0x40a7e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a7cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a80c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a7fd
jmp 0x40a76e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a80c
add edi, ecx
jmp 0x40a76e
pop esi
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a86b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa1b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa21c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a829
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa224]
or eax, eax
je 0x40a865
mov dword [ebx], eax
add ebx, 4
jmp 0x40a846
call dword [esi + 0xa220]
mov ebp, dword [esi + 0xa228]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x40a89f
sub esp, 0xffffff80
jmp section.JToItMIl
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x44f336
Capabilities:
Encode data using xor

Disassembly:
jmp 0x464de3
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x464ed7
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, 0x515508
mov bl, byte [esi + edi]
push str.ugAyuisyx
push ebp
call fcn.0044e210
xor edx, edx
mov eax, esi
div dword [esp + 0x24]
pop ecx
pop ecx
push 0x451e88
push str.Bicycle_water
mov bh, byte [edx + section..LN3]
push 0x5155f0
xor bh, bl
call fcn.0044e210
pop ecx
pop ecx
mov ecx, eax
call fcn.00451262
mov bl, byte [esi + edi]
push 0x451e88
push str.dijovhyuGSYYSyus
push ebp
call fcn.0044e210
pop ecx
pop ecx
mov ecx, eax
call fcn.00451262
add byte [esi + edi], bh
push 0x451e88
push str.fdiogiuAsdoiHYUAUAY87234
push ebp
call fcn.0044e210
pop ecx
pop ecx
mov ecx, eax
call fcn.00451262
dec byte [esi + edi]
push str.suih89Ah3
push ebp
call fcn.0044e210
add byte [esi + edi], 0xfe
push str.XScdyhjkujktyyt
push ebp
call fcn.0044e210
sub byte [esi + edi], bl
push str.sJBCsKJ2BJN
push ebp
call fcn.0044e210
inc byte [esi + edi]
push str.sDGTFsE
push ebp
call fcn.0044e210
inc byte [esi + edi]
push str.ZASwe23
push ebp
call fcn.0044e210
inc byte [esi + edi]
push str.uhgiyGAuyisua
push ebp
call fcn.0044e210
add esp, 0x30
inc esi
cmp esi, dword [esp + 0x18]
jb 0x464dfc
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0x451357
Capabilities:
Parse pe header

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

Function at 0x451672
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x4644b3
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x53c998], eax
pop edi
pop esi
ret
Function at 0x40ad9f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bbd78]
jne 0x40ada9
repz ret
jmp fcn.0040d93c

Function at 0x40d3e3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bbd78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004064e4
and dword [ebp - 0x14], 0
cmp dword [0x4bf744], 0
mov dword [ebp - 0x18], eax
jne 0x40d496
push 0x402bc4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40d53e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402bb8
push ebx
call edi
test eax, eax
je 0x40d53e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402ba8
push ebx
mov dword [0x4bf744], eax
call edi
push eax
call esi
push 0x402b94
push ebx
mov dword [0x4bf748], eax
call edi
push eax
call esi
push 0x402b78
push ebx
mov dword [0x4bf74c], eax
call edi
push eax
call esi
mov dword [0x4bf754], eax
test eax, eax
je 0x40d496
push 0x402b60
push ebx
call edi
push eax
call esi
mov dword [0x4bf750], eax
mov eax, dword [0x4bf750]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40d4ef
cmp dword [0x4bf754], ecx
je 0x40d4ef
push eax
call esi
push dword [0x4bf754]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40d4ef
test ebx, ebx
je 0x40d4ef
call edi
test eax, eax
je 0x40d4e6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40d4e6
test byte [ebp - 8], 1
jne 0x40d4ef
or dword [ebp + 0x10], 0x200000
jmp 0x40d522
mov eax, dword [0x4bf748]
cmp eax, dword [ebp - 0x18]
je 0x40d522
push eax
call esi
test eax, eax
je 0x40d522
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40d522
mov eax, dword [0x4bf74c]
cmp eax, dword [ebp - 0x18]
je 0x40d522
push eax
call esi
test eax, eax
je 0x40d522
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4bf744]
call esi
test eax, eax
je 0x40d53e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40d540
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ad9f
leave
ret
Function at 0x4a2ad0
Capabilities:
Accept command line arguments
Delete directory
Get common file path

Disassembly:
mov eax, 0x1020
call fcn.0040e8c0
cmp dword [0x23016cc], 0x37
jne 0x4a2b8a
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x403428
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea eax, [esp + 0x424]
push eax
push 0x403438
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0x824]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 8]
push ecx
push 0x403490
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0x20]
push edx
push 0
push 0x403498
push 0x4034a8
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0x4034f8
push 0x4035b8
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov eax, dword [0x23016d0]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x4c485c]
mov byte [eax + esi], dl
add esp, 0x1020
ret

Function at 0x4a2bc0
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x64
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov edx, dword [0x4bc388]
push ebx
push ebp
mov ebp, dword [0x4bc384]
push esi
mov esi, dword [ecx + 4]
mov ecx, dword [0x4bc380]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x4bc38c]
mov ebx, 0xc6ef3720
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0x20
jmp 0x4a2c14
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x20]
shl ecx, 4
add ecx, dword [esp + 0x24]
add eax, ebx
xor edx, ecx
xor edx, eax
sub esi, edx
mov ecx, esi
shl ecx, 4
mov dword [0x22f767c], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
cmp dword [0x23016cc], 0x1be
lea edi, [ebx + esi]
jne 0x4a2c69
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, esi
shr eax, 5
add eax, ebp
xor eax, edi
xor dword [esp + 0x10], eax
mov dword [0x22f7680], 0xff6b3619
mov dword [0x22f7684], 0xffffffff
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
mov ecx, dword [0x23016cc]
cmp ecx, 0x93
je 0x4a2cad
lea eax, [esp + 0x18]
call fcn.004a2bb0
mov ebx, dword [esp + 0x18]
dec dword [esp + 0x1c]
jne 0x4a2c10
cmp ecx, 0x8d4
jne 0x4a2ce1
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x64
ret 4
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret 4
Function at 0x4a2d00
Capabilities:
Manipulate console buffer

Disassembly:
push ecx
mov eax, dword [0x23016cc]
shr eax, 3
push esi
mov esi, dword [0x4c485c]
test eax, eax
je 0x4a2d44
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push edi
mov edi, eax
mov edi, edi
cmp dword [0x23016cc], 0x1c
jne 0x4a2d36
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call ebx
push esi
call fcn.004a2bc0
add esi, 8
dec edi
jne 0x4a2d20
pop edi
pop ebx
pop esi
pop ecx
ret
Function at 0x4011a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4011bb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4011f2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4011ee
jmp 0x4011e0
cmp esi, eax
jae 0x4011f2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4011e0
cmp esi, eax
jb 0x4011f9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x416587
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4165ce
call fcn.0040a04f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4165ce
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4165ea
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00416087
mov esi, eax
test edi, edi
je 0x4165e8
test ebx, ebx
je 0x4165e8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x416ac9
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x513294
call fcn.004f93f3
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x416aee
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x416b40
call fcn.00408caa
push eax
lea ecx, [ebp - 0x10]
call fcn.004016f0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f94fd
push eax
call fcn.00401050
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401250
mov eax, esi
call fcn.004f94cb
ret 8

Function at 0x441547
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040a04f
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x441580
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00441184
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4415de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x441602
cmp dword [edi + 0x74], 0
jne 0x441602
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0040a04f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044159f
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x443369
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0044300d
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4433b3
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00408bab
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407e5e
jmp 0x4433be
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0040bc68
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4433c4
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00416793
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x443401
call fcn.0044300d
mov dword [esi + 0xc], 1
jmp 0x443406
call fcn.0044300d
cmp dword [esi], 0
je 0x44344f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x443427
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00408bab
jmp 0x443439
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401ba0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407e5e
jmp 0x443473
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x443473
push dword [esi]
push dword [ebp + 8]
call fcn.0040bc68
pop esi
pop ebp
ret 0xc

Function at 0x472b34
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x472b4e
call fcn.0040a04f
mov esi, dword [eax + 0xc]
push dword [0x568738]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x472b6c
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x472b64
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x472b99
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x472b66
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00472a62
mov esi, eax
jmp 0x472b8b

Function at 0x4cfeda
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00414968
call fcn.004060c3
cmp eax, esi
pop esi
jne 0x4cfef6
mov ecx, 0x564ea8
jmp fcn.0040f588
ret
Function at 0x4d37f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4d3808
mov edi, dword [esi + 0xc]
jmp 0x4d3848
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d3821
call fcn.0040a958
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d3836
call fcn.0040a958
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d3848
call fcn.0040a958
call fcn.0040a04f
cmp dword [eax + 0x3c], 0
je 0x4d385d
push edi
mov ecx, ebx
call fcn.004d26a4
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d370a
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4d387b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d3887
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4f90ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5635b8]
jne 0x4f90f8
repz ret
jmp fcn.005022fc
Function at 0x509248
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5635b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004fe75b
and dword [ebp - 0x14], 0
cmp dword [0x56afc4], 0
mov dword [ebp - 0x18], eax
jne 0x5092fb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5093a3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x544b28
push ebx
call edi
test eax, eax
je 0x5093a3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x544b18
push ebx
mov dword [0x56afc4], eax
call edi
push eax
call esi
push 0x544b04
push ebx
mov dword [0x56afc8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x56afcc], eax
call edi
push eax
call esi
mov dword [0x56afd4], eax
test eax, eax
je 0x5092fb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x56afd0], eax
mov eax, dword [0x56afd0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x509354
cmp dword [0x56afd4], ecx
je 0x509354
push eax
call esi
push dword [0x56afd4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x509354
test ebx, ebx
je 0x509354
call edi
test eax, eax
je 0x50934b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x50934b
test byte [ebp - 8], 1
jne 0x509354
or dword [ebp + 0x10], 0x200000
jmp 0x509387
mov eax, dword [0x56afc8]
cmp eax, dword [ebp - 0x18]
je 0x509387
push eax
call esi
test eax, eax
je 0x509387
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x509387
mov eax, dword [0x56afcc]
cmp eax, dword [ebp - 0x18]
je 0x509387
push eax
call esi
test eax, eax
je 0x509387
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x56afc4]
call esi
test eax, eax
je 0x5093a3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5093a5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f90ee
leave
ret