joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e59c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x491330]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 5
pop edi
cmp dword [ecx + 0x54], edi
jle 0x41e5d7
push str.MTD_CDldTasksMgr::CheckJscriptProxy.Reset_count_over_5
push 0
push 2
push str..._atgpcextgpcdldthread.cpp
push 0x5df
call fcn.0042ab69
add esp, 0x14
xor eax, eax
jmp 0x41e6e0
push ebx
push esi
xor esi, esi
push esi
push esi
push esi
push 1
push 0x4837a4
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
jne 0x41e619
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MTD_CDldTasksMgr::CheckJscriptProxy.InternetOpen.error:0x_x
push esi
push 2
push str..._atgpcextgpcdldthread.cpp
push 0x5e6
call fcn.0042ab69
add esp, 0x18
xor eax, eax
jmp 0x41e6de
push 0x14
pop eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x40], 4
push eax
push 0x4b
push esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], esi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
jne 0x41e686
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MTD_CDldTasksMgr::CheckJscriptProxy.InternetQueryOption_failed____d_
push esi
push 2
push str..._atgpcextgpcdldthread.cpp
push 0x5fc
call fcn.0042ab69
add esp, 0x18
test byte [ebp - 0x24], 4
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x41e6b4
cmp dword [ebp - 0x3c], esi
je 0x41e6bf
push str.MTD_CDldTasksMgr::CheckJscriptProxy.has_PROXY_TYPE_AUTO_PROXY_URL_but_has_no_PROXY_TYPE_DIRECT
push esi
push 2
push str..._atgpcextgpcdldthread.cpp
push 0x602
call fcn.0042ab69
xor esi, esi
add esp, 0x14
inc esi
cmp dword [ebp - 0x3c], 0
je 0x41e6bf
push dword [ebp - 0x3c]
call edi
cmp dword [ebp - 0x18], 0
je 0x41e6ca
push dword [ebp - 0x18]
call edi
cmp dword [ebp - 0xc], 0
je 0x41e6d5
push dword [ebp - 0xc]
call edi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00441f6f
mov esp, ebp
pop ebp
ret
Function at 0x41e6ef
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x491330]
xor eax, ebp
mov dword [ebp - 4], eax
inc dword [ecx + 0x54]
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
inc edi
push edi
push 0x4837a4
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
jne 0x41e747
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MTD_CDldTasksMgr::RemoveProxySet.InternetOpen.error:0x_x
push esi
push 2
push str..._atgpcextgpcdldthread.cpp
push 0x61b
call fcn.0042ab69
add esp, 0x18
xor eax, eax
jmp 0x41e83b
push 0x14
pop eax
mov dword [ebp - 0x44], eax
push 5
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x40]
pop ecx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x40], 4
push eax
push 0x4b
push esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], esi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
jne 0x41e7ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MTD_CDldTasksMgr::RemoveProxySet.InternetQueryOption_failed____d_
push esi
push 2
push str..._atgpcextgpcdldthread.cpp
push 0x630
jmp 0x41e7ff
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x44]
and eax, 0xfffffffb
mov dword [ebp - 0x58], 0x14
or eax, edi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
push eax
push 0x4b
push ebx
mov dword [ebp - 0x50], 5
mov dword [ebp - 0x4c], esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x41e809
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MTD_CDldTasksMgr::RemoveProxySet.InternetSetOption_failed____d_
push esi
push 2
push str..._atgpcextgpcdldthread.cpp
push 0x63e
call fcn.0042ab69
add esp, 0x18
jmp 0x41e80b
mov esi, edi
cmp dword [ebp - 0x3c], 0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x41e81c
push dword [ebp - 0x3c]
call edi
cmp dword [ebp - 0x18], 0
je 0x41e827
push dword [ebp - 0x18]
call edi
cmp dword [ebp - 0xc], 0
je 0x41e832
push dword [ebp - 0xc]
call edi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441f6f
mov esp, ebp
pop ebp
ret

Function at 0x41eb41
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x34], 0
jne 0x41eb71
cmp dword [esi + 0x50], 0
jne 0x41eb5d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [esi + 0x4c], 0
mov dword [esi + 0x50], eax
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x41eb69
call fcn.0041d0ad
mov ecx, esi
pop esi
jmp fcn.0041eaa3
pop esi
ret
Function at 0x41ee6b
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x491330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov ebx, 0x206
mov word [ebp - 0x414], ax
push ebx
push eax
lea eax, [ebp - 0x412]
mov edi, ecx
push eax
call fcn.00447ae0
xor eax, eax
push ebx
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00447ae0
push 0x104
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0042a4c1
add esp, 0x24
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
push ebx
push 0x482384
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xb
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x41ef35
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push str.MTD_Rename___s__to___s__fail._Err:_d
push ebx
push 8
push str..._atgpcextmtpdld.cpp
push 0x78
call fcn.0042ab69
add esp, 0x20
xor eax, eax
jmp 0x41ef47
lea eax, [ebp - 0x20c]
push eax
lea ecx, [edi + 0x20]
call fcn.0040ac93
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441f6f
mov esp, ebp
pop ebp
ret 4
Function at 0x41f657
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0x18
push 0x48a8c8
call fcn.00449d00
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x41f71b
mov dword [ebp + 0x10], ebx
lea eax, [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push ebx
push edi
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41f712
push edi
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41f709
mov esi, dword [ebp + 0xc]
cmp esi, edi
cmova esi, edi
mov dword [ebp - 4], ebx
push esi
push eax
push esi
push dword [ebp + 8]
call fcn.00444103
add esp, 0x10
mov dword [ebp - 0x1c], esi
jmp 0x41f6f9
mov dword [ebp - 4], 0xfffffffe
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
call fcn.00449d45
ret 0xc
Function at 0x425d2d
Capabilities:
Read file on windows

Disassembly:
push 0x68
mov eax, 0x4672ec
call fcn.0044584f
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x74], eax
call fcn.004016e7
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0xffffffffffffffff
push 0
push section..data
call fcn.0040a4f1
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0x46aa4c
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004453b7
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x425d9c
push ebx
call fcn.0044e1f2
lea ecx, [ebp - 0x70]
push ecx
push eax
call fcn.00445411
mov esi, dword [ebp - 0x5c]
add esp, 0xc
test esi, esi
jg 0x425db6
push ebx
call fcn.00442ba7
pop ecx
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.004017ef
mov al, bl
call fcn.004457fe
ret
push esi
call fcn.004413a2
push ebx
push esi
mov edi, eax
push 1
push edi
call fcn.00444672
push ebx
mov esi, eax
call fcn.00442ba7
push esi
push edi
call fcn.00424ec8
push edi
mov bl, al
call fcn.004427e1
add esp, 0x24
lea ecx, [ebp - 0x28]
push dword [ebp - 0x74]
call fcn.004016e7
mov byte [ebp - 4], 1
mov esi, str.defaults_pref_channel_prefs.js
push esi
call fcn.0040135c
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040a597
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00425e2e
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004017ef
jmp 0x425d9e

Function at 0x425e2e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4044
call fcn.00445ce0
mov eax, dword [0x491330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0x46a9b0
push eax
call fcn.004453b7
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x425e60
xor al, al
jmp 0x425ebd
jmp loc.004ae270
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00441f6f
mov esp, ebp
pop ebp
ret
Function at 0x42668f
Capabilities:
Enumerate files on windows

Disassembly:
push 0x18c
mov eax, 0x46741a
call fcn.0044584f
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x42684f
cmp byte [eax], 0
je 0x42684f
push eax
lea ecx, [ebp - 0x28]
call fcn.004016e7
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edi, 0x480b38
mov ecx, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
cmp byte [eax + ecx - 1], 0x5c
je 0x426700
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp byte [eax + ecx - 1], 0x2f
je 0x426700
push edi
call fcn.0040135c
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040a597
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.004072a0
mov byte [ebp - 4], 1
mov edi, 0x47e79c
push edi
call fcn.0040135c
pop ecx
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.0040a597
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x198]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x42682b
test byte [ebp - 0x198], 0x10
je 0x42680c
lea ecx, [ebp - 0x16c]
cmp byte [ecx], 0x2e
jne 0x42676e
movzx eax, byte [ecx + 1]
test al, al
je 0x42680c
push 3
lea eax, [ebp - 0x16c]
push 0x46a9bc
push eax
call fcn.00445d0b
add esp, 0xc
test eax, eax
je 0x42680c
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.004072a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x16c]
push eax
call fcn.0040135c
pop ecx
push eax
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040a597
push 0x480b38
call fcn.0040135c
pop ecx
push eax
push 0x480b38
lea ecx, [ebp - 0x40]
call fcn.0040a597
test esi, esi
je 0x4267e7
push esi
call fcn.0040135c
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0040a597
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ebx
cmovae eax, dword [ebp - 0x40]
push ebx
push eax
call fcn.00426352
add esp, 0xc
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004017ef
lea eax, [ebp - 0x198]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42674a
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0
push 1
call fcn.004017ef
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004017ef
mov al, bl
jmp 0x426851
xor al, al
call fcn.004457fe
ret
Function at 0x4293c4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4293d1
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004293d7
Function at 0x434b1d
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00434eed
test eax, eax
je 0x434b2e
xor eax, eax
inc eax
pop esi
ret
push ebx
push edi
xor edi, edi
cmp dword [esi + 0x30], edi
je 0x434b85
push 0x64
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test ebx, ebx
je 0x434b6c
jmp loc.004a9db0
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push str.jmtLog__initThread__prevous_thread_quit_ok_result_d
mov dword [esi + 0x30], edi
call fcn.00434f17
pop ecx
pop ecx
mov ecx, esi
call fcn.00434ec3
test eax, eax
je 0x434b94
xor eax, eax
jmp 0x434bd7
lea ebx, [esi + 0x34]
push ebx
push edi
push esi
push 0x43582b
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
test eax, eax
je 0x434bc2
xor edi, edi
mov ecx, esi
inc edi
push edi
call fcn.00435795
push dword [ebx]
push str.jmtLog__init_thread_ok__tid_d
jmp 0x434bce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.jmtLog__failed_to_create_thread_err_d
call fcn.00434f17
pop ecx
pop ecx
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x434d73
Capabilities:
Create directory

Disassembly:
push 0x34
mov eax, 0x4685ef
call fcn.0044584f
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x434d9e
push esi
call fcn.004012f1
pop ecx
push eax
push esi
lea ecx, [edi + 8]
call fcn.00401a41
jmp 0x434eb1
xor ebx, ebx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.0043a74b
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040439d
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00401833
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x434e0f
lea eax, [ebp - 0x40]
push eax
call fcn.0043a730
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040439d
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00401833
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x434e0f
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401833
xor eax, eax
jmp 0x434ebb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x434e38
mov esi, 0x47b858
push esi
call fcn.004012f1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402a5c
mov esi, 0x47b85c
push esi
call fcn.004012f1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402a5c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004433ab
pop ecx
pop ecx
test eax, eax
je 0x434e79
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x471110
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00404d93
add esp, 0xc
lea ecx, [edi + 8]
push eax
call fcn.0040439d
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00401833
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00401833
mov ecx, edi
call fcn.00434c3b
xor eax, eax
inc eax
call fcn.004457fe
ret 4
Function at 0x434f91
Capabilities:
Delete file

Disassembly:
push 0x4c
mov eax, 0x468624
call fcn.0044584f
mov esi, dword [ebp + 8]
xor ebx, ebx
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
push 8
pop edi
test esi, esi
je 0x434fd1
push esi
call fcn.004012f1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401a41
jmp 0x435099
xor eax, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.0043a74b
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0040439d
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00401833
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x43503b
lea eax, [ebp - 0x58]
push eax
call fcn.0043a730
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0040439d
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00401833
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x43503b
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00401833
jmp 0x4350fd
cmp dword [ebp - 0x2c], edi
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp word [eax + ecx*2], 0x5c
je 0x435062
mov esi, 0x47b858
push esi
call fcn.004012f1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402a5c
push str.WebExJmtLog.log
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00404d93
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.0040439d
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00401833
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00401833
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004433ab
pop ecx
pop ecx
test eax, eax
jne 0x4350fd
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4350de
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.jmtLog__logFile_deleted_s_success
call fcn.00434f17
pop ecx
pop ecx
jmp 0x4350fd
cmp dword [ebp - 0x14], edi
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.jmtLog__failed_to_delete_file_s_error_d
call fcn.00434f17
add esp, 0xc
push ebx
jmp 0x4ac7e0
Function at 0x435940
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x469180
call fcn.0044584f
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x435a37
cmp byte [ebx + 0x45], 0
je 0x435a37
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x435975
xor al, al
jmp 0x435a39
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004240e2
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4359cf
dec eax
je 0x4359d3
dec eax
dec eax
je 0x435a25
xor bl, bl
jmp 0x435a27
mov byte [ebx + 0x45], 0
jmp 0x4aa648
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004017ef
mov al, bl
jmp 0x435a39
mov al, 1
call fcn.004457fe
ret
Function at 0x435d58
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x468737
call fcn.0044584f
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
or ebx, 0xffffffff
cmp edi, ebx
jne 0x435d7a
jmp loc.004ad9d8
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x435da4
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x435da4
dec dword [edx]
mov edx, dword [esi + 0x20]
mov eax, dword [ebp + 8]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp fcn.00435ed4
cmp dword [esi + 0x50], 0
je 0x435ed2
mov ecx, esi
call fcn.00435b2e
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x435dd1
push dword [esi + 0x50]
push edi
call fcn.004343b6
test al, al
pop ecx
pop ecx
cmovne ebx, edi
jmp 0x435ed2
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x14], 0xf
call fcn.004240e2
and dword [ebp - 4], 0
lea eax, [esi + 0x48]
mov dword [ebp - 0x40], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x40]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
lea edx, [ebp - 0x28]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x40]
call dword [edi + 0x1c]
test eax, eax
js 0x435ec6
cmp eax, 1
jg 0x435eab
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x435e7c
push dword [esi + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.004483e7
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x435ec6
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
mov byte [esi + 0x45], 1
cmp dword [ebp - 0x38], eax
jne 0x435ea6
test edx, edx
jne 0x435dfc
cmp dword [ebp - 0x18], 0x20
jae 0x435ec6
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.00419eed
jmp 0x435df9
mov ebx, dword [ebp + 8]
jmp 0x435ec6
cmp eax, 3
jne 0x435ec6
mov eax, dword [ebp - 0x30]
push dword [eax + 0x50]
push dword [ebp - 0x2c]
call fcn.004343b6
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004017ef
mov eax, ebx
Function at 0x436f6d
Capabilities:
Get file version info

Disassembly:
push 0x230
mov eax, 0x468994
call fcn.0044584f
mov ebx, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ecx
mov word [ebp - 0x230], ax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ecx
push eax
mov dword [ebp - 4], ecx
call fcn.00447ae0
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x437041
push edi
call fcn.004413a2
mov esi, eax
pop ecx
test esi, esi
je 0x437041
and dword [ebp - 0x234], 0
push esi
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x234]
push eax
push 0x47b858
push esi
call sub.VERSION.dll_VerQueryValueW
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x43703a
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._u__u__u__u
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00405b88
add esp, 0x1c
push esi
call fcn.004427e1
pop ecx
lea eax, [ebp - 0x218]
push eax
call fcn.004012f1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401a41
xor ebx, ebx
lea ecx, [ebp - 0x230]
cmp word [ebp - 0x218], bx
push 0
push 1
setne bl
call fcn.00401833
mov eax, ebx
call fcn.004457fe
ret 4