joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424330
Capabilities:
Delete file

Disassembly:
sub esp, 0x820
push ebx
push esi
mov esi, dword [esp + 0x82c]
mov ebx, ecx
test esi, esi
je 0x4244a3
mov eax, dword [esi + 0x2ef4]
test eax, eax
je 0x42435f
push esi
call fcn.004244b0
dec dword [ebx + 0x898]
mov dx, word [0x500df0]
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x41e]
mov word [esp + 0x41c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x626]
mov word [esp + 0x624], dx
rep stosd dword es:[edi], eax
mov ecx, dword [0x73ff2c]
push 0
stosw word es:[edi], ax
lea eax, [esp + 0x218]
push 0x104
push eax
push ecx
call fcn.004a8e10
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0x10
lea edx, [esi + 0x2094]
lea eax, [esp + 0x214]
push edx
lea ecx, [esp + 0x420]
push eax
push ecx
call edi
lea edx, [esi + 0x229c]
lea eax, [esp + 0x41c]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
call edi
lea edx, [esp + 0xc]
push 0x4ee6a8
push edx
push str._s._s
lea eax, [esp + 0x630]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [esi + 0x2cc8]
add esp, 0x14
test eax, eax
je 0x424473
mov eax, dword [esp + 0x834]
test eax, eax
je 0x424465
lea ecx, [esp + 0xc]
push 1
push ecx
call fcn.00437330
add esp, 8
lea edx, [esp + 0x624]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esi + 0x2f98]
push esi
mov ecx, ebx
call fcn.00424690
test edi, edi
je 0x424492
push 1
push edi
mov ecx, 0x68e440
call fcn.00469040
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x820
ret 8
pop esi
xor eax, eax
pop ebx
add esp, 0x820
ret 8

Function at 0x424980
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
cmp word [0x50161c], 0
push esi
push edi
jne 0x424a2f
mov al, byte [0x500e04]
mov ecx, 0x208
mov byte [ebp - 0x828], al
xor eax, eax
lea edi, [ebp - 0x827]
lea edx, [ebp - 0x828]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0x824
stosw word es:[edi], ax
push ecx
push edx
push 0
stosb byte es:[edi], al
call sub.urlmon.dll_ObtainUserAgentString
lea eax, [ebp - 0x828]
test eax, eax
jne 0x4249dd
xor edi, edi
jmp 0x424a16
lea ecx, [ebp - 0x828]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004d4ce0
mov edi, esp
push esi
push edi
lea edx, [ebp - 0x828]
push 0xffffffffffffffff
push edx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push 0x4ed128
push 0x823
push 0x50161c
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea esp, [ebp - 0x830]
mov eax, 0x50161c
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x425300
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x2b4
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, eax
test esi, esi
je 0x42536e
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, 1
jbe 0x42536e
push 0x410
lea ecx, [esp + 8]
push 0x2b4
push ecx
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x2c4]
mov ecx, dword [esp + 0x2c0]
lea edx, [esp + 0x218]
dec eax
push edx
push 0x4ed128
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
pop esi
add esp, 0x2b4
ret
mov edx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2c0]
mov ecx, dword [0x73ff28]
push edx
push eax
push 0x16c
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
pop esi
add esp, 0x2b4
ret

Function at 0x425550
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x320
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push edi
push str.TheWorld_2.0
push 0x4ed128
push 0x103
push 0x565180
call esi
add esp, 0x10
push str.2.4_Final
push 0x4ed128
push 0x103
push 0x565388
call esi
add esp, 0x10
push 0x4ee294
push 0x4ed128
push 0x103
push 0x565590
call esi
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x4ed128
push 0x103
push 0x565798
call esi
mov ebx, dword [esp + 0x340]
add esp, 0x10
mov eax, dword [ebx]
push eax
push str.0x_08x
push 0x103
push 0x565db0
call esi
mov cx, word [0x500df0]
xor eax, eax
mov word [esp + 0x134], cx
mov ecx, 0x81
lea edi, [esp + 0x136]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0xc]
push edx
stosw word es:[edi], ax
lea eax, [esp + 0x138]
push 0x103
push eax
push ecx
mov dword [esp + 0x2c], 0
call fcn.00425760
add esp, 0x20
test eax, eax
je 0x42568c
push 0x103
lea edx, [esp + 0x128]
push 0x565ba8
push edx
call fcn.004a9020
add esp, 0xc
lea eax, [esp + 0x124]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
jne 0x42565e
lea eax, [esp + 0x124]
push eax
push 0x4ed128
push 0x103
push 0x5659a0
call esi
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
push str.0x_08x
push 0x103
push 0x565fb8
call esi
add esp, 0x10
mov ecx, 0x45
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4256d8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
push str._d._d._d__s
push 0x103
push 0x5661c0
call esi
add esp, 0x1c
push 0x104
push 0x5663c8
call fcn.004b24e0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x320
ret
Function at 0x425bc0
Capabilities:
Delete file

Disassembly:
mov ecx, 0x5028f8
call fcn.004a3dc0
mov eax, dword [0x566bec]
test eax, eax
je 0x425beb
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x566bec], 0
cmp dword [0x55f7ac], 7
jne 0x425c0f
push 0xc53
call fcn.004afb70
add esp, 4
push eax
mov eax, dword [0x566be8]
push 0x421
push eax
jmp 0x425c29
push 0xc54
call fcn.004afb70
mov ecx, dword [0x566be8]
add esp, 4
push eax
push 0x421
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x55f7c0
call esi
push 0x5669e0
call esi
mov edx, dword [0x566be8]
push 1
push 2
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, 0x5028f8
call fcn.004a3b40
pop esi
ret
Function at 0x425cd0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x830
mov al, byte [0x500e04]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x1c], al
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x854]
test eax, eax
je 0x425e36
mov esi, dword [esp + 0x850]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov ecx, dword [esp + 0x84c]
push eax
push ecx
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
lea edx, [esp + 0x2c]
push 0x823
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
push 0x4eee44
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov ebp, ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x425e1e
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
mov edi, eax
push 0
push ebx
mov dword [esp + 0x34], edi
call esi
mov ecx, dword [esp + 0x864]
add edi, ebp
add esp, 0x1c
mov dword [esp + 0x10], edi
mov edx, dword [ecx]
lea eax, [edi + 2]
cmp eax, edx
mov dword [esp + 0x14], eax
jae 0x425e03
mov eax, dword [esp + 0x844]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x1c]
mov edi, eax
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 1
and ecx, 3
add ebp, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x854]
mov dx, word [0x4eee40]
add esp, 0x10
mov word [eax + ecx], dx
mov eax, dword [esp + 0x848]
mov edx, dword [esp + 0x14]
push ebx
mov dword [eax], edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
push ebx
mov dword [ecx], 0
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
mov ecx, dword [esp + 0x848]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
pop ebx
add esp, 0x830
ret
mov edx, dword [esp + 0x850]
mov eax, dword [esp + 0x84c]
push edx
push eax
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
lea ecx, [esp + 0x2c]
push 0x823
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x848]
not ecx
dec ecx
mov eax, ecx
mov ecx, dword [edx]
cmp eax, ecx
jae 0x425ea8
mov edi, dword [esp + 0x844]
mov ecx, eax
mov ebx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov dword [edx], eax
pop ebx
add esp, 0x830
ret
pop edi
pop esi
pop ebp
mov dword [edx], 0
pop ebx
add esp, 0x830
ret
Function at 0x426510
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00425ec0
add esp, 4
cmp eax, ebx
mov dword [0x566bec], eax
je 0x4266d4
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x412]
mov word [ebp - 0x414], dx
mov word [ebp - 0x20c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x20c]
push 0x4ef034
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, 0x5028f8
call fcn.004a3b40
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push str.http:__feedback.theworld.cn_collection_
mov ecx, 0x412
xor eax, eax
mov edi, 0x55fbd0
push 0x4ed128
push 0x824
push 0x55fbd0
rep stosd dword es:[edi], eax
call esi
mov ecx, 0x82
xor eax, eax
mov edi, 0x55f7c0
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x414]
push ecx
push 0x4ed128
push 0x104
push 0x55f7c0
call esi
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x61a]
mov word [ebp - 0x61c], dx
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, str.___________________________7d9114302a0cb6
mov dword [0x504f90], 0x2710
test eax, eax
mov dword [0x504f88], 0x4266f0
mov dword [0x504f84], ebx
je 0x426676
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.004d4ce0
mov ebx, esp
push edi
push ebx
push 0xffffffffffffffff
push str.___________________________7d9114302a0cb6
push 0
push 0
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push str.multipart_form_data__boundary_s
lea ecx, [ebp - 0x61c]
push 0x103
push ecx
call esi
mov eax, dword [ebp - 4]
mov edx, dword [0x566bec]
mov dword [0x504d68], eax
mov ecx, 0x82
xor eax, eax
mov edi, 0x504d6c
mov dword [0x504d64], edx
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x61c]
push ecx
push 0x4ed128
push 0x104
push 0x504d6c
call esi
add esp, 0x10
mov ecx, 0x5028f8
call fcn.004a3ac0
lea esp, [ebp - 0x628]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426730
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
push ebp
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, eax
test ebp, ebp
je 0x426827
push ebx
push esi
push str.MiniDumpWriteDump
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x42681e
mov ax, word [0x500df0]
push edi
mov word [esp + 0x1c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x5669e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [esp + 0x24]
push 0x4ef034
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push 0x5669e0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x42681e
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esp + 0x224]
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
pop ebp
add esp, 0x214
ret
Function at 0x42ae10
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x868
mov ax, word [0x500df0]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x878]
push edi
mov word [esp + 0x468], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46a]
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
push str.favsorder.db
rep stosd dword es:[edi], eax
push esi
push 0x4ee3cc
lea ecx, [esp + 0x474]
push 0x103
push ecx
stosw word es:[edi], ax
call ebp
add esp, 0x14
lea edx, [esp + 0x468]
push 0x20
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x880]
test eax, eax
je 0x42afbc
mov cx, word [0x500df0]
xor eax, eax
mov word [esp + 0x670], cx
mov ecx, 0x81
lea edi, [esp + 0x672]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x94
xor eax, eax
lea edi, [esp + 0x14]
push str._s.
lea edx, [esp + 0x678]
push 0x103
rep stosd dword es:[edi], eax
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x670]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42afbc
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x262]
mov word [esp + 0x260], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test byte [esp + 0x10], 0x10
je 0x42af94
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [esp + 0x3c]
push 0x4ed42c
push eax
call edi
add esp, 8
test eax, eax
je 0x42af94
lea ecx, [esp + 0x3c]
push 0x4ed424
push ecx
call edi
add esp, 8
test eax, eax
je 0x42af94
lea edx, [esp + 0x3c]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x260]
push edx
push esi
rep stosd dword es:[edi], eax
push 0x4ee3cc
lea eax, [esp + 0x26c]
push 0x103
push eax
call ebp
lea ecx, [esp + 0x274]
push 1
push ecx
call fcn.004a8ef0
lea edx, [esp + 0x27c]
push 1
push edx
call fcn.0042ae10
add esp, 0x24
mov ecx, 0x94
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42af16
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x868
ret
Function at 0x42ccc0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x208
push ebx
push esi
mov esi, dword [esp + 0x218]
test esi, esi
je 0x42cd3e
mov ebx, dword [esp + 0x214]
push esi
mov ecx, ebx
call fcn.004b04e0
test eax, eax
jne 0x42cd3e
mov ax, word [0x500df0]
push edi
mov word [esp + 0xc], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push 0x104
push ecx
push esi
mov ecx, ebx
stosw word es:[edi], ax
call fcn.004b0330
test eax, eax
pop edi
je 0x42cd3e
lea edx, [esp + 8]
push edx
push 0
push 0x4ef318
push 0x4eeb30
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
dec eax
pop esi
neg eax
sbb eax, eax
pop ebx
inc eax
add esp, 0x208
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x208
ret
Function at 0x42e950
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4d89ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
mov dx, word [0x500df0]
push esi
mov esi, ecx
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x5e]
mov dword [esp + 0x4c], 0x5b
mov byte [esp + 0x50], 4
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov word [esp + 0x5c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xae]
mov dword [esp + 0x9c], 0x59
mov byte [esp + 0xa0], 4
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa8], 0x8c
mov word [esp + 0xac], dx
rep stosd dword es:[edi], eax
push 5
push 0
stosw word es:[edi], ax
mov ecx, esi
mov dword [esp + 0xf4], 0x5a
mov byte [esp + 0xf8], 4
mov dword [esp + 0xfc], 0x40
mov dword [esp + 0x100], 1
call fcn.004d0b40
push 1
mov ecx, esi
call fcn.004d0f90
push 0
push 0
push 2
push 1
push 5
push 3
push 1
push str.BTN_MASK
push 0
push 0
mov ecx, esi
call fcn.004d0a30
push 0x20
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x104], 0
je 0x42ea81
mov ecx, eax
call fcn.004bc370
mov edi, eax
jmp 0x42ea83
xor edi, edi
push 0x10
push 0x10
mov ecx, edi
mov dword [esp + 0x10c], 0xffffffff
call fcn.004bca50
push str.IL_FINDBARITEM
mov ecx, edi
call fcn.004bc4d0
push edi
mov ecx, esi
call fcn.004d1180
lea eax, [esp + 0xc]
push 3
push eax
mov ecx, esi
call fcn.004ce990
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10c]
push 0
push 1
push 0
push 0
push 0x3ec
push ecx
push edx
push str.FindBar
mov ecx, esi
call fcn.004ce860
mov eax, dword [0x73ff2c]
mov ecx, dword [esi + 8]
push 0
push eax
push 0x3e8
push ecx
push 0x16
push 0x8c
push 0
push 0
push 0x54000080
push 0x500df0
push str.edit
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x42e870
lea ecx, [esi + 0x6bc]
mov dword [esi + 0x6c0], eax
call fcn.004d3a10
mov edx, dword [esi + 0x6c0]
push esi
push str.CLASSPROC
push edx
call dword [sym.imp.USER32.dll_SetPropW]
mov edi, dword [esi + 0x6c0]
push 0
push 0
mov ecx, esi
call fcn.004c6130
push eax
push 0x30
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
call edi
mov eax, dword [esi + 0x6c0]
push 0x4b2860
push 0
push 0xd0
push eax
call edi
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 8]
push 0x42e900
push esi
push edx
lea ecx, [esi + 0x69c]
call fcn.004a8a10
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x100
ret 4
Function at 0x42f580
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
push edi
push 0x3ec
mov ecx, dword [esi + 0xac]
call fcn.004c2e80
mov edi, eax
test edi, edi
je 0x42f5c2
push ebx
mov ebx, dword [esi + 0x6c0]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
pop ebx
je 0x42f611
mov ecx, esi
call fcn.0042f960
pop edi
pop esi
add esp, 0x208
ret
mov ecx, dword [esi + 0x6c0]
lea eax, [esp + 8]
push 0x103
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jne 0x42f611
lea eax, [esp + 8]
push 0x103
push eax
mov ecx, 0x6fdd00
call fcn.004b5c50
mov edx, dword [esi + 0x6c0]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
mov ecx, esi
test edi, edi
sete al
push eax
call fcn.0042eef0
pop edi
pop esi
add esp, 0x208
ret

Function at 0x431d20
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x82
lea ebx, [esi + 0x930]
mov dword [esi + 0x928], eax
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
test edi, edi
je 0x431d7f
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x431d6d
push edi
push 0x4ed128
push 0x103
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
jmp 0x431d7f
mov ecx, dword [esi + 0x928]
push 1
push ecx
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [esi + 0x6c8]
test eax, eax
je 0x431dcf
mov edx, dword [esi + 0x6e4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb
push edx
call edi
lea ecx, [esi + 0x6e0]
call fcn.004d2c30
mov eax, dword [esi + 0x6e4]
push 0
push 1
push 0xb
push eax
call edi
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov ecx, esi
call fcn.004326a0
push 0
mov ecx, esi
call fcn.004325f0
pop edi
pop esi
pop ebx
ret 8

Function at 0x4325f0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c4]
test eax, eax
je 0x432694
mov eax, dword [esi + 0xd48]
test eax, eax
jne 0x432694
mov eax, dword [esi + 0xd40]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
jne 0x432630
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 0xd40], eax
mov eax, dword [esi + 0xd44]
test eax, eax
jne 0x43264d
mov eax, dword [esp + 0xc]
push 0
push eax
push 0
push 0
call edi
mov dword [esi + 0xd44], eax
mov eax, dword [esi + 0xd40]
pop edi
test eax, eax
je 0x432694
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0xd40]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [esp + 8]
mov dword [esp + 8], 0
push edx
push 0
push esi
push 0x432820
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0xd48], eax
pop esi
ret 4