joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ec32
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a95d6
mov eax, dword fs:[0]
push eax
mov eax, 0x288c
call fcn.0049b9f0
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2894], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2890], eax
xor eax, eax
xor edi, edi
push 0x2450
mov word [ebp - 0x2880], ax
lea eax, [ebp - 0x287c]
mov ebx, ecx
mov esi, edx
push edi
push eax
mov dword [ebp - 0x288c], ebx
mov dword [ebp - 0x2884], esi
mov dword [ebp - 0x2888], edi
call fcn.0048e0e0
add esp, 0xc
cmp dword [ebp + 0x14], edi
jne 0x41ecbc
cmp esi, edi
jne 0x41ecbc
xor eax, eax
jmp 0x41ee59
push edi
push ebx
lea esi, [ebp - 0x2880]
call fcn.00418104
pop ecx
pop ecx
test eax, eax
je 0x41ee53
push 0x62f48
call fcn.004892be
pop ecx
mov dword [ebp - 0x2898], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x41ecf5
push eax
call fcn.00417d33
mov esi, eax
jmp 0x41ecf7
xor esi, esi
or dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x41ee53
push ebx
mov eax, esi
call fcn.00405d6e
mov eax, dword [ebp + 0x10]
push dword [ebp - 0x2884]
mov dword [esi + 0x62ee4], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x26b0], eax
mov eax, dword [ebp + 0x20]
xor ebx, ebx
mov dword [esi + 0x26a0], eax
inc ebx
mov eax, esi
mov dword [esi + 0x2468], ebx
mov dword [esi + 0x26a4], 0x41eb99
call fcn.0041c352
push dword [ebp + 0x1c]
mov eax, esi
call fcn.0041c352
push dword [ebp + 8]
mov eax, esi
call fcn.0041c352
mov eax, dword [ebp - 0x2890]
mov dword [ebp - 0x2884], eax
xor eax, eax
push 0x208
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push edi
push eax
call fcn.0048e0e0
add esp, 0xc
cmp dword [ebp + 0x14], edi
jne 0x41ed95
lea eax, [ebp - 0x428]
mov dword [ebp - 0x2884], eax
cmp dword [ebp - 0x2884], edi
je 0x41ee4c
cmp dword [ebp + 8], edi
je 0x41edc2
push edi
push dword [ebp - 0x2884]
push dword [ebp - 0x2894]
push edi
push dword [ebp - 0x288c]
call dword [sym.imp.WININET.dll_CreateUrlCacheEntryW]
jmp 0x41ee11
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.0048e0e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push dword [ebp - 0x2884]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4c9ac4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [ebp - 0x2884]
xor ecx, ecx
cmp cx, word [eax]
je 0x41ee4c
push eax
mov eax, esi
call fcn.00405d9f
call fcn.004181e5
test eax, eax
je 0x41ee4c
cmp dword [ebp + 0x14], edi
je 0x41ee73
push 0xa
mov eax, esi
call fcn.0041858a
cmp dword [esi + 0x5d120], 7
jne 0x41ee4c
mov dword [ebp - 0x2888], ebx
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax]
mov eax, dword [ebp - 0x2888]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00488e60
leave
ret
mov dword [ebp - 0x2888], ebx
jmp 0x41ee53
Function at 0x42066e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x2a0]
sub esp, 0x320
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp + 0x29c], eax
push esi
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor esi, esi
cmp dword [ebp - 0x70], 2
mov dword [0x4f85bc], esi
mov dword [0x4f85c0], esi
mov dword [0x4f85c4], esi
mov dword [0x4f85c8], esi
mov dword [0x4f85cc], esi
mov dword [0x4f85d0], esi
mov dword [0x4f85d8], esi
mov dword [0x4f85dc], esi
mov dword [0x4f85e0], esi
mov dword [0x4f85e4], esi
mov dword [0x4f85e8], esi
mov dword [0x4f85ec], esi
mov dword [0x4f85f0], esi
jne 0x42077b
cmp dword [ebp - 0x7c], 5
jne 0x42072d
cmp dword [ebp - 0x78], esi
jne 0x42070c
mov dword [0x4f85c0], 1
jmp 0x42078b
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
jne 0x42071b
mov dword [0x4f85c4], eax
jmp 0x42078b
cmp dword [ebp - 0x78], 2
jne 0x42078b
mov dword [0x4f85c4], 1
jmp 0x42078b
cmp dword [ebp - 0x7c], 6
jne 0x42075b
xor eax, eax
inc eax
mov dword [0x4f85c4], eax
mov dword [0x4f85c8], eax
cmp dword [ebp - 0x78], eax
jne 0x42074a
mov dword [0x4f85cc], eax
jbe 0x42078b
xor eax, eax
inc eax
mov dword [0x4f85cc], eax
mov dword [0x4f85d0], eax
jmp 0x42078b
jbe 0x42078b
xor eax, eax
inc eax
mov dword [0x4f85c4], eax
mov dword [0x4f85c8], eax
mov dword [0x4f85cc], eax
mov dword [0x4f85d0], eax
mov dword [0x4f85d4], eax
jmp 0x42078b
cmp dword [ebp - 0x70], 1
jne 0x42078b
mov dword [0x4f85bc], 1
xor eax, eax
push 0x206
mov word [ebp + 0x94], ax
lea eax, [ebp + 0x96]
push esi
push eax
call fcn.0048e0e0
add esp, 0xc
cmp dword [0x4f85cc], esi
je 0x4207ce
push ebx
push edi
call fcn.004208cb
mov ebx, 0x103
lea esi, [ebp + 0x94]
mov edi, eax
call fcn.0041dd5a
pop edi
pop ebx
jmp 0x4207e1
lea eax, [ebp + 0x94]
push 0x103
push eax
call fcn.00420908
pop ecx
pop ecx
mov ax, word [ebp + 0x94]
push 0x37
pop ecx
pop esi
cmp cx, ax
jne 0x4207fd
mov dword [0x4f85dc], 1
jmp 0x42086f
push 0x36
pop ecx
cmp cx, ax
jne 0x420811
mov dword [0x4f85d8], 1
jmp 0x42086f
push 0x38
pop ecx
cmp cx, ax
jne 0x420825
mov dword [0x4f85e0], 1
jmp 0x42086f
push 0x39
pop ecx
cmp cx, ax
jne 0x420839
mov dword [0x4f85e4], 1
jmp 0x42086f
push 0x31
pop ecx
cmp cx, ax
jne 0x42086f
push 0x30
pop eax
cmp ax, word [ebp + 0x96]
jne 0x420859
mov dword [0x4f85e8], 1
jmp 0x42086f
push 0x31
pop eax
cmp ax, word [ebp + 0x96]
jne 0x42086f
mov dword [0x4f85ec], 1
call fcn.0042088e
mov ecx, dword [ebp + 0x29c]
xor ecx, ebp
mov dword [0x4f85f0], eax
call fcn.00488e60
add ebp, 0x2a0
leave
ret

Function at 0x4208cb
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
push ebx
mov ebx, 0x503568
cmp ax, word [0x503568]
jne 0x420904
push esi
push edi
push eax
push 0x26
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, ebx
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x4208ed
push 0x10
pop ecx
mov esi, str.Internet_Exploreriexplore.exe
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4225eb
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422613
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x422613
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0042282a
pop edi
ret
Function at 0x423e27
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebx
push ebp
push edi
push 0x7e2
push dword [0x4f752c]
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
push ebp
push 0
mov ebx, 0x80
push ebx
push dword [esi + 4]
call edi
push ebp
push 1
push ebx
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x2e4]
imul eax, eax, 0x3e8
push esi
mov dword [esi + 0x2c8], eax
call fcn.00424386
mov ecx, esi
call fcn.00424435
mov eax, esi
call fcn.00425dfd
push dword [esi + 4]
call fcn.00428181
pop ecx
mov dword [esi + 0x2d4], eax
test eax, eax
je 0x423ed4
lea ecx, [esi + 0x28]
mov dword [eax + 0x7c], ecx
mov eax, dword [esi + 0x2d4]
add eax, 0x6c
push 0
mov dword [eax + 8], 0x4dd1f8
mov dword [eax + 0xc], 6
push dword [esi + 0x2e0]
push dword [esi + 0x2d4]
call fcn.004288f3
mov eax, dword [esi + 0x2d4]
push 4
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x42488e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
push esi
xor esi, esi
push edi
cmp dword [0x503770], esi
jne 0x424a3c
mov dword [0x503770], 1
cmp dword [ebx + 0x2d8], esi
jne 0x424a3c
push esi
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_MonitorFromRect]
mov edx, eax
cmp edx, esi
je 0x424910
push 9
pop ecx
xor eax, eax
mov dword [esp + 0x28], 0x28
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
push edx
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x424935
push esi
lea eax, [esp + 0x1c]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
jne 0x424935
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x2e8]
call fcn.0042b293
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x2ec]
call fcn.0042b293
mov edi, dword [esp + 0x20]
sub edi, dword [esp + 0x18]
mov dword [esp + 0xc], eax
push 3
pop eax
call fcn.0042b293
sub edi, dword [esp + 8]
mov esi, dword [ebx + 0xac]
sub edi, eax
mov eax, dword [ebx + 0x2d4]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x24]
sub edi, dword [esp + 0x1c]
test eax, eax
je 0x4249a0
push 0x210
push dword [esp + 0x10]
push dword [esp + 0x10]
push esi
push 0
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0xc]
push 0x50
add esi, eax
push esi
push dword [esp + 0x10]
push edi
push dword [esp + 0x20]
push 0xffffffffffffffff
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor esi, esi
inc esi
mov dword [ebx + 0x2c0], esi
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebx + 0x2c4], eax
mov eax, dword [ebx + 4]
lea edi, [ebx + 0x2b0]
push eax
mov dword [edi], eax
mov dword [edi + 4], 0x7b
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4249fb
push 0x1e
mov esi, edi
call fcn.004314bb
xor esi, esi
inc esi
mov eax, dword [ebx + 0x2f0]
push 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push str.vbdver
push str.SoftwareJHotNews
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebx + 0x2dc], esi
call fcn.00414c69
push esi
push 6
pop ecx
mov edx, str.hao123vbox
call fcn.00414d32
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4251cd
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x7e8
push dword [0x4f752c]
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
mov ebx, 0x80
push ebx
push dword [esi + 4]
mov dword [ebp - 0x8c], eax
call edi
push dword [ebp - 0x8c]
push 1
push ebx
push dword [esi + 4]
call edi
push esi
call fcn.004259db
mov ecx, esi
call fcn.00425a97
push str.4YagD
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, esi
call fcn.00425dfd
push dword [esi + 4]
call fcn.00428181
pop ecx
mov dword [esi + 0x2b0], eax
test eax, eax
je 0x4252bc
lea ecx, [esi + 0x28]
mov dword [eax + 0x7c], ecx
mov eax, dword [esi + 0x2b0]
add eax, 0x6c
mov dword [eax + 8], 0x4dd1c8
mov dword [eax + 0xc], 6
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x86]
push eax
call fcn.0048e0e0
add esp, 0xc
lea eax, [ebp - 0x88]
push 0x3f
push eax
call fcn.0040e048
pop ecx
pop ecx
push 0
push dword [esi + 0x2c0]
push dword [esi + 0x2b0]
call fcn.004288f3
mov eax, dword [esi + 0x2b0]
push 4
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00488e60
leave
ret
Function at 0x42658c
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push ebx
mov ecx, esi
call fcn.004265ea
mov eax, dword [esi + 0x64]
xor ebx, ebx
cmp eax, ebx
je 0x4265e8
push edi
push ebx
push ebx
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [esi + 0x64]
push ebx
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
cmp edi, ebx
je 0x4265e4
push 0x3e8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4265dd
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x64], ebx
pop edi
pop ebx
ret
Function at 0x427135
Capabilities:
Enumerate files on windows

Disassembly:
push 0xa88
mov eax, 0x4a9cfa
call fcn.00490b44
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa94], eax
xor eax, eax
mov esi, 0x206
xor ebx, ebx
push esi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0xa90], ebx
call fcn.0048e0e0
add esp, 0xc
cmp edi, ebx
je 0x42719b
cmp word [edi], bx
je 0x42719b
push edi
push str._s_ver_.jzs
lea eax, [ebp - 0x21c]
push 0x103
push eax
call fcn.00488ec0
add esp, 0x10
jmp 0x4271b4
push str._ver_.jzs
lea eax, [ebp - 0x21c]
push 0x103
push eax
call fcn.00488ec0
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push ebx
push eax
call fcn.0048e0e0
add esp, 0xc
push str.skin
call fcn.00401848
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea eax, [ebp - 0x424]
push eax
call edi
xor eax, eax
push esi
mov word [ebp - 0x62c], ax
lea eax, [ebp - 0x62a]
push ebx
push eax
call fcn.0048e0e0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x62c]
push eax
call edi
push 0x24c
lea eax, [ebp - 0xa80]
push ebx
push eax
mov dword [ebp - 0xa84], ebx
call fcn.0048e0e0
add esp, 0xc
lea eax, [ebp - 0xa84]
push eax
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa8c], eax
cmp eax, 0xffffffff
jne 0x42725a
xor eax, eax
jmp 0x427337
lea eax, [ebp - 0xa58]
push 0x4c4eb4
push eax
call fcn.0048912b
pop ecx
pop ecx
test eax, eax
je 0x42730a
lea eax, [ebp - 0xa58]
push 0x4c901c
push eax
call fcn.0048912b
pop ecx
pop ecx
test eax, eax
je 0x42730a
test byte [ebp - 0xa84], 0x10
jne 0x42730a
xor eax, eax
push esi
mov word [ebp - 0x834], ax
lea eax, [ebp - 0x832]
push ebx
push eax
call fcn.0048e0e0
add esp, 0xc
lea eax, [ebp - 0xa58]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x834]
push eax
call edi
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0xa88]
push eax
call fcn.00404b9b
lea eax, [ebp - 0xa88]
push eax
mov eax, dword [ebp - 0xa94]
mov dword [ebp - 4], ebx
call fcn.0040fca5
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa88]
add eax, 0xfffffff0
call fcn.00404bfa
mov dword [ebp - 0xa90], 1
lea eax, [ebp - 0xa84]
push eax
push dword [ebp - 0xa8c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42725a
push dword [ebp - 0xa8c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa90]
call fcn.00490bc7
ret 4

Function at 0x42740a
Capabilities:
Suspend thread
Terminate thread

Disassembly:
mov eax, dword [esi + 0xc]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x42745f
push edi
push ebx
push ebx
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [esi + 0xc]
push ebx
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
cmp edi, ebx
je 0x42745b
push 0x3e8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x427454
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], ebx
pop edi
pop ebx
ret
Function at 0x4281b5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4281d0
xor eax, eax
jmp 0x428260
mov dword [ebx + 0x10], esi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0xc]
push eax
push esi
push ebx
push 0x4282aa
push 0x200000
push esi
call fcn.0048a081
add esp, 0x18
cmp eax, esi
je 0x4281c9
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], esi
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x428230
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x42821c
push 0xff
push 0xffffffffffffffff
push esi
lea eax, [ebx + 0x14]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, esi
je 0x42825c
cmp eax, 0xffffffff
jne 0x428230
mov eax, dword [ebx + 4]
pop edi
pop esi
leave
ret
Function at 0x4297fb
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0x38
mov eax, 0x4a86d3
call fcn.00490adb
xor edi, edi
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x34], esi
cmp esi, 0xffffffff
jne 0x429836
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4299b3
push edi
push esi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push edi
push edi
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x30], eax
cmp eax, edi
je 0x42999e
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
je 0x42998a
push esi
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 0x14
mov dword [ebp - 0x3c], 0xd
mov dword [ebp - 0x38], 0x20
call dword [sym.imp.dbghelp.dll_ImageNtHeader]
mov ebx, eax
cmp ebx, edi
je 0x429981
mov eax, 0x5a4d
cmp ax, word [esi]
jne 0x429981
mov dword [ebp - 0x10], edi
mov edx, dword [ebp - 0x10]
shl edx, 2
mov eax, dword [ebp + edx - 0x44]
mov ecx, dword [ebx + eax*8 + 0x78]
mov eax, dword [ebx + eax*8 + 0x7c]
cmp eax, edi
je 0x429970
mov esi, dword [ebp + edx - 0x40]
xor edx, edx
div esi
push edi
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 0x2c], esi
push ebx
mov esi, eax
dec esi
call dword [sym.imp.dbghelp.dll_ImageRvaToVa]
mov dword [ebp - 0x28], eax
cmp eax, edi
je 0x429970
cmp esi, edi
jle 0x429970
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esi
cmp eax, edi
je 0x429962
cmp dword [ebp - 0x10], 1
jge 0x429908
mov eax, dword [eax + 0xc]
jmp 0x42990e
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
push edi
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.dbghelp.dll_ImageRvaToVa]
mov esi, eax
cmp esi, edi
je 0x429962
mov eax, dword [0x4f4a0c]
mov ecx, 0x4f4a0c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push esi
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], edi
call fcn.00405af9
push dword [ebp + 0x10]
mov dword [ebp - 4], 1
push dword [ebp + 0xc]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.00429a75
or dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
call fcn.00404bfa
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x2c]
dec dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
jne 0x4298f9
add dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], 4
jb 0x4298b0
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x429993
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4299a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
call fcn.00490bb3
ret
Function at 0x429a75
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x2c
mov eax, 0x4a9c45
call fcn.00490adb
mov edi, dword [ebp + 0x21c]
mov esi, dword [ebp + 0x218]
push fcn.00429a75
mov dword [ebp - 0x20], edi
call fcn.004297c8
pop ecx
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor ebx, ebx
cmp eax, ebx
je 0x429af8
cmp dword [ebp - 0x18], ebx
je 0x429af8
push dword [ebp + 0x220]
push edi
push esi
call dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.00488e60
add ebp, 0x210
leave
ret 0xc
push esi
lea eax, [ebp - 0x14]
push eax
call fcn.00404b9b
xor eax, eax
mov dword [ebp - 4], ebx
push 0x208
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.0048e0e0
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp dword [eax - 0xc], ebx
je 0x429c6f
push 0x5c
push eax
call fcn.00489946
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x429b71
inc edi
inc edi
push 0x2e
push edi
call fcn.0048b20b
mov esi, eax
sub esi, edi
add esi, 8
pop ecx
sar esi, 1
pop ecx
cmp eax, edi
jbe 0x429b83
cmp esi, 0x104
jae 0x429b83
push esi
lea eax, [ebp]
push edi
push eax
call fcn.00489972
add esp, 0xc
xor eax, eax
mov word [ebp + esi*2], ax
jmp 0x429b83
push 0x104
lea eax, [ebp]
push esi
push eax
call fcn.00489972
add esp, 0xc
mov dword [ebp - 0x38], str.ntdll.dll
mov dword [ebp - 0x34], str.kernel32.dll
mov dword [ebp - 0x30], str.kernelBase.dll
mov dword [ebp - 0x2c], str.msvcrt.dll
mov dword [ebp - 0x28], str.ole32.dll
mov dword [ebp - 0x24], str.Advapi32.dll
xor esi, esi
lea eax, [ebp]
push eax
push dword [ebp + esi*4 - 0x38]
call fcn.0048912b
pop ecx
pop ecx
test eax, eax
je 0x429bca
inc esi
cmp esi, 6
jl 0x429baf
jmp 0x429bd0
xor eax, eax
mov word [ebp], ax
cmp word [ebp], bx
je 0x429c6f
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b9b
lea esi, [ebp]
mov byte [ebp - 4], 1
call fcn.004293b9
mov eax, esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404b9b
push 1
push 0x4c4ea0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00405cb7
mov eax, dword [ebp - 0x1c]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00405cb7
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x429c37
lea eax, [ebp - 0x14]
lea edi, [ebp - 0x10]
jmp 0x429c3d
lea eax, [ebp - 0x10]
lea edi, [ebp - 0x14]
call fcn.00405ab8
push dword [ebp + 0x220]
push dword [ebp - 0x20]
push dword [ebp - 0x10]
call fcn.004297fb
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00404bfa
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404bfa
cmp dword [ebp - 0x18], ebx
je 0x429c97
push dword [ebp + 0x220]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call dword [ebp - 0x18]
mov esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00404bfa
mov eax, esi
jmp 0x429ad3
xor esi, esi
jmp 0x429c85
Function at 0x42af57
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x5a4]
sub esp, 0x624
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp + 0x5a0], eax
push ebx
push esi
xor eax, eax
mov esi, 0x206
xor ebx, ebx
push esi
mov word [ebp + 0x398], ax
lea eax, [ebp + 0x39a]
push ebx
push eax
mov dword [ebp - 0x80], ebx
call fcn.0048e0e0
push dword [ebp + 0x5ac]
lea ecx, [ebp + 0x398]
call fcn.0042932e
add esp, 0x10
test eax, eax
je 0x42b06d
xor eax, eax
push esi
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.0048e0e0
add esp, 0xc
lea eax, [ebp + 0x398]
push eax
call fcn.00401848
push eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x804
cmp cx, ax
jne 0x42b06a
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b06a
push edi
xor eax, eax
push esi
mov word [ebp + 0x190], ax
lea eax, [ebp + 0x192]
push ebx
push eax
call fcn.0048e0e0
push dword [ebp + 0x5ac]
mov ecx, 0x104
push str.SoftwareJHotNews
push str._sIECore_d
lea edi, [ebp + 0x190]
call fcn.0040243c
add esp, 0x18
lea eax, [ebp - 0x7c]
push eax
push 0x20000
push ebx
mov eax, edi
push eax
push 0x80000001
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop edi
test eax, eax
jne 0x42b05c
mov dword [ebp - 0x80], 1
cmp dword [ebp - 0x7c], ebx
je 0x42b06a
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x5a0]
pop esi
xor ecx, ebp
pop ebx
call fcn.00488e60
add ebp, 0x5a4
leave
ret 4