joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4209b8
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x90], eax
call fcn.0048c30a
pop ecx
test eax, eax
je 0x4209ee
xor eax, eax
jmp 0x420bcd
push edi
call fcn.004b729a
push ebx
push esi
xor edi, edi
mov dword [ebp - 0x8c], eax
push edi
push 0x80
push 3
push edi
push 7
push closesocket
push dword [ebp - 0x90]
call fcn.0041f163
add esp, 0x24
mov dword [ebp - 0x88], eax
cmp eax, 0xffffffff
jne 0x420af5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x94], eax
test ebx, ebx
je 0x420a3f
cmp dword [ebx], edi
jne 0x420a58
test esi, esi
je 0x420a5e
call fcn.004b729a
sub eax, dword [ebp - 0x8c]
cmp eax, esi
jb 0x420a5e
mov eax, dword [ebp - 0x94]
push eax
jmp 0x420aea
push ebx
push esi
push edi
push 0x80
push 3
push edi
push 7
push 0x2000000
push dword [ebp - 0x90]
call fcn.0041f163
add esp, 0x24
mov dword [ebp - 0x88], eax
cmp eax, 0xffffffff
jne 0x420af5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x88], eax
test ebx, ebx
je 0x420a9d
cmp dword [ebx], edi
jne 0x420ae4
test esi, esi
je 0x420ab0
call fcn.004b729a
sub eax, dword [ebp - 0x8c]
cmp eax, esi
jae 0x420ae4
mov ebx, dword [ebp - 0x90]
push esi
push ebx
call fcn.0041fcaf
pop ecx
pop ecx
test eax, eax
je 0x420ae4
mov eax, dword [ebp - 0x88]
push eax
push str._GetLastError_
push eax
push dword [ebp - 0x94]
push ebx
push str.:8:GetFileSizeTimeOut___Seems_to_have_failed_because_of_an_access_rights_problem_:___s_:__u:_u:__s_ld
call fcn.0041c80a
add esp, 0x18
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x420ba7
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x94], eax
cmp eax, 0xffffffff
jne 0x420b35
test ebx, ebx
je 0x420b0e
mov edi, dword [ebx]
push str._GetLastError_
push edi
push esi
push dword [ebp - 0x90]
push str.:7:GetFileSizeTimeOut___s____ld___d__FAILED:__s
call fcn.0041cce9
mov edi, dword [ebp - 0x88]
add esp, 0x14
push 0x104f
jmp 0x420b97
test eax, eax
je 0x420bab
push edi
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], edi
mov edi, dword [ebp - 0x88]
push eax
push 0x80
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420b6d
cmp dword [ebp - 0x8c], 0
jne 0x420bb1
push str._GetLastError_
push dword [ebp - 0x8c]
push dword [ebp - 0x94]
push esi
push dword [ebp - 0x90]
push str.:7:GetFileSizeTimeOut___s____ld__FAILED:_GetFileSize___returned__ld_but_ReadFile_____ldBytesRead__FAILED:__s
call fcn.0041c80a
add esp, 0x18
push 0x105b
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push str.GetFileSizeTimeOut
push edi
call fcn.0041dd98
xor eax, eax
jmp 0x420bcc
mov edi, dword [ebp - 0x88]
push 0x1060
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push str.GetFileSizeTimeOut
push edi
call fcn.0041dd98
mov eax, dword [ebp - 0x94]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
Function at 0x421460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.0048c30a
pop ecx
test eax, eax
jne 0x4214b4
push eax
push eax
push esi
call fcn.004209b8
mov edi, eax
add esp, 0xc
mov dword [ebp - 4], edi
test edi, edi
je 0x4214b4
push 0x138d
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push 0x4e75e0
push esi
call fcn.00422a3e
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4214bb
push esi
push str.:6:LoadFileToMemory___s___FAILED:_fopen___failed_even_after_GetFileSizeTimeOut___succeeded___
call fcn.0041c80a
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea eax, [edi + 0xe]
push eax
call fcn.004cd30b
mov edi, eax
pop ecx
test edi, edi
jne 0x4214e4
push dword [ebp - 4]
push esi
push str.:5:LoadFileToMemory___s___FAILED:_malloc___failed_to_allocate_over__u_bytes:_OUT_OF_MEMORY.
call fcn.0041c80a
push ebx
call fcn.004228b3
add esp, 0x10
jmp 0x4214b4
mov esi, dword [ebp - 4]
lea eax, [edi + 4]
push ebx
push esi
push 1
push eax
call fcn.004c7617
add esp, 0x10
mov dword [ebp - 4], eax
cmp eax, esi
jae 0x421510
push ebx
call fcn.004c6cd3
mov esi, dword [ebp - 4]
neg eax
pop ecx
sbb eax, eax
and esi, eax
jmp 0x421512
mov esi, eax
push ebx
call fcn.004228b3
pop ecx
test esi, esi
jne 0x421525
push edi
call fcn.004cceff
jmp 0x4214b3
mov dword [edi], esi
mov eax, edi
jmp 0x4214b6

Function at 0x42152b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x104
push edi
push 0
push eax
call fcn.004c37f0
add esp, 0xc
test ebx, ebx
je 0x421610
cmp dword [ebp + 0x10], 0
jle 0x421610
push esi
call fcn.0048c30a
pop ecx
test eax, eax
jne 0x421610
push edi
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x108]
push eax
call fcn.0048ce46
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004cd060
add esp, 0x18
test eax, eax
jne 0x4215d3
push esi
push eax
push eax
call fcn.0046aa0e
pop ecx
pop ecx
push eax
push 0x4ea498
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.0048d960
add esp, 0x14
lea esi, [ebp - 0x108]
push 0x14cc
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push 0x4e75e0
push esi
call fcn.00422a3e
mov edi, eax
add esp, 0x10
test edi, edi
je 0x421610
push edi
push 1
push dword [ebp + 0x10]
push ebx
call fcn.004c7617
neg eax
push edi
sbb esi, esi
neg esi
call fcn.004228b3
add esp, 0x14
mov eax, esi
jmp 0x421612
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
Function at 0x421621
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x108]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x104
push 0
push eax
call fcn.004c37f0
test esi, esi
lea ebx, [ebp - 0x10c]
push edi
cmovne ebx, esi
call fcn.0048c30a
add esp, 0x10
test eax, eax
je 0x421679
and dword [ebx], 0
xor eax, eax
jmp 0x42170f
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
push edi
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x108]
push eax
call fcn.0048ce46
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004cd060
add esp, 0x18
test eax, eax
jne 0x4216d2
push edi
push eax
push eax
call fcn.0046aa0e
pop ecx
pop ecx
push eax
push 0x4ea498
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0048d960
add esp, 0x14
lea edi, [ebp - 0x108]
push 0x1524
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push 0x4e75e0
push edi
call fcn.00422a3e
and dword [ebx], 0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x421672
push edi
push 1
push 4
push ebx
call fcn.004c7617
push edi
mov esi, eax
call fcn.004228b3
add esp, 0x14
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret

Function at 0x421afb
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push edi
mov edi, dword [ebp + 0xc]
mov ebx, 0x104
push ebx
push 0
push eax
call fcn.004c37f0
push ebx
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c37f0
push esi
call fcn.0048c30a
add esp, 0x1c
test eax, eax
jne 0x421c4c
push edi
call fcn.0048c30a
pop ecx
test eax, eax
jne 0x421c4c
push ebx
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x108]
push eax
call fcn.0048cfd3
lea eax, [ebp - 0x108]
push eax
call fcn.0048cf12
lea eax, [ebp - 0x108]
push eax
call fcn.004cd280
add esp, 0x18
jmp 0x421bab
cmp byte [ebp + eax - 0x108], 0x5c
jne 0x421bb0
cmp eax, ebx
jae 0x421c5d
mov byte [ebp + eax - 0x108], 0
dec eax
test eax, eax
jg 0x421b91
lea eax, [ebp - 0x108]
push eax
call fcn.0048ce46
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x20c]
push eax
call fcn.0048cfd3
lea eax, [ebp - 0x20c]
push eax
call fcn.0048cf12
lea eax, [ebp - 0x20c]
push eax
call fcn.004cd280
add esp, 0x1c
jmp 0x421c09
cmp byte [ebp + eax - 0x20c], 0x5c
jne 0x421c0e
cmp eax, ebx
jae 0x421c5d
mov byte [ebp + eax - 0x20c], 0
dec eax
test eax, eax
jg 0x421bf3
lea eax, [ebp - 0x20c]
push eax
call fcn.0048ccf5
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0048c896
add esp, 0xc
lea eax, [ebp - 0x108]
cmp dword [ebp + 0x10], 0
je 0x421c48
push 0xb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x421c4e
push 0xa
jmp 0x421c3e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
call fcn.004c22cb
int3
Function at 0x4221c3
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [0x56a3b0]
xor edi, edi
call fcn.0047bdbe
mov ebx, dword [ebp + 8]
mov esi, edi
jmp 0x4221f9
cmp esi, 0x56ce
jge 0x422202
cmp ebx, dword [eax + 0xa8]
je 0x422200
push dword [0x56a3b0]
call fcn.0047be21
inc esi
pop ecx
test eax, eax
jne 0x4221dd
jmp 0x422202
mov edi, eax
push edi
call fcn.0041f878
pop ecx
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x447814
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x94]
push esi
mov esi, 0x90
mov dword [ebp - 0x98], ebx
push esi
push 0
push eax
call fcn.004c37f0
push esi
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004c37f0
push ebx
call fcn.0048f3c8
mov esi, dword [ebp + 0xc]
push esi
call fcn.004b5ce6
add esp, 0x20
test eax, eax
je 0x447872
call fcn.004b59c8
mov esi, eax
push 0xffffffffffffffbd
push esi
call fcn.004b48e9
push ebx
call fcn.0048e54b
mov ebx, eax
add esp, 0xc
test ebx, ebx
jg 0x44788d
xor eax, eax
jmp 0x447906
push edi
xor edi, edi
push dword [ebp - 0x98]
call fcn.0048e4cb
push 9
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x9c], eax
push ecx
push eax
call fcn.004691c4
add esp, 0x10
test eax, eax
jne 0x4478cb
push dword [ebp - 0x9c]
push str.:4:Unreconciled_Invoice_Error:_Invalid_database_entry_is_being_cut_by_SetUnrecInvDBArchivePosForArchiving__:__s
call fcn.0041c80a
pop ecx
pop ecx
jmp 0x4478da
push esi
push dword [ebp - 0x3e]
call fcn.004b5d59
pop ecx
pop ecx
test eax, eax
je 0x4478df
inc edi
cmp edi, ebx
jl 0x447890
mov eax, ebx
sub eax, edi
cmp eax, 0xa
jge 0x4478f2
lea edi, [ebx - 0xa]
xor eax, eax
test edi, edi
cmovs edi, eax
push 0
push edi
push dword [ebp - 0x98]
call fcn.0048fd31
add esp, 0xc
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
Function at 0x44df70
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x194]
push 0x190
push 0
push eax
call fcn.004c37f0
add esp, 0xc
mov esi, 0x104
cmp dword [ebp + 0xc], 0
cmovge esi, dword [ebp + 0xc]
test edi, edi
je 0x44dfec
test esi, esi
jle 0x44dfec
lea eax, [ebp - 0x194]
mov byte [edi], 0
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x44dfe8
push esi
push edi
call sub.WSOCK32.dll_gethostname
mov esi, eax
call sub.WSOCK32.dll_WSACleanup
test esi, esi
jne 0x44dfe8
push edi
call fcn.004cd280
pop ecx
test eax, eax
jne 0x44dfec
xor eax, eax
jmp 0x44dfee
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004c2120
leave
ret

Function at 0x44f3ee
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.004c37f0
add esp, 0xc
push str.lnd.reg
push ebx
push ebx
call fcn.0046aa0e
pop ecx
pop ecx
push eax
push 0x4ea498
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0048d960
push 0x2ea6
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
lea eax, [ebp - 0x108]
push 0x4e75e0
push eax
call fcn.00422a3e
mov edi, eax
add esp, 0x24
test edi, edi
je 0x44f4a6
call fcn.0044bdb0
mov esi, eax
test esi, esi
je 0x44f4a6
push edi
push 0x1a
push 0x27c
push esi
call fcn.004c7617
add esp, 0x10
cmp eax, 0x1a
je 0x44f492
push eax
push 0x1a
push str.:4:LoadLndDataArchive___FAILED:_fread___s_b__d_but_ret__d.
call fcn.0041c80a
add esp, 0xc
push edi
call fcn.004228b3
push ebx
push esi
call fcn.0044f065
add esp, 0xc
mov eax, esi
jmp 0x44f4a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
Function at 0x452697
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x318]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x190
push 0
push eax
mov dword [ebp - 0x328], ebx
call fcn.004c37f0
push 0x80
xor edi, edi
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.004c37f0
push 0x104
lea eax, [ebp - 0x188]
push edi
push eax
call fcn.004c37f0
add esp, 0x24
mov dword [ebp - 0x31c], edi
cmp dword [ebp + 0x10], 0
mov edi, 0x104
cmovge edi, dword [ebp + 0x10]
test ebx, ebx
je 0x452883
test esi, esi
je 0x452883
test edi, edi
jle 0x452883
call fcn.004b729a
push 0x7e
mov dword [ebp - 0x324], eax
lea eax, [ebp - 0x84]
push ebx
push eax
mov byte [esi], 0
call fcn.0048dd2a
lea eax, [ebp - 0x188]
push eax
call fcn.0048b21b
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x84]
push 0x5088b4
push eax
call fcn.0048d4c3
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x452782
lea eax, [ebp - 0x31c]
push eax
push 0x5088b4
push 0
call fcn.0048d4c3
add esp, 0xc
mov ebx, eax
push ebx
call fcn.0048c30a
pop ecx
test eax, eax
jne 0x4527b2
push 0x104
lea eax, [ebp - 0x188]
push ebx
push eax
call fcn.0048dd2a
push 0
lea eax, [ebp - 0x188]
push 0x3a
push eax
call fcn.0048c19c
add esp, 0x18
lea eax, [ebp - 0x84]
push eax
call fcn.004537b1
pop ecx
test eax, eax
je 0x452883
lea eax, [ebp - 0x318]
mov byte [esi], 0
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x452883
lea eax, [ebp - 0x84]
push eax
call fcn.0044ef18
pop ecx
push 2
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x320]
push 4
push eax
call sub.WSOCK32.dll_gethostbyaddr
mov ebx, eax
test ebx, ebx
je 0x45287e
cmp dword [ebx], 0
je 0x45287e
push dword [ebx]
call fcn.004cd280
pop ecx
test eax, eax
je 0x45287e
push edi
push dword [ebx]
push esi
call fcn.0048dd2a
add esp, 0xc
call sub.WSOCK32.dll_WSACleanup
push esi
call fcn.004cd280
pop ecx
test eax, eax
je 0x452883
push edi
lea eax, [ebp - 0x188]
push eax
push esi
call fcn.0048dc3d
add esp, 0xc
call fcn.004b729a
mov edi, dword [ebp - 0x324]
sub eax, edi
cmp eax, 0x1388
jbe 0x45287a
call fcn.004b729a
sub eax, edi
push eax
push esi
push dword [ebp - 0x328]
push str.:4:ResolveIPToHostName___took_too_long_to_resolve__s_to__s:__ums
call fcn.0041c80a
add esp, 0x10
mov eax, esi
jmp 0x452885
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
Function at 0x45355e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push 0x32
push edi
push eax
mov dword [ebp - 0x240], edi
call fcn.004c37f0
push 0x100
lea eax, [ebp - 0x138]
push edi
push eax
call fcn.004c37f0
push 0x104
lea eax, [ebp - 0x23c]
push edi
push eax
call fcn.004c37f0
push esi
call fcn.0048c30a
add esp, 0x28
test eax, eax
jne 0x453664
lea eax, [ebp - 0x23c]
push esi
push eax
call fcn.00451c70
pop ecx
pop ecx
push edi
push SQLGetDiagRec
push 1
push edi
push 7
push 6
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x453677
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push SQLGetDiagRec
push 4
push 0
push 7
mov edi, eax
lea eax, [ebp - 0x23c]
push 6
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x453675
call fcn.004b729a
sub eax, dword [0x6494c4]
cmp eax, 0xea60
ja 0x45363d
call fcn.0040d344
test eax, eax
jne 0x453664
call fcn.004b729a
mov dword [0x6494c4], eax
mov eax, str._GetLastError_
push eax
push edi
push eax
push edi
lea eax, [ebp - 0x23c]
push eax
push str.:3:SetServerLockedFlagFile___FAILED:_10min:_CreateFile___s___FAILED:_GetLastError___should_be___ld:__s_ld:_Second_Error:__s
call fcn.0041cce9
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
xor edi, edi
lea eax, [ebp - 0x38]
push 0x32
push eax
call fcn.0044ec1c
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
je 0x45369d
push 0x32
lea eax, [ebp - 0x38]
push 0x4e86ec
push eax
call fcn.0048dc3d
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x138]
push str._nLock_was_initiated_by:__s
push eax
call fcn.00403dd1
add esp, 0xc
lea eax, [ebp - 0x240]
push edi
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004cd280
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
pop ecx
push eax
lea eax, [ebp - 0x138]
push eax
push esi
call edi
test eax, eax
jne 0x453702
mov eax, dword [0x6494c0]
mov ecx, eax
inc eax
mov dword [0x6494c0], eax
cmp ecx, 0xa
jae 0x453702
push str._GetLastError_
push str.:7:SetServerLockedFlagFile___FAILED:_WriteFile___FAILED:__s
call fcn.0041c80a
pop ecx
pop ecx
push ebx
call fcn.0048c30a
pop ecx
test eax, eax
jne 0x453743
push ebx
lea eax, [ebp - 0x138]
push str._nIn_Source_File:__s
push eax
call fcn.00403dd1
add esp, 0xc
lea eax, [ebp - 0x240]
push 0
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004cd280
pop ecx
push eax
lea eax, [ebp - 0x138]
push eax
push esi
call edi
cmp dword [ebp + 0x14], 0
jle 0x453781
push dword [ebp + 0x14]
lea eax, [ebp - 0x138]
push str._nFrom_Source_Line:__d
push eax
call fcn.00403dd1
add esp, 0xc
lea eax, [ebp - 0x240]
push 0
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004cd280
pop ecx
push eax
lea eax, [ebp - 0x138]
push eax
push esi
call edi
push 0x2751
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
push str.SetServerLockedFlagFile
push esi
call fcn.0041dd98
xor eax, eax
inc eax
jmp 0x453666
Function at 0x45590e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
xor eax, eax
push ebx
push esi
push edi
lea edi, [ebp - 0x14]
mov ebx, str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
stosd dword es:[edi], eax
push 0x215d
push ebx
push 0x4e75e0
stosd dword es:[edi], eax
push str.addrchng.flg
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0046aa0e
pop ecx
pop ecx
push eax
call fcn.00422a3e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x455a09
push esi
push 1
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.004c7617
push esi
push 1
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.004c7617
push esi
call fcn.004228b3
add esp, 0x24
call fcn.0040d344
test eax, eax
jne 0x4559cb
push 0x2166
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004b5957
push ecx
mov edi, esp
lea esi, [ebp - 0x14]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004b715e
push eax
call fcn.004ccf1a
add esp, 0x24
cmp eax, 0x6ddd000
jle 0x4559cb
call fcn.0044bdce
push 0x216a
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004b5957
push ecx
mov edi, esp
lea esi, [ebp - 0x14]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004b715e
push eax
call fcn.004ccf1a
add esp, 0x24
cmp eax, 0x240c8400
jle 0x455a1a
call fcn.0044bdce
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
call fcn.0040d344
test eax, eax
je 0x455a61
push 0x2170
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004b5957
push ecx
mov edi, esp
lea esi, [ebp - 0x14]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004b715e
push eax
call fcn.004ccf1a
add esp, 0x24
cmp eax, 0x5cb2780
jg 0x455a09
xor eax, eax
inc eax
jmp 0x455a0b
cmp dword [ebp - 0x18], 0
jne 0x455a5c
push 0x2178
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004b5957
push ecx
mov edi, esp
lea esi, [ebp - 0x14]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004b715e
push eax
call fcn.004ccf1a
xor ecx, ecx
add esp, 0x24
cmp eax, 0x4b87f00
setl cl
mov eax, ecx
jmp 0x455a0b