joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441717
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
lea eax, [ebp - 0x108]
push edi
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0xd4
push eax
mov byte [ebp - 0xf], 0x31
mov byte [ebp - 0xe], 0x22
mov byte [ebp - 0xd], 0xf0
mov byte [ebp - 0xc], 0xbb
mov byte [ebp - 0xb], 0x19
mov byte [ebp - 0xa], 0xe9
mov byte [ebp - 9], 0x45
mov byte [ebp - 8], 0x35
mov byte [ebp - 7], 0x68
mov byte [ebp - 6], 0x24
mov byte [ebp - 5], 0xc2
mov byte [ebp - 4], 0x9e
mov byte [ebp - 3], 0x71
mov byte [ebp - 2], 0x7a
mov byte [ebp - 1], 0x68
call fcn.004418e5
push 0x20
mov esi, 0x66e4f4
pop edi
lea eax, [ebp - 0x30]
push edi
push esi
push eax
call fcn.00438e75
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004419a2
lea eax, [ebp - 0x50]
push edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00438e75
add esp, 0x30
cmp byte [ebp - 0x30], 0
je 0x4417f7
lea eax, [ebp - 0x30]
push eax
push 0
call fcn.00441804
pop ecx
test eax, eax
pop ecx
jne 0x4417fb
add esi, edi
push edi
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00438e75
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004419a2
lea eax, [ebp - 0x50]
push edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00438e75
add esp, 0x28
jmp 0x4417ab
xor eax, eax
jmp 0x441800
mov eax, 0xeaf5
pop edi
pop esi
leave
ret

Function at 0x441804
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004358eb
and byte [ebp - 9], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x46
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0x12], 0x6e
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0x11], 0x64
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0x10], 0x57
mov byte [ebp - 0xb], 0x77
call fcn.00441880
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x441860
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004358eb
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x441880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004358eb
mov eax, dword [0x66b0d8]
and byte [ebp - 0xa], 0
and byte [ebp - 9], 0
and byte [ebp - 8], 0
add esp, 0xc
cmp eax, 1
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0x14], 0x75
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x33
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x2e
mov byte [ebp - 0xd], 0x64
jne 0x4418e3
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x66b0d8], eax
leave
ret
Function at 0x441ad1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 2
mov byte [ebp - 0xc], 0x4f
mov byte [ebp - 0xa], 0x4c
mov byte [ebp - 8], 0x44
mov byte [ebp - 6], 0x47
mov byte [ebp - 4], 0x45
mov byte [ebp - 2], 0x45
mov byte [ebp - 0xb], 0x4c
mov byte [ebp - 9], 0x59
mov byte [ebp - 7], 0x42
mov byte [ebp - 5], 0x2e
mov byte [ebp - 3], 0x58
mov byte [ebp - 1], bl
mov byte [ebp - 0x18], 0x44
mov byte [ebp - 0x16], 0x50
mov byte [ebp - 0x14], 0x4e
mov byte [ebp - 0x12], 0x53
mov byte [ebp - 0x10], 0x45
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0x17], 0x45
mov byte [ebp - 0x15], 0x45
mov byte [ebp - 0x13], 0x44
mov byte [ebp - 0x11], 0x2e
mov byte [ebp - 0xf], 0x58
mov byte [ebp - 0xd], bl
mov byte [ebp - 0x24], 0x57
mov byte [ebp - 0x22], 0x32
mov byte [ebp - 0x20], 0x41
mov byte [ebp - 0x1e], 0x4d
mov byte [ebp - 0x1c], 0x45
mov byte [ebp - 0x1a], 0x45
mov byte [ebp - 0x23], 0x33
mov byte [ebp - 0x21], 0x44
mov byte [ebp - 0x1f], 0x53
mov byte [ebp - 0x1d], 0x2e
mov byte [ebp - 0x1b], 0x58
mov byte [ebp - 0x19], bl
call fcn.00441dd0
mov esi, eax
pop ecx
cmp esi, 0xffffffff
pop ecx
mov dword [ebp - 0x28], esi
je 0x441c87
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0x128
push eax
push esi
call fcn.00441e80
pop ecx
test eax, eax
pop ecx
je 0x441c8e
call fcn.00441d32
cmp dword [ebp - 0x14c], eax
jne 0x441bbb
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.00441f08
pop ecx
test eax, eax
pop ecx
jne 0x441ba5
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.00441e80
pop ecx
test eax, eax
pop ecx
je 0x441c8e
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x14c], eax
jne 0x441c6f
lea eax, [ebp - 0x130]
push eax
call fcn.00441cfa
lea eax, [ebp - 0x130]
push eax
call fcn.00441cd7
lea eax, [ebp - 0xc]
push eax
call fcn.00441cfa
lea eax, [ebp - 0x18]
push eax
call fcn.00441cfa
lea eax, [ebp - 0x24]
push eax
call fcn.00441cfa
lea eax, [ebp - 0xc]
push 0xc
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00441c9c
mov esi, eax
lea eax, [ebp - 0x18]
push 0xc
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00441c9c
mov edi, eax
lea eax, [ebp - 0x24]
push 0xd
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00441c9c
add esp, 0x38
cmp esi, ebx
je 0x441c87
cmp edi, ebx
je 0x441c87
cmp eax, ebx
je 0x441c87
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.00441f08
pop ecx
test eax, eax
pop ecx
je 0x441c8b
jmp 0x441be5
xor eax, eax
jmp 0x441c97
push 1
pop ebx
push esi
call fcn.00435b54
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x441d32
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004358eb
and byte [ebp - 1], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x43
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 0x50
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x63
mov byte [ebp - 6], 0x65
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], 0x49
mov byte [ebp - 2], 0x64
call fcn.0043591a
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004358eb
mov eax, fcn.00441d32
add esp, 0xc
test eax, eax
je 0x441dc8
call esi
jmp 0x441dcd
call fcn.0043f8a2
pop esi
leave
ret

Function at 0x441dd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x19
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.004358eb
and byte [ebp - 4], 0
add esp, 0xc
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 8], 0x73
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x16], 0x54
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 7], 0x68
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 6], 0x6f
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 5], 0x74
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 9], 0x70
call fcn.0043591a
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x441e60
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x19
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.004358eb
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x441e80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004358eb
and byte [ebp - 2], 0
add esp, 0xc
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 6], 0x69
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 5], 0x72
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 9], 0x33
mov byte [ebp - 4], 0x73
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 8], 0x32
mov byte [ebp - 3], 0x74
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x46
call fcn.0043591a
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x441ee8
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004358eb
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x441f08
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004358eb
and byte [ebp - 3], 0
and byte [ebp - 2], 0
add esp, 0xc
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 6], 0x65
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 5], 0x78
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 9], 0x33
mov byte [ebp - 4], 0x74
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 8], 0x32
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x4e
call fcn.0043591a
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x441f70
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004358eb
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x4457cf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push OleUIInsertObjectA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x445827
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x6393c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44581a
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x445829
xor eax, eax
pop esi
leave
ret 4
Function at 0x446844
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
je 0x446943
call fcn.0052afc2
mov dword [ebp - 0x10], eax
push 0xf0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4468eb
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4468bc
push str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
push 0x670fc8
call fcn.00499825
add esp, 8
xor eax, eax
jmp 0x44698c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4468e3
push 0x146
push str.occmgr.cpp
call fcn.00521ca0
test eax, eax
je 0x4468e3
int3
xor edx, edx
test edx, edx
jne 0x4468c9
jmp 0x446943
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x44690e
push 0x14e
push str.occmgr.cpp
call fcn.00521ca0
test eax, eax
je 0x44690e
int3
xor edx, edx
test edx, edx
jne 0x4468f4
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x446943
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
je 0x446938
push str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
push 0x671008
call fcn.00499825
add esp, 8
jmp 0x446943
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x446914
mov dword [ebp - 0xc], 1
cmp dword [ebp - 4], 0
je 0x44696a
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
call dword [edx + 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x446989
cmp dword [ebp - 8], 0
je 0x446989
mov eax, dword [ebp - 8]
push eax
call fcn.004458d0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x485950
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00466910
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x485a1b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x485a1b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4859ce
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4859d9
or bh, 8
and edi, 0x8000000
je 0x4859f4
mov eax, dword [0x68745c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x485a1b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485df0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x485e1b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x485e3f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x485e5a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x49b4c3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fe09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00536d60
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable._AFX_DEBUG_STATE.0
push str.AFX.INI
push 1
push str.TraceEnabled
push str.Diagnostics
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x685004], eax
push str.AFX.INI
push 0
push str.TraceFlags
push str.Diagnostics
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x685000], eax
cmp dword [0x685010], 0
je 0x49b54c
push 0x77
push 0x674570
call fcn.00521ca0
test eax, eax
je 0x49b54c
int3
xor ecx, ecx
test ecx, ecx
jne 0x49b532
push 0x49b2f4
call fcn.00464f60
add esp, 4
mov dword [0x685010], eax
cmp dword [0x685014], 0
je 0x49b57e
push 0x7a
push 0x674580
call fcn.00521ca0
test eax, eax
je 0x49b57e
int3
xor edx, edx
test edx, edx
jne 0x49b564
push 0x49b466
call fcn.00466f90
add esp, 4
mov dword [0x685014], eax
push 4
push 2
call fcn.00466eb0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c306d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
call fcn.0052afc2
mov dword [ebp - 4], eax
push 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4c30c6
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4c30e0
push 0xeb
push str.dlgcore.cpp
call fcn.00521ca0
test eax, eax
je 0x4c30e0
int3
xor edx, edx
test edx, edx
jne 0x4c30c6
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.004c313b
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004458d0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4c3e8e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x44]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x40], 0
je 0x4c3ee1
call fcn.0052afc2
mov dword [ebp - 0x10], eax
push 5
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x40]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4c3ef4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 1
cmp dword [ebp - 0xc], 0
je 0x4c3f88
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dx, word [ecx + 2]
cmp edx, 0xffff
jne 0x4c3f3f
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0xc]
mov ax, word [edx + 0x12]
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 0x14]
mov word [ebp - 0x1c], dx
jmp 0x4c3f55
mov eax, dword [ebp - 0xc]
mov cx, word [eax + 0xa]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 0xc]
mov ax, word [edx + 0xc]
mov word [ebp - 0x1c], ax
mov ecx, dword [ebp - 0x20]
and ecx, 0x1801
test ecx, ecx
jne 0x4c3f7b
movsx edx, word [ebp - 0x18]
test edx, edx
jne 0x4c3f7b
movsx eax, word [ebp - 0x1c]
test eax, eax
jne 0x4c3f7b
mov dword [ebp - 0x28], 1
jmp 0x4c3f82
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x40], 0
jne 0x4c3f9a
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x44], 0
je 0x4c3fa3
mov ecx, dword [ebp - 4]
push ecx
call fcn.004458d0
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x40], 0
je 0x4c3fb6
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4c414f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x4c4172
push 0x33c
push str.dlgcore.cpp
call fcn.00521ca0
test eax, eax
je 0x4c4172
int3
xor eax, eax
test eax, eax
jne 0x4c4158
call fcn.0052afc2
mov dword [ebp - 8], eax
push 5
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4c41de
mov eax, dword [ebp + 8]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
test eax, eax
je 0x4c41c0
mov ecx, dword [ebp + 8]
push ecx
push str.ERROR:_Cannot_find_dialog_template_named__s._n
call fcn.00499825
add esp, 8
jmp 0x4c41d7
mov edx, dword [ebp + 8]
and edx, 0xffff
push edx
push str.ERROR:_Cannot_find_dialog_template_with_IDD_0x_04X._n
call fcn.00499825
add esp, 8
xor eax, eax
jmp 0x4c4308
cmp dword [ebp + 0xc], 0
jne 0x4c41ee
mov eax, 1
jmp 0x4c4308
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4c4221
push str.Warning:_LoadResource_failed_for_dialog_template._n
push 0x66f56c
call fcn.00499825
add esp, 8
mov eax, 1
jmp 0x4c4308
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 2]
cmp ecx, 0xffff
jne 0x4c424a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x4c4252
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004458d0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, dword [ebp - 0x14]
and edx, 0x10000000
test edx, edx
je 0x4c42b4
mov eax, dword [ebp + 8]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
test eax, eax
je 0x4c4299
mov ecx, dword [ebp + 8]
push ecx
push str.ERROR:_Dialog_named__s_must_be_invisible._n
call fcn.00499825
add esp, 8
jmp 0x4c42b0
mov edx, dword [ebp + 8]
and edx, 0xffff
push edx
push str.ERROR:_Dialog_with_IDD_0x_04X_must_be_invisible._n
call fcn.00499825
add esp, 8
xor eax, eax
jmp 0x4c4308
mov eax, dword [ebp - 0x14]
and eax, 0x40000000
test eax, eax
jne 0x4c4303
mov ecx, dword [ebp + 8]
shr ecx, 0x10
and ecx, 0xffff
and ecx, 0xffff
test ecx, ecx
je 0x4c42e9
mov edx, dword [ebp + 8]
push edx
push str.ERROR:_Dialog_named__s_must_have_the_child_style._n
call fcn.00499825
add esp, 8
jmp 0x4c42ff
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
push str.ERROR:_Dialog_with_IDD_0x_04X_must_have_the_child_style._n
call fcn.00499825
add esp, 8
xor eax, eax
jmp 0x4c4308
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8