joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429740
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x42975c
xor eax, eax
pop ebx
add esp, 8
ret 4
push ebp
push esi
push edi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebx + 4]
mov ebp, dword [ebx + 8]
mov edi, eax
mov eax, dword [ebx]
mov ebx, dword [ebx + 0xc]
push 8
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, dword [esp + 0x10]
xor ecx, ecx
cmp edx, ecx
jge 0x4297b2
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x1c], ecx
jge 0x4297bc
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
cmp ebp, ecx
jle 0x4297c6
mov ebp, ecx
cmp ebx, eax
jle 0x4297cc
mov ebx, eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
sub ebx, edx
sub ebp, eax
push ebx
push ebp
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push 0xcc0020
push edx
push eax
push esi
push ebx
push ebp
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x14]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, eax
call esi
push edi
call esi
pop edi
pop esi
invalid
Function at 0x42ac70
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x1d0
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xdd]
mov byte [esp + 0xdc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x4d2204
lea eax, [esp + 0xe0]
push str._sCFTConfigTestReport.rpt
push eax
call fcn.004511b4
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x85]
mov byte [esp + 0x84], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x50
mov dword [esp + 0x20], ebx
stosb byte es:[edi], al
call fcn.0046987b
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x42ad75
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
pop esp
and al, 0x14
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x6fc]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ecx + 0x1267c]
lea eax, [esp + 0x14]
push edx
push str.__s_
push eax
call fcn.004511b4
add esp, 0xc
lea ecx, [esp + 0xdc]
lea edx, [esp + 0x78]
lea eax, [esp + 0x14]
push ecx
push 0x64
push edx
push str.0__0
push eax
push str.Count_Stat.
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x78]
push ecx
push str.___t_n
push esi
push edx
call fcn.00414260
mov eax, dword [esi]
push eax
call fcn.004515c1
mov dword [ebp + 0x1640], eax
mov ecx, dword [esi + 4]
push ecx
call fcn.004515c1
push esi
mov dword [ebp + 0x163c], eax
call fcn.004698a4
add esp, 0xc
jmp 0x42ad81
mov dword [ebp + 0x1640], ebx
mov dword [ebp + 0x163c], ebx
cmp dword [ebp + 0x6f4], ebx
je 0x42ad93
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d0
ret
Function at 0x42b0b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48788b
push eax
mov dword fs:[0], esp
sub esp, 0x454
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x6fc]
push edi
mov ebp, dword [eax + 0x126d0]
test ebp, ebp
je 0x42b2a2
mov ecx, dword [0x4cdd70]
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x474]
mov dword [esp + 0x46c], 0
test esi, esi
je 0x42b151
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
push esi
mov ecx, ebp
call dword [edx + 0x20]
test eax, eax
jne 0x42b151
mov eax, dword [esp + 0x480]
test eax, eax
je 0x42b28e
push esi
lea eax, [esp + 0x14]
push str.Send__s_command_to_handler_failed_
push eax
call fcn.00461dbf
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push ecx
jmp 0x42b289
mov eax, dword [esp + 0x478]
test eax, eax
jne 0x42b17a
lea ecx, [esp + 0x10]
mov dword [esp + 0x46c], 0xffffffff
call fcn.00469244
mov eax, 1
jmp 0x42b2a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
mov ecx, 0xf9
xor eax, eax
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [ebp]
push 0
stosb byte es:[edi], al
mov eax, dword [ebx + 0x6fc]
mov ecx, dword [eax + 0x126e8]
lea eax, [esp + 0x1c]
push ecx
push 0x64
push eax
mov ecx, ebp
call dword [edx + 0x1c]
test eax, eax
jbe 0x42b213
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x4cc18c
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004522f0
add esp, 8
test eax, eax
jne 0x42b22e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x47c]
sub eax, edx
cmp eax, ecx
jbe 0x42b199
mov esi, dword [esp + 0x478]
lea ecx, [esp + 0x7c]
push esi
push ecx
call fcn.00452220
add esp, 8
test eax, eax
jne 0x42b262
lea ecx, [esp + 0x10]
mov dword [esp + 0x46c], 0xffffffff
call fcn.00469244
mov eax, 1
jmp 0x42b2a4
mov eax, dword [esp + 0x480]
test eax, eax
je 0x42b28e
push esi
lea edx, [esp + 0x14]
push str.Cannot_receieve__s_response_from_handler_
push edx
call fcn.00461dbf
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push eax
call fcn.00473235
lea ecx, [esp + 0x10]
mov dword [esp + 0x46c], 0xffffffff
call fcn.00469244
xor eax, eax
mov ecx, dword [esp + 0x464]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x460
ret 0x10
Function at 0x42b2c0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x6fc]
mov ecx, dword [eax + 0x126d0]
test ecx, ecx
je 0x42b351
push 8
call fcn.0046987b
mov esi, eax
add esp, 4
test esi, esi
je 0x42b351
push 0
push 0
push 1
push 0
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x42b360
push 0
push 0
mov dword [esi], eax
call fcn.004524f9
add esp, 0x18
mov dword [edi + 0x1950], eax
test eax, eax
jne 0x42b330
mov eax, dword [esi]
test eax, eax
je 0x42b348
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
invalid
invalid
Function at 0x4359f0
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4888ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], method.CDialog.virtual_0
mov dword [esp + 0x20], 0x16
call fcn.00437410
mov eax, dword [esi + 0x10f00]
xor ebx, ebx
cmp eax, ebx
je 0x435a40
push eax
call fcn.004698a4
add esp, 4
mov dword [esi + 0x10f00], ebx
mov eax, dword [esi + 0x10f08]
cmp eax, ebx
je 0x435a59
push eax
call fcn.004698a4
add esp, 4
mov dword [esi + 0x10f08], ebx
mov eax, dword [esi + 0x10f0c]
cmp eax, ebx
je 0x435a72
push eax
call fcn.004698a4
add esp, 4
mov dword [esi + 0x10f0c], ebx
mov eax, dword [esi + 0x10f04]
cmp eax, ebx
je 0x435a8b
push eax
call fcn.004698a4
add esp, 4
mov dword [esi + 0x10f04], ebx
lea edi, [esi + 0x10f10]
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.00463c0a
lea ebp, [esi + 0x10f24]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.00463c0a
lea ebx, [esi + 0x10f38]
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.00463c0a
push 0xffffffffffffffff
lea ecx, [esi + 0x10f4c]
push 0
call fcn.00463c0a
lea ecx, [esi + 0x10f7c]
call fcn.004642df
lea ecx, [esi + 0x10f98]
call fcn.004642df
lea ecx, [esi + 0x10fb4]
call fcn.004642df
lea ecx, [esi + 0x10fd0]
call fcn.004642df
lea ecx, [esi + 0x10f60]
call fcn.004642df
mov ecx, dword [esi + 0x11068]
test ecx, ecx
je 0x435b1d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x11068], 0
lea ecx, [esi + 0x11008]
mov byte [esp + 0x20], 0x15
call fcn.00462eb4
lea ecx, [esi + 0x10fec]
mov byte [esp + 0x20], 0x14
call fcn.00469244
lea ecx, [esi + 0x10fd0]
mov byte [esp + 0x20], 0x13
call fcn.00464339
lea ecx, [esi + 0x10fb4]
mov byte [esp + 0x20], 0x12
call fcn.00464339
lea ecx, [esi + 0x10f98]
mov byte [esp + 0x20], 0x11
call fcn.00464339
lea ecx, [esi + 0x10f7c]
mov byte [esp + 0x20], 0x10
call fcn.00464339
lea ecx, [esi + 0x10f60]
mov byte [esp + 0x20], 0xf
call fcn.00464339
lea ecx, [esi + 0x10f4c]
mov byte [esp + 0x20], 0xe
call fcn.00463baa
mov ecx, ebx
mov byte [esp + 0x20], 0xd
call fcn.00463baa
mov ecx, ebp
mov byte [esp + 0x20], 0xc
call fcn.00463baa
mov ecx, edi
mov byte [esp + 0x20], 0xb
call fcn.00463baa
lea edi, [esi + 0x3dc0]
mov dword [esp + 0x14], edi
push fcn.0040fa30
push 0x134
lea ecx, [edi + 0x7620]
push 0x48
push ecx
mov byte [esp + 0x30], 0x1b
call fcn.00451341
push fcn.0040fa30
Function at 0x436340
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48890b
dec eax
add byte [ecx], ah
add byte [eax], al
add byte [eax + 0x64], dl
mov dword [0], esp
sub esp, 0xb0c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], 0
push str.CFTProject.ini
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x4c9684
push 0x4d2204
lea eax, [esp + 0x64]
push str._s_s_s
push eax
call fcn.004511b4
add esp, 0x14
lea ebx, [esi + 0x10f10]
mov ecx, ebx
push 0xffffffffffffffff
push 0
call fcn.00463c0a
push 0xffffffffffffffff
lea ecx, [esi + 0x10f24]
push 0
call fcn.00463c0a
push 0xffffffffffffffff
lea ecx, [esi + 0x10f38]
push 0
call fcn.00463c0a
push 0xffffffffffffffff
lea ecx, [esi + 0x10f4c]
push 0
call fcn.00463c0a
lea ecx, [esi + 0x10f7c]
call fcn.004642df
lea ecx, [esi + 0x10f98]
call fcn.004642df
lea ebp, [esi + 0x10fb4]
mov ecx, ebp
call fcn.004642df
lea ecx, [esi + 0x10fd0]
call fcn.004642df
mov ecx, 0x17e
xor eax, eax
lea edi, [esp + 0x17d]
mov byte [esp + 0x17c], 0
rep stosd dword es:[edi], eax
push 0xc8
mov dword [esp + 0x24], 0
stosb byte es:[edi], al
call fcn.0046987b
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x58]
lea edx, [esp + 0x17c]
push ecx
push 0x5fa
push edx
push 0x4d2070
push str.PlatForm
push str.Chip_List
mov dword [esp + 0x34], eax
call edi
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push 0x4c8444
lea edx, [esp + 0x184]
push ecx
push edx
call fcn.00414260
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x4364c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov ecx, dword [ebx + 8]
push eax
push ecx
mov ecx, ebx
call fcn.00463d53
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jl 0x436492
mov eax, dword [esi + 0x10f18]
xor ebx, ebx
test eax, eax
jle 0x43651f
mov edx, dword [esi + 0x10f14]
lea ecx, [esp + 0x58]
push ecx
push 0x5fa
mov eax, dword [edx + ebx*4]
lea edx, [esp + 0x184]
push edx
push 0x4d2070
push eax
push str.PlatForm
call edi
mov eax, dword [esi + 0x10f14]
lea ecx, [esp + 0x17c]
push ecx
mov ecx, ebp
mov eax, dword [eax + ebx*4]
push eax
call fcn.004643f3
mov ecx, eax
call fcn.004693cd
mov eax, dword [esi + 0x10f18]
inc ebx
cmp ebx, eax
jl 0x4364cc
lea edx, [esp + 0x58]
lea eax, [esp + 0x17c]
push edx
push 0x5fa
push eax
push 0x4d2070
push str.GSM_PA
push str.Chip_List
call edi
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push 0x4c8444
lea edx, [esp + 0x184]
push ebp
push edx
call fcn.00414260
mov eax, dword [esp + 0x20]
xor ebx, ebx
test eax, eax
jle 0x43658e
mov eax, dword [ebp]
mov edx, dword [esi + 0x10f2c]
lea ecx, [esi + 0x10f24]
push eax
push edx
call fcn.00463d53
mov eax, dword [esp + 0x20]
inc ebx
add ebp, 4
cmp ebx, eax
jl 0x436568
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x10f2c]
xor ebx, ebx
test eax, eax
jle 0x4365f1
Function at 0x437410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x488936
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.CFTProject.ini
push 0x4c9684
stosb byte es:[edi], al
push 0x4d2204
lea eax, [esp + 0x20]
push str._s_s_s
push eax
call fcn.004511b4
mov eax, dword [0x4cdd70]
add esp, 0x14
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x120], esi
mov ecx, dword [ebp + 0x434]
xor eax, eax
cmp ecx, esi
mov byte [esp + 0x120], 1
jle 0x4377a8
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ebx
Function at 0x439ce0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4889d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 0x4d2070
lea ecx, [esp + 0xc]
call fcn.004692b2
mov eax, dword [esi + 0x428]
mov dword [esp + 0x14], 0
cmp eax, 8
je 0x439dd2
cmp eax, 0xa
je 0x439dd2
cmp eax, 9
jne 0x439d83
mov eax, dword [esi + 0x42c]
lea ecx, [esp + 8]
push eax
push str.GuiCfg
push 0x4c9684
push 0x4d2204
push str._s_s_s_s.AntNonsignal
push ecx
call fcn.00461dbf
mov edx, dword [esp + 0x20]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0x18
push edx
call edi
test eax, eax
jne 0x439e27
push 0x4c9684
push 0x4d2204
lea eax, [esp + 0x10]
push str._s_sAntenna_Nonsignal.AntNonsignal
push eax
jmp 0x439e1f
mov ecx, dword [esi + 0x42c]
lea edx, [esp + 8]
push ecx
push str.GuiCfg
push 0x4c9684
push 0x4d2204
push str._s_s_s_s.cfg
push edx
call fcn.00461dbf
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0x18
push eax
call edi
test eax, eax
jne 0x439e27
push 0x4c9684
push 0x4d2204
lea ecx, [esp + 0x10]
push str._s_sCFTGui.cfg
push ecx
jmp 0x439e1f
mov edx, dword [esi + 0x42c]
lea eax, [esp + 8]
push edx
push str.GuiCfg
push 0x4c9684
push 0x4d2204
push str._s_s_s_s.ant
push eax
call fcn.00461dbf
mov ecx, dword [esp + 0x20]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0x18
push ecx
call edi
test eax, eax
jne 0x439e27
push 0x4c9684
push 0x4d2204
lea edx, [esp + 0x10]
push str._s_sAntenna.ant
push edx
call fcn.00461dbf
add esp, 0x10
mov eax, dword [esp + 8]
push eax
call edi
test eax, eax
je 0x439e9e
mov ecx, dword [esp + 8]
push 0x4ca430
push ecx
call fcn.00452205
mov edi, eax
add esp, 8
test edi, edi
je 0x439e9e
push edi
lea ecx, [esi + 0x3dc0]
call fcn.004137b0
push edi
lea ecx, [esi + 0x10a80]
call fcn.004138c0
push edi
lea ecx, [esi + 0x438]
call fcn.00413230
push edi
call fcn.00452157
add esp, 4
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00469244
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00469244
mov ecx, dword [esp + 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43d63b
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x488a96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x64]
call fcn.0042cbe0
lea ecx, [esp + 0x60]
mov dword [esp + 0xc8], 0
call fcn.00464f21
cmp eax, 1
jne 0x43d74d
mov eax, dword [esp + 0xbc]
push str.sprd
push eax
call fcn.00451105
add esp, 8
test eax, eax
jne 0x43d746
push edi
mov ecx, 0x11
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [0x4cdd70]
mov dword [esp + 0x10], 0x44
mov dword [esp + 0x3c], 1
mov word [esp + 0x40], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0x1ac]
push 0
push 0
push 0x147
push ecx
mov byte [esp + 0xdc], 2
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 8]
lea ecx, [esi + 0x190]
push edx
push eax
call fcn.0047983d
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push eax
push 0x4d2204
push str.Notepad.exe__sCFTConfigProject_sCALPARAM.INI
push ecx
call fcn.00461dbf
add esp, 0x10
lea edx, [esp + 0x54]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [esp + 0xc]
mov byte [esp + 0xcc], 1
call fcn.00469244
lea ecx, [esp + 8]
mov byte [esp + 0xcc], 0
call fcn.00469244
pop edi
jmp 0x43d74d
mov ecx, esi
call fcn.0043d620
lea ecx, [esp + 0xbc]
mov dword [esp + 0xc8], 3
call fcn.00469244
lea ecx, [esp + 0x60]
mov dword [esp + 0xc8], 0xffffffff
call fcn.00464bbb
mov ecx, dword [esp + 0xc0]
pop esi
mov dword fs:[0], ecx
add esp, 0xc8
ret
Function at 0x4429d0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x488f23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.0046c178
lea edi, [esi + 0x10]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [edi + 4], ebx
mov dword [edi], 0x48bdc8
mov byte [esp + 0x30], 1
mov dword [esi], method.CDC.virtual_0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00465847

Function at 0x4480e0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
mov ebx, ecx
je 0x448110
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x44]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
lea edi, [ebx + 0x44]
push ecx
push edi
mov dword [esp + 0x20], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x4481c1
mov eax, dword [ebx]
test eax, eax
je 0x44813f
push eax
call fcn.004698a4
add esp, 4
push esi
call fcn.0046987b
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x4481c1
mov edx, dword [esp + 0x18]
push eax
push esi
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4481c1
mov edx, dword [ebx]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.VarFileInfoTranslation
push edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jle 0x4481c1
cmp dword [esp + 0xc], 4
jb 0x4481c1
mov eax, dword [esp + 0x10]
xor ecx, ecx
xor edx, edx
add ebx, 4
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04x_
push ebx
call fcn.004511b4
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 4

Function at 0x45265c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45267c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00454a4b
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x45269f
test byte [esp + 8], 2
je 0x45269f
call fcn.00454abe
mov dword [eax], 0xd
call fcn.00454ac7
mov dword [eax], 5
jmp 0x452678
xor eax, eax
ret
Function at 0x460fe0
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.00450ce0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4610ab
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 0x4610ab
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x46105e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x461069
or bh, 8
and edi, 0x8000000
je 0x461084
mov eax, dword [0x4e883c]
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 0x4610ab
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 0x461480
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 0x4614ab
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 0x4614cf
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 0x4614ea
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 0x464bf9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0047ed5b
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x464c2a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00464c3d
pop edi
pop esi
pop ebx
ret 8