joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bde0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x620
push ebx
push ebp
lea eax, [esp + 8]
push edi
push eax
xor ebx, ebx
push str.Count
mov dword [esp + 0x18], ecx
push str.UnInstallExt
mov dword [esp + 0x18], ebx
call fcn.0040bd90
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22a]
mov word [esp + 0x228], bx
rep stosd dword es:[edi], eax
mov cx, word [0x50b1d0]
mov word [esp + 0x430], bx
stosw word es:[edi], ax
mov word [esp + 0x20], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x432]
add esp, 0xc
rep stosd dword es:[edi], eax
mov ecx, 0x50b1e0
stosw word es:[edi], ax
call fcn.0040ab70
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
lea edx, [esp + 0x428]
push 0x103
push edx
call ebp
lea eax, [esp + 0x430]
push ebx
push eax
call fcn.00433340
add esp, 0x14
test eax, eax
je 0x42bf46
cmp dword [esp + 0xc], ebx
jbe 0x42bf39
push esi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x18]
push ebx
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x224]
rep stosd dword es:[edi], eax
push str.ext_d
lea ecx, [esp + 0x20]
push 0x103
push ecx
call ebp
lea edx, [esp + 0x230]
push 0x104
lea eax, [esp + 0x2c]
push edx
push eax
push str.UnInstallExt
call fcn.0040bc10
add esp, 0x20
lea ecx, [esp + 0x220]
push 0x4f1638
push ecx
call fcn.00423e30
mov ecx, eax
call fcn.00426080
mov esi, eax
push 0
push esi
call fcn.00433340
add esp, 8
test eax, eax
je 0x42bf2b
mov ecx, dword [esp + 0x14]
push esi
call fcn.0042c850
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jb 0x42be9d
pop esi
push str.UnInstallExt
call fcn.0040b690
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x620
ret
Function at 0x42bf50
Capabilities:
Delete directory

Disassembly:
sub esp, 0xa30
push ebx
push esi
mov esi, dword [esp + 0xa3c]
xor ebx, ebx
push 1
mov dword [esp + 0x10], ecx
push esi
mov dword [esp + 0x10], ebx
call fcn.00433340
add esp, 8
test eax, eax
je 0x42c15c
push ebx
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0047c270
add esp, 0xc
cmp eax, 1
je 0x42c15c
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x42c15c
push ebp
push edi
push ebx
push str.Count
push str.UnInstallExt
push eax
call fcn.0047c870
mov ebp, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x84a]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
mov word [esp + 0x848], bx
add esp, 0x10
rep stosd dword es:[edi], eax
push ebp
push 0x4efa44
lea ecx, [esp + 0x840]
push 0x104
push ecx
stosw word es:[edi], ax
call esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x232]
mov word [esp + 0x230], bx
rep stosd dword es:[edi], eax
mov dx, word [0x50b1d0]
mov ecx, 0x81
stosw word es:[edi], ax
xor eax, eax
lea edi, [esp + 0x43a]
mov word [esp + 0x438], dx
add esp, 0x10
rep stosd dword es:[edi], eax
test ebp, ebp
stosw word es:[edi], ax
jbe 0x42c14b
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x428]
push ebx
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x224]
rep stosd dword es:[edi], eax
push str.ext_d
lea eax, [esp + 0x430]
push 0x103
push eax
call esi
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x230]
push 0x103
lea edx, [esp + 0x43c]
push ecx
push edx
push str.UnInstallExt
push eax
call fcn.0047c720
mov dx, word [0x50b1d0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x3e]
mov word [esp + 0x3c], dx
mov word [esp + 0x654], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [0x5e6a0c]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x656]
rep stosd dword es:[edi], eax
push 0
lea ecx, [esp + 0x658]
push 0x104
push ecx
push edx
stosw word es:[edi], ax
call fcn.00433350
add esp, 0x34
lea eax, [esp + 0x220]
lea ecx, [esp + 0x220]
lea edx, [esp + 0x630]
push eax
push ecx
push str.Extensions
push edx
push str._s_s_s_s.dll
lea eax, [esp + 0x2c]
push 0x103
push eax
call esi
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00433340
add esp, 0x24
test eax, eax
je 0x42c142
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
call fcn.0042c850
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
inc ebx
cmp ebx, ebp
jb 0x42c033
lea edx, [esp + 0x10]
push 0
push edx
call fcn.0047c470
add esp, 8
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xa30
ret 4
Function at 0x42c330
Capabilities:
Get common file path

Disassembly:
sub esp, 0x410
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], si
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x214]
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42c3af
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], si
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push 0x104
push ecx
push esi
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x210]
lea eax, [esp + 8]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea ecx, [esp + 8]
cmp eax, ecx
mov eax, 1
je 0x42c3b1
mov eax, esi
pop edi
pop esi
add esp, 0x410
ret

Function at 0x42c400
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, 0x18a4
call fcn.004d2e90
push esi
push edi
mov esi, ecx
call fcn.00425d60
test eax, eax
je 0x42c41e
mov ecx, esi
call fcn.00425df0
xor edx, edx
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x866]
mov word [esp + 0x864], dx
mov word [esp + 0x44], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x65c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x65e]
mov word [esp + 0x454], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x456]
mov word [esp + 0x24c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x24e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x454]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x454]
push ecx
push str._sTheWorld_
lea edx, [esp + 0x254]
push 0x103
push edx
call esi
lea eax, [esp + 0x25c]
push eax
call fcn.00433c00
add esp, 0x14
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x44]
push ecx
push str._sInitExtAction.ini
push 0x103
push edx
call esi
add esp, 0x10
mov ecx, 0x50b1e0
call fcn.0040ab70
push eax
lea eax, [esp + 0x660]
push 0x103
push eax
call esi
lea ecx, [esp + 0x50]
push 1
lea edx, [esp + 0x66c]
push ecx
push edx
call fcn.004344b0
add esp, 0x18
lea eax, [esp + 0x44]
lea ecx, [esp + 0x864]
push eax
push 0x4ef6d8
push 7
push str._tp:
push str._s_d__s_s
push 0x823
push ecx
call esi
add esp, 0x1c
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea edx, [esp + 0x864]
push eax
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x1c], 0x50b244
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
test eax, eax
je 0x42c5b7
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.UnInstallExt
call fcn.0040b690
push str.UpdateExt
call fcn.0040b690
add esp, 0x18ac
ret
Function at 0x42c810
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
push esi
call fcn.0042bf50
push esi
mov ecx, edi
call fcn.00425740
push 0
push esi
call fcn.00433340
add esp, 8
test eax, eax
je 0x42c83c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
ret 4

Function at 0x42c850
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x208
push ebx
push esi
mov esi, dword [esp + 0x214]
push 0
mov ebx, ecx
push esi
call fcn.00433340
add esp, 8
test eax, eax
je 0x42c8c6
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42c8c6
push edi
mov ecx, 0x81
lea edi, [esp + 0xe]
mov word [esp + 0xc], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push 0x103
push eax
push esi
mov ecx, ebx
call fcn.0042c8e0
test eax, eax
pop edi
je 0x42c8c6
lea ecx, [esp + 8]
push 1
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x42c8c6
lea edx, [esp + 8]
push 0
push edx
call fcn.0048dd40
add esp, 8
pop esi
pop ebx
add esp, 0x208
ret 4

Function at 0x42c970
Capabilities:
Move file

Disassembly:
sub esp, 0x208
push ebx
push esi
mov esi, dword [esp + 0x214]
push edi
test esi, esi
mov ebx, ecx
je 0x42ca63
cmp word [esi], 0
je 0x42ca63
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
push 0
push esi
stosw word es:[edi], ax
call fcn.00433340
add esp, 8
test eax, eax
je 0x42ca49
lea eax, [esp + 0xc]
push 0x103
push eax
push esi
mov ecx, ebx
call fcn.0042c8e0
test eax, eax
je 0x42ca63
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esp + 0xc]
push 1
push ecx
push esi
call edi
test eax, eax
je 0x42ca63
mov edx, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push 1
push edx
push eax
call fcn.004344b0
add esp, 0xc
test eax, eax
je 0x42ca33
push 0
push esi
call fcn.00433340
add esp, 8
test eax, eax
je 0x42ca33
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.0048dd40
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x208
ret 0xc
push 1
lea edx, [esp + 0x10]
push esi
push edx
call edi
pop edi
pop esi
pop ebx
add esp, 0x208
ret 0xc
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x21c]
push 1
push eax
push ecx
call fcn.004344b0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x208
ret 0xc
Function at 0x42ce60
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1084
call fcn.004d2e90
push ebx
push ebp
mov ebp, dword [esp + 0x1090]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
je 0x42cf69
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push ebp
call edi
add esp, 4
test eax, eax
jbe 0x42cf69
mov esi, dword [esp + 0x109c]
cmp esi, ebx
je 0x42cf69
push esi
call edi
add esp, 4
test eax, eax
jbe 0x42cf69
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x4e]
mov word [esp + 0x4c], bx
rep stosd dword es:[edi], eax
push esi
push 0x4ef6d8
push ebp
push str._tmp:
push 1
push 0x4ef700
push 7
push str._tp:
stosw word es:[edi], ax
push str._s_d__s_d__s_s__s_s
lea eax, [esp + 0x70]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x40]
add esp, 0x2c
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
lea ecx, [esp + 0x4c]
push edx
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x40
mov dword [esp + 0x24], 0x50b244
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42cf5a
mov eax, dword [esp + 0x48]
push 0x186a0
push eax
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x1084
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1084
ret 8
Function at 0x42d070
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6390
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x870
push ebx
push esi
push edi
xor esi, esi
mov ebx, dword [ebp + 8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x46a]
mov word [ebp - 0x46c], si
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push 0x4f1b08
lea eax, [ebp - 0x46c]
push 0x103
push eax
mov dword [ebp - 0x14], 1
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [ebp - 0x264]
lea edx, [ebp - 0x46c]
mov word [ebp - 0x266], si
push ecx
push edx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x42d27a
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x238]
push 0x4ef3f0
push eax
call edi
add esp, 8
test eax, eax
je 0x42d257
lea ecx, [ebp - 0x238]
push 0x4f17e0
push ecx
call edi
add esp, 8
test eax, eax
je 0x42d257
test byte [ebp - 0x264], 0x10
je 0x42d1b0
mov dx, word [0x50b1d0]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x672]
mov word [ebp - 0x674], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x674]
push eax
push ebx
push 0x4ef374
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [ebp - 0x674]
push edx
call fcn.0042d070
add esp, 0x18
cmp eax, esi
jne 0x42d257
mov dword [ebp - 0x14], esi
jmp 0x42d270
lea eax, [ebp - 0x238]
push 0x2e
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x42d255
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push str..exe
push esi
call edi
add esp, 8
test eax, eax
je 0x42d1ff
push str..dll
push esi
call edi
add esp, 8
test eax, eax
je 0x42d1ff
push str..ocx
push esi
call edi
add esp, 8
test eax, eax
jne 0x42d255
mov cx, word [0x50b1d0]
xor eax, eax
mov word [ebp - 0x87c], cx
mov ecx, 0x81
lea edi, [ebp - 0x87a]
lea edx, [ebp - 0x238]
rep stosd dword es:[edi], eax
push edx
push ebx
stosw word es:[edi], ax
push 0x4ef374
lea eax, [ebp - 0x87c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [ebp - 0x87c]
push ecx
call fcn.00489c90
add esp, 0x18
test eax, eax
jne 0x42d255
mov dword [ebp - 0x14], eax
jmp 0x42d270
xor esi, esi
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x264]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42d0fd
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431bc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.00431960
mov eax, dword [esi + 4]
push 0x3f0
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [esi + 0x1874]
mov ecx, ebx
call fcn.0041c420
lea edx, [ebx + 0x5d4e0]
mov ecx, 0x412
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x214]
push ecx
push 0x4ee160
push 0x824
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov dx, word [0x50b1d0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], dx
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebp, [esi + 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0x18]
push 0x4ee79c
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebx + 0x5d0d0]
push ebp
mov ecx, 0x82
xor eax, eax
mov edi, edx
push 0x4ee160
push 0x104
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov esi, dword [esi + 4]
add esp, 0x10
mov ecx, ebx
mov dword [ebx + 0x269c], 0x431d90
mov dword [ebx + 0x2698], esi
call fcn.0041c350
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x4320a0
Capabilities:
Delete file

Disassembly:
sub esp, 0x61c
push ebx
push ebp
mov ebp, dword [esp + 0x62c]
push esi
test ebp, ebp
push edi
mov dword [esp + 0x10], 0
je 0x43226a
mov ebx, dword [esp + 0x638]
test ebx, ebx
je 0x43226a
mov eax, dword [esp + 0x63c]
test eax, eax
je 0x43226a
push 0
push ebx
call fcn.00433340
add esp, 8
test eax, eax
jne 0x4320f9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret
mov dx, word [0x50b1d0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
mov word [esp + 0x424], dx
mov word [esp + 0x21c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
push 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x5e6a0c]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push eax
push ecx
call fcn.00433350
add esp, 0x10
lea edx, [esp + 0x21c]
lea eax, [esp + 0x424]
push str.Extensions
push edx
push 0x4ef9ec
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x438]
push ecx
call fcn.00433c00
add esp, 0x18
test eax, eax
je 0x43226a
push ebp
call fcn.00423e30
mov ecx, eax
call fcn.00424e00
mov esi, eax
test esi, esi
je 0x432230
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0x14]
push 0x103
push edx
mov ecx, esi
stosw word es:[edi], ax
call fcn.0042b610
cmp word [esp + 0x14], 0
je 0x4321fc
mov eax, dword [esp + 0x63c]
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jl 0x4321fc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x61c
ret
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x432208
call esi
mov eax, dword [esp + 0x640]
test eax, eax
je 0x43226a
mov ecx, dword [esp + 0x63c]
push ecx
push ebx
push ebp
call fcn.00431db0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret
push ebp
push ebx
call fcn.00423e30
mov ecx, eax
call fcn.0042cba0
mov esi, eax
test esi, esi
je 0x432280
mov edx, dword [esp + 0x630]
push 0
push edx
call dword [sym.imp.USER32.dll_EndDialog]
push ebx
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0042ac90
mov eax, dword [esp + 0x10]
pop edi
neg eax
sbb eax, eax
pop esi
pop ebp
and eax, 2
pop ebx
add esp, 0x61c
ret
mov eax, dword [esp + 0x63c]
push eax
push ebx
push ebp
call fcn.00431db0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret
Function at 0x4327b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d63f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
cmp word [edi + 4], bx
lea eax, [edi + 4]
mov dword [ebp - 0x18], edi
jne 0x4327f4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4fbba4
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [ebp - 0x1c], esi
jne 0x432822
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, edi
call fcn.00432c10
cmp eax, ebx
jne 0x43284b
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x7f]
mov byte [ebp - 0x80], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 0x64
lea eax, [ebp - 0x80]
push 1
push eax
call edi
add esp, 0x10
cmp eax, 0x64
jae 0x432894
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 1
lea ecx, [ebp - 0x14]
push 4
push ecx
mov dword [ebp - 0x14], ebx
call edi
add esp, 0x10
cmp eax, 1
jae 0x4328c7
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x14]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x14]
push esi
push eax
push 1
push ebx
call edi
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp eax, ecx
jae 0x4328fc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x18]
push ecx
push ebx
mov ecx, edi
call fcn.00432ce0
test eax, eax
push ebx
jne 0x43292f
call fcn.004d2e69
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004d2e69
add esp, 4
mov ecx, edi
push esi
call fcn.00432d50
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432c10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov dword [esp + 0x15], eax
push edi
mov dword [esp + 0x1d], eax
push ebp
push 1
lea ecx, [esp + 0x20]
mov word [esp + 0x29], ax
push 0xc
push ecx
mov byte [esp + 0x28], 0
mov byte [esp + 0x33], al
call ebx
add esp, 0x10
mov ecx, 0xc
mov edi, str.TW.3_TAIHANG
lea esi, [esp + 0x18]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x432c61
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x432c7b
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
xor edx, edx
push ebp
mov dword [esp + 0x15], edx
push 1
lea eax, [esp + 0x18]
mov word [esp + 0x1d], dx
push 7
push eax
mov byte [esp + 0x20], 0
mov byte [esp + 0x27], dl
call ebx
add esp, 0x10
mov ecx, 7
mov edi, str.3.0.0.1
lea esi, [esp + 0x10]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x432cb7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x432cd1
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret 4

Function at 0x432d50
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov edx, dword [ecx + 0x210]
push edi
xor edi, edi
mov dword [esp + 8], ecx
cmp edx, edi
jne 0x432d6a
mov dword [esp + 4], edi
jmp 0x432d79
mov eax, dword [ecx + 0x214]
sub eax, edx
sar eax, 2
mov dword [esp + 4], eax
cmp dword [esp + 4], edi
jle 0x432dc3
push ebx
push ebp
push esi
jmp 0x432d88
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x210]
mov ebx, dword [eax + edi*4]
mov esi, dword [ebx + 0x18]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x20]
mov ebp, eax
push ecx
push 1
push esi
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x14
mov ecx, ebx
push esi
push ebp
call fcn.004326f0
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x432d84
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 4