Function at 0x4ba250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c7b3
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x57a6d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4ba2a0
sub edx, esi
push edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0043e9a0
push 0x581f68
push 0x1c
mov dword [ebp - 4], 0
call fcn.0049b056
mov esi, eax
add esp, 8
mov dword [ebp - 0x30], esi
test esi, esi
je 0x4ba495
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
inc eax
mov dword [esi + 0x14], 3
movups xmmword [esi], xmm0
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
call fcn.0049b03a
mov edi, eax
add esp, 4
test edi, edi
je 0x4ba319
mov eax, dword [ebp - 0x18]
inc eax
push eax
push 0
push edi
call fcn.004d8430
add esp, 0xc
mov byte [edi], 0
jmp 0x4ba31b
xor edi, edi
mov dword [esi + 0x18], edi
test edi, edi
je 0x4ba495
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
call fcn.004d7930
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov edi, dword [ebp - 0x38]
inc eax
push esi
push 0
push eax
push dword [esi + 0x18]
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4ba4c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x30], esi
call fcn.004998e0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x4ba46d
cmp dword [edi + 0x2005c], 8
lea eax, [edi + 0x20048]
mov dword [ebp - 0x34], eax
jb 0x4ba39b
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
push 0x61
push str.d:jenkins.jenkinsworkspacelib_commonlds_rpclds_rpc_src_rpc_instance_rpc_client_instance.cpp
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.0043e9a0
push 3
push 0x52fa00
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.0043e9a0
mov byte [ebp - 4], 2
call fcn.004998e0
mov edi, eax
lea ecx, [ebp - 0x100]
push 0xc7
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00436ae0
mov esi, eax
push str.RpcClientInstance_SubscriptionMsg_failed:
push esi
mov byte [ebp - 4], 3
call fcn.00437ff0
add esp, 8
mov ecx, esi
push dword [ebp - 0x30]
call fcn.00437e50
push str.__channel_name:
push esi
call fcn.00437ff0
mov ecx, dword [ebp - 0x34]
mov eax, str._null_
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00434830
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.00438190
lea ecx, [ebp - 0x50]
call fcn.004374f0
lea ecx, [ebp - 0x68]
call fcn.004374f0
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
cmp esi, 0xe8
je 0x4ba487
cmp esi, 0xe9
je 0x4ba487
cmp esi, 0x6d
je 0x4ba487
cmp esi, 6
jne 0x4ba4c3
mov dword [edi + 0xc], 7
mov dword [edi + 0x10], 0
mov byte [ebp - 0x29], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4ba4d3
mov ecx, dword [ebp - 0x28]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ba4c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ba4f3
jmp 0x4ba4c9
mov byte [ebp - 0x29], 1
jmp 0x4ba499
push edx
push ecx
call fcn.0049a900
add esp, 8
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049aba8
mov esp, ebp
pop ebp
ret 4
call fcn.004db96a
int3