Function at 0x531530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
mov eax, dword [ebp + 0xc]
push ebx
call fcn.005326e0
xor edi, edi
cmp eax, edi
jne 0x532244
lea esi, [esp + 0x24]
mov byte [esp + 0xf], 0
mov dword [esp + 0x18], edi
call fcn.0046e960
mov dword [ebx + 0xb4], edi
mov dword [esp + 0x30], 3
jmp 0x531580
movzx ecx, byte [ebx + 0x9c]
mov edx, dword [esp + 0x30]
mov eax, dword [0x6fa180]
push ecx
mov ecx, dword [ebx + 0xb4]
call fcn.0052d5a0
cmp eax, 3
mov dword [esp + 0x1c], eax
je 0x531f99
mov edx, dword [ebx + 0xb4]
push edx
push eax
push str.Attempting_connection_type__d__attempt__d_
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], edi
call fcn.00407380
mov edx, dword [ebx + 0xa8]
mov eax, dword [ebx + 0x5c]
add esp, 0xc
mov ecx, esi
push ecx
push 3
call fcn.005440a0
cmp dword [ebx + 0x60], edi
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0x68], edx
je 0x532104
lea esi, [ebx + 0x18]
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x53160d
cmp eax, dword [esp + 0x10]
jne 0x53160d
add dword [esi + 0x1c], 1
jmp 0x531632
cmp byte [esi + 7], 0
je 0x53161f
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x531628
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], ecx
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov dword [ebx + 0x14], eax
cmp dword [esi + 0x1c], edi
je 0x53165b
cmp dword [esi + 0x18], edi
je 0x53165b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x18], eax
jne 0x53165b
add dword [esi + 0x1c], 0xffffffff
jmp 0x531679
cmp byte [esi + 7], 0
mov dword [esi + 0x18], edi
je 0x531670
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x531679
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov eax, dword [ebx + 0x14]
cmp eax, edi
je 0x532104
cmp dword [ebx + 0x64], edi
jne 0x531696
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov dword [ebx + 0x64], eax
jmp 0x5316ab
mov edx, dword [ebx + 0xb4]
push edx
mov edi, 5
mov esi, ebx
call fcn.00531330
xor edi, edi
lea esi, [esp + 0x9c]
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], 3
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
call fcn.0046e960
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov byte [esp + 0xb0], 1
mov byte [esp + 0xb1], 0
mov byte [esp + 0xb2], 0
mov byte [esp + 0xb3], 0
mov byte [esp + 0xb4], 1
mov byte [esp + 0xb5], 0
mov dword [esp + 0xb8], 1
call fcn.00532910
mov eax, dword [esp + 0x90]
mov edi, dword [ebp + 0x10]
cmp eax, dword [edi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
je 0x5317fb
test eax, eax
je 0x5317c4
movzx edx, byte [eax]
cmp edx, 0x80
mov esi, eax
jae 0x5317c4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x5317b0
movzx eax, byte [esi]
cmp eax, 0x80
jae 0x5317ab
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x5317b0
mov eax, 0xff
test eax, eax
jne 0x5317c4
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0045da90
add esp, 4
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x90], eax
je 0x5317fb
movzx edx, byte [eax]
cmp edx, 0x80
jae 0x5317ef
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x5317fb
lea eax, [esp + 0x90]
call fcn.00459380
mov eax, dword [esp + 0x94]
mov edi, dword [ebp + 0x14]
cmp eax, dword [edi]
je 0x531898
test eax, eax
je 0x531861
movzx ecx, byte [eax]
cmp ecx, 0x80
mov esi, eax
jae 0x531861
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x53184d
movzx edx, byte [esi]
cmp edx, 0x80
jae 0x531848
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x53184d
mov eax, 0xff
test eax, eax
jne 0x531861
mov eax, dword [esp + 0x94]
push eax
call fcn.0045da90
add esp, 4
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x94], eax
je 0x531898
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x53188c
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x531898
lea eax, [esp + 0x94]
call fcn.00459380
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0xa4], edx
je 0x531941
test eax, eax
je 0x53190c
movzx edx, byte [eax]
cmp edx, 0x80
mov esi, eax
jae 0x53190c
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x5318f4
movzx eax, byte [esi]
cmp eax, 0x80
jae 0x5318ef
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x5318f4
mov eax, 0xff
test eax, eax
jne 0x531908
mov ecx, dword [esp + 0x98]
push ecx
call fcn.0045da90
add esp, 4
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x98], ecx
je 0x531941
movzx edx, byte [ecx]
cmp edx, 0x80
jae 0x531935
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x531941
lea eax, [esp + 0x98]
call fcn.00459380
xor edi, edi
cmp dword [esp + 0x28], edi
jne 0x531965
lea esi, [esp + 0x9c]
call fcn.004871d0
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
jmp 0x531997
mov eax, dword [esp + 0x24]
push edi
lea ecx, [esp + 0xa0]
call fcn.00487200
test eax, eax
jne 0x531997
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xa0]
push eax
push ecx
push edx
call fcn.0060d1b0
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x68]
push edx
call eax
cmp eax, edi
mov dword [esp + 0x1c], eax
jne 0x5319bf
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xf4242
je 0x53212b
cmp eax, edi
jne 0x5319e0
push 0
mov edi, 3
mov esi, ebx
call fcn.00531330
mov edx, dword [ebx]
mov eax, dword [edx + 0x80]
mov ecx, ebx
call eax
cmp dword [esp + 0x1c], 0
je 0x531de7
cmp eax, 0x197
jne 0x531cc3
xor esi, esi
lea eax, [esi + 0x3a]
mov edi, str.Proxy_407_detecting__attempting_to_get_authentication_info
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.00459750
mov edx, dword [ebx + 0xa8]
mov eax, dword [ebx + 0x5c]
lea ecx, [esp + 0x14]
push ecx
push 3
call fcn.005440a0
lea edi, [esp + 0x14]
call fcn.00401700
xor eax, eax
mov edi, 0x67b348
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.00459750
lea edx, [esp + 0x14]
push edx
push str.Preferences
lea eax, [esp + 0x3c]
push eax
mov eax, str.ProxyPass
call fcn.00405f80
lea edi, [esp + 0x14]
call fcn.00401700
lea eax, [esi + 9]
mov edi, str.ProxyPass
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.00459750
lea ecx, [esp + 0x34]
call fcn.00409420
mov eax, dword [eax]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x531aa7
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x531aa7
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
lea ebx, [esp + 0xbc]
call fcn.00542e50
mov esi, eax
xor ebx, ebx
add esp, 4
cmp dword [esi + 4], ebx
jne 0x531adb
lea esi, [esp + 0x24]
call fcn.004871d0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jmp 0x531b01
mov eax, dword [esi]
push ebx
lea ecx, [esp + 0x28]
call fcn.00487200
test eax, eax
jne 0x531b01
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.0060d1b0
add esp, 0xc
lea eax, [esp + 0xb8]
call fcn.0046e970
lea edi, [esp + 0x10]
call fcn.00401700
lea edi, [esp + 0x14]
call fcn.00401700
xor eax, eax
mov edi, 0x67b348
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.00459750
lea eax, [esp + 0x14]
push eax
push str.Preferences
lea ecx, [esp + 0x58]
push ecx
mov eax, str.ProxyUser
call fcn.00405f80
lea ecx, [esp + 0x50]
call fcn.00409420
mov esi, dword [eax]
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x531b71
movzx edx, byte [esi]
cmp edx, 0x80
jae 0x531b71
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [esp + 0x18], esi
je 0x531bae
lea edi, [esp + 0x18]
call fcn.00401700
cmp esi, ebx
mov dword [esp + 0x18], esi
je 0x531bae
movzx eax, byte [esi]
cmp eax, 0x80
jae 0x531ba5
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x531bae
lea eax, [esp + 0x18]
call fcn.00459380
lea edi, [esp + 0x10]
call fcn.00401700
lea edi, [esp + 0x60]
call fcn.00401700
lea edi, [esp + 0x5c]
mov dword [esp + 0x60], ebx
call fcn.00401700
lea edi, [esp + 0x58]
mov dword [esp + 0x5c], ebx
call fcn.00401700
lea edi, [esp + 0x54]
mov dword [esp + 0x58], ebx
call fcn.00401700
lea edi, [esp + 0x14]
mov dword [esp + 0x54], ebx
call fcn.00401700
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x531c3e
test dword [eax], 0xffffff00
je 0x531c3e
cmp byte [eax + 4], bl
je 0x531c3e
lea eax, [esp + 0x24]
call fcn.0046ea00
test al, al
jne 0x531c3e
lea esi, [esp + 0x34]
mov byte [esp + 0xf], 1
call fcn.00402980
lea esi, [esp + 0x68]
call fcn.00532250
lea edi, [esp + 0x20]
call fcn.00401700
mov ebx, dword [ebp + 8]
jmp 0x531f64
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x58]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
call edx
test eax, eax
lea edi, [esp + 0x44]
jne 0x531c94
mov byte [esp + 0xf], 1
call fcn.00401700
lea edi, [esp + 0x40]
mov dword [esp + 0x44], ebx
call fcn.00401700
lea edi, [esp + 0x3c]
mov dword [esp + 0x40], ebx
call fcn.00401700
lea edi, [esp + 0x38]
mov dword [esp + 0x3c], ebx
call fcn.00401700
mov dword [esp + 0x38], ebx
jmp 0x531c24
call fcn.00401700
lea edi, [esp + 0x40]
mov dword [esp + 0x44], ebx
call fcn.00401700
lea edi, [esp + 0x3c]
mov dword [esp + 0x40], ebx
call fcn.00401700
lea edi, [esp + 0x38]
mov dword [esp + 0x3c], ebx
call fcn.00401700
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x9f], 0
jne 0x531f0d
mov eax, 0x37
mov edi, str.Failed_to_establish_connection.__will_retry_if_possible
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
call fcn.00459750
mov edx, dword [ebx + 0xa8]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x5c]
push 1
call fcn.005440a0
lea edi, [esp + 0x14]
call fcn.00401700
mov ecx, dword [0x6fa180]
mov byte [ecx + 0x6c], 0
mov edx, dword [ebx + 0x14]
cmp edx, dword [ebx + 0x64]
je 0x531db6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x531d3c
cmp eax, edi
jne 0x531d3c
add dword [esi + 0x1c], 1
jmp 0x531d61
cmp byte [esi + 7], 0
je 0x531d4e
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x531d57
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], edi
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x531d70
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebx + 0x14], 0
cmp dword [esi + 0x1c], 0
je 0x531d94
cmp dword [esi + 0x18], 0
je 0x531d94
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x18], eax
jne 0x531d94
add dword [esi + 0x1c], 0xffffffff
jmp 0x531db6
cmp byte [esi + 7], 0
mov dword [esi + 0x18], 0
je 0x531dad
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x531db6
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x531dce
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebx + 0xac], 0
cmp byte [ebx + 0xa1], 0
je 0x53215d
add dword [ebx + 0xb4], 1
jmp 0x531f0d
cmp byte [ebx + 0x9f], 0
je 0x531f0d
cmp byte [esp + 0xf], 0
je 0x531f0d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x531f0d
test dword [eax], 0xffffff00
je 0x531f0d
cmp byte [eax + 4], 0
je 0x531f0d
lea eax, [esp + 0x24]
call fcn.0046ea00
test al, al
jne 0x531f0d
xor esi, esi
lea eax, [esi + 9]
mov edi, str.ProxyPass
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.00459750
xor eax, eax
mov edi, 0x67b348
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.00459750
lea ecx, [esp + 0x14]
push ecx
push str.Preferences
lea edx, [esp + 0x58]
push edx
mov eax, str.ProxyPass
call fcn.00405f80
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x14]
lea ebx, [esp + 0x50]
call fcn.00542c60
add esp, 4
mov ecx, eax
lea edx, [esp + 0x50]
call fcn.00406120
lea esi, [esp + 0x50]
call fcn.00402980
mov edi, ebx
call fcn.00401700
xor esi, esi
lea edi, [esp + 0x14]
mov dword [esp + 0x4c], esi
call fcn.00401700
lea edi, [esp + 0x10]
call fcn.00401700
xor eax, eax
mov edi, 0x67b348
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.00459750
lea ecx, [esp + 0x10]
push ecx
push str.Preferences
lea edx, [esp + 0x58]
push edx
mov eax, str.ProxyUser
call fcn.00405f80
lea ecx, [esp + 0x18]
lea edx, [esp + 0x50]
call fcn.00406120
lea esi, [esp + 0x50]
call fcn.00402980
lea edi, [esp + 0x10]
call fcn.00401700
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x68]
call fcn.00532250
mov esi, dword [esp + 0x20]
test esi, esi
je 0x531f64
movzx eax, byte [esi]
cmp eax, 0x80
jae 0x531f64
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x531f57
movzx ecx, byte [esi]
cmp ecx, 0x80
jae 0x531f52
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x531f57
mov eax, 0xff
test eax, eax
jne 0x531f64
push esi
call fcn.0045da90
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x53222e
cmp byte [ebx + 0x9f], 0
jne 0x53222e
mov edx, dword [ebx + 8]
mov eax, dword [edx + 4]
lea ecx, [ebx + 8]
call eax
test al, al
jne 0x53222e
mov ebx, dword [ebp + 8]
xor edi, edi
jmp 0x531580
mov eax, 0x20
mov edi, str.No_other_connection_types_to_try
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.00459750
mov ecx, dword [ebx + 0xb4]
mov esi, dword [ebx + 0x5c]
push ecx
lea edx, [esp + 0x14]
push edx
mov eax, ebx
call fcn.00543f20
lea edi, [esp + 0x10]
call fcn.00401700
lea edi, [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x531fef
cmp eax, esi
jne 0x531fef
add dword [edi + 0x1c], 1
jmp 0x532014
cmp byte [edi + 7], 0
je 0x532001
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x53200a
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], esi
mov ecx, dword [ebx + 0x64]
mov dword [ebx + 0x14], ecx
cmp dword [edi + 0x1c], 0
je 0x532037
cmp dword [edi + 0x18], 0
je 0x532037
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 0x18], eax
jne 0x532037
add dword [edi + 0x1c], 0xffffffff
jmp 0x532059
cmp byte [edi + 7], 0
mov dword [edi + 0x18], 0
je 0x532050
add edi, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x532059
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x4c]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call edx
mov eax, dword [eax]
test eax, eax
je 0x532080
test dword [eax], 0xffffff00
je 0x532080
cmp byte [eax + 4], 0
mov byte [esp + 0xf], 0
jne 0x532085
mov byte [esp + 0xf], 1
lea edi, [esp + 0x2c]
call fcn.00401700
cmp byte [esp + 0xf], 0
je 0x5320e4
mov eax, dword [ebx + 0x74]
test eax, eax
mov dword [esp + 0x10], 0
je 0x5320b8
lea ecx, [eax + 4]
test ecx, ecx
je 0x5320b8
test eax, eax
je 0x5320b4
add eax, 4
jmp 0x5320bd
xor eax, eax
jmp 0x5320bd
mov eax, 0x67b348
push eax
mov eax, dword [ebx + 0xb4]
push eax
push str.Attempted__d_connections_to__s
lea esi, [esp + 0x1c]
call fcn.00407380
add esp, 0xc
mov eax, ebx
call fcn.0052fce0
mov edi, esi
call fcn.00401700
lea eax, [esp + 0x24]
call fcn.0046e970
lea edi, [esp + 0x18]
call fcn.00401700
mov eax, 0x7d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea edi, [esp + 0x20]
call fcn.00401700
lea eax, [esp + 0x24]
call fcn.0046e970
lea edi, [esp + 0x18]
call fcn.00401700
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea esi, [esp + 0x68]
call fcn.00532250
lea edi, [esp + 0x20]
call fcn.00401700
lea eax, [esp + 0x24]
call fcn.0046e970
lea edi, [esp + 0x18]
call fcn.00401700
mov eax, 0xf4242
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea esi, [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x532179
cmp eax, edi
jne 0x532179
add dword [esi + 0x1c], 1
jmp 0x53219e
cmp byte [esi + 7], 0
je 0x53218b
lea ecx, [esi + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x532194
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], edi
mov ecx, dword [ebx + 0x64]
mov dword [ebx + 0x14], ecx
mov eax, 0x28
mov edi, str.No_retries_requested__returning_failure.
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.00459750
mov eax, dword [ebx + 0x5c]
lea edx, [esp + 0x10]
push edx
mov edx, dword [ebx + 0xa8]
push 1
call fcn.005440a0
lea edi, [esp + 0x10]
call fcn.00401700
cmp dword [esi + 0x1c], 0
je 0x5321fa
cmp dword [esi + 0x18], 0
je 0x5321fa
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x18], eax
jne 0x5321fa
add dword [esi + 0x1c], 0xffffffff
jmp 0x53221c
cmp byte [esi + 7], 0
mov dword [esi + 0x18], 0
je 0x532213
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x53221c
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
lea esi, [esp + 0x68]
call fcn.00532250
lea edi, [esp + 0x20]
call fcn.00401700
lea eax, [esp + 0x24]
call fcn.0046e970
lea edi, [esp + 0x18]
call fcn.00401700
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14