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

Disassembly:
push 0xffffffffffffffff
push 0x502f60
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
mov esi, edx
mov edx, dword [0x53d314]
mov dword [esp + 0x4c], eax
push edx
lea eax, [esp + 0x48]
xor ebx, ebx
push eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [esp + 0x44], ebx
jne 0x458a2f
mov ecx, esi
call fcn.00433db0
push 0x522388
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
xor al, al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], vtable.t_lockerMemSharable.0
push esi
mov edi, 0x537d28
mov dword [esp + 0x78], ebx
call fcn.0043ac80
test al, al
je 0x458aa4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x44], edi
push edx
mov edi, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
call fcn.00457470
add esp, 8
test al, al
jne 0x458ab5
mov ecx, esi
call fcn.00433db0
push 0x5222a8
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
mov edi, 0x537d28
mov dword [esp + 0x74], 0xffffffff
call fcn.0043adc0
jmp 0x458a19
mov ecx, esi
call fcn.00433db0
push 0x522398
jmp 0x458a0a
call fcn.0045b210
mov edx, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, esi
call fcn.00462320
test al, al
jne 0x458add
push str.Attach
mov ecx, esi
call fcn.00402790
jmp 0x458a8d
lea eax, [esp + 0x24]
push eax
call fcn.004704a0
mov byte [esp + 0x74], 1
call fcn.0045b210
push eax
lea edi, [esp + 0x28]
mov ecx, esi
call fcn.004623d0
test al, al
jne 0x458b2c
push 0x522450
mov ecx, esi
call fcn.00402790
lea esi, [esp + 0x24]
call fcn.0045d830
lea esi, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00440d00
jmp 0x458a19
mov ecx, dword [esp + 0x20]
lea esi, [esp + 0x14]
lea edi, [esp + 0x24]
mov dword [ecx], ebx
call fcn.00411f60
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
jmp 0x458b50
mov eax, dword [esp + 0x34]
mov esi, eax
cmp dword [esp + 0x30], eax
jbe 0x458b65
call fcn.004c6862
mov eax, dword [esp + 0x34]
test edi, edi
je 0x458b6f
cmp edi, dword [esp + 0x24]
je 0x458b78
call fcn.004c6862
mov eax, dword [esp + 0x34]
cmp ebx, esi
je 0x458c33
cmp byte [esp + 0x84], 1
jne 0x458bdf
test edi, edi
jne 0x458bdb
call fcn.004c6862
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x458b9f
call fcn.004c6862
mov edx, dword [ebx]
cmp dword [edx], 0x3fffffff
jae 0x458bba
lea esi, [esp + 0x14]
call fcn.0045b3f0
mov eax, dword [eax]
cmp dword [eax + 0x2c], 0
je 0x458c21
push ebx
push edi
lea edi, [esp + 0x68]
lea esi, [esp + 0x2c]
call fcn.0045b390
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
jmp 0x458b50
mov eax, dword [edi]
jmp 0x458b95
test edi, edi
jne 0x458c1d
call fcn.004c6862
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x458bf4
call fcn.004c6862
mov ecx, dword [ebx]
cmp dword [ecx + 0x2c], 0
je 0x458c21
push ebx
push edi
lea edi, [esp + 0x60]
lea esi, [esp + 0x2c]
call fcn.0045b390
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
jmp 0x458b50
mov eax, dword [edi]
jmp 0x458bea
lea edi, [esp + 0x50]
lea esi, [esp + 0x14]
call fcn.0045b420
jmp 0x458b3f
sub eax, dword [esp + 0x30]
sar eax, 2
test eax, eax
ja 0x458c4c
mov ecx, dword [esp + 0x48]
push str.cell_count_is_zero.
jmp 0x458b08
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
mov dword [edx], eax
lea eax, [eax + eax*8]
add eax, eax
add eax, eax
add eax, eax
push eax
call fcn.004034e0
mov dword [ebp], eax
test eax, eax
jne 0x458c7a
mov ecx, dword [esp + 0x48]
push 0x51ea28
jmp 0x458b08
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
xor edi, edi
sar eax, 2
test eax, eax
jbe 0x458db4
xor ebx, ebx
mov ecx, dword [ebp]
push 0x48
add ecx, ebx
push 0
push ecx
call fcn.004cab10
add esp, 0xc
lea esi, [esp + 0x24]
call fcn.0045d860
mov edx, dword [eax]
mov eax, dword [ebp]
mov ecx, dword [edx]
mov dword [ebx + eax], ecx
call fcn.0045d860
mov edx, dword [eax]
movzx ecx, word [edx + 0x22]
mov eax, dword [ebp]
mov word [ebx + eax + 0x34], cx
call fcn.0045d860
mov edx, dword [eax]
movzx ecx, word [edx + 0x20]
mov eax, dword [ebp]
mov word [ebx + eax + 0x36], cx
call fcn.0045d860
mov edx, dword [eax]
mov eax, dword [ebp]
mov ecx, dword [edx + 0x28]
mov dword [ebx + eax + 0x40], ecx
call fcn.0045d860
mov edx, dword [eax]
mov eax, dword [edx + 0x18]
add eax, dword [esp + 0x1c]
movzx ecx, word [eax]
movzx edx, cx
test dx, dx
jbe 0x458d9a
movzx edx, dx
and edx, reloc.WS2_32.dll_accept
jns 0x458d1a
dec edx
or edx, 0xfffffffe
inc edx
jne 0x458d9a
mov edx, dword [ebp]
movzx ecx, cx
push ecx
add eax, 2
push eax
lea eax, [ebx + edx + 4]
push eax
call fcn.004cab90
add esp, 0xc
lea esi, [esp + 0x24]
call fcn.0045d860
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
add edx, dword [esp + 0x1c]
mov eax, dword [ebp]
mov dword [ebx + eax + 0x38], edx
mov ecx, dword [ebp]
mov edx, dword [ecx + ebx + 0x38]
mov eax, dword [edx]
add ecx, ebx
test eax, eax
jl 0x458d9a
cmp eax, 0x100000
ja 0x458d9a
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp]
add dword [ebx + eax + 0x38], 4
mov ecx, dword [ebp]
cmp dword [ebx + ecx], 0x3fffffff
lea eax, [ebx + eax + 0x38]
lea eax, [ebx + ecx]
jae 0x458d8c
xor edx, edx
mov word [eax + 0x44], dx
add ebx, 0x48
jmp 0x458da0
mov ecx, 1
mov word [eax + 0x44], cx
add ebx, 0x48
jmp 0x458da0
mov eax, dword [esp + 0x20]
dec dword [eax]
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
inc edi
sar edx, 2
cmp edi, edx
jb 0x458c91
lea esi, [esp + 0x24]
call fcn.0045d830
lea esi, [esp + 0x3c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00440d00
mov al, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret