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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c
mov dword [esp + 0x48], edx
mov edi, ecx
mov ebx, dword [esp + 0x64]
mov eax, 0x6a6af1fd
cmp dword [esp + 0x6c], 0x27
jne 0x5b5ecc
xor al, 0xda
mov dword [esp + 0x44], eax
add al, 0xde
mov byte [esp + 0x30], al
xor al, 0x7d
mov byte [esp + 0x38], al
call fcn.0049af60
mov edi, eax
mov dword [esp + 0x24], edi
mov ebp, edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x34], 0
xor ecx, ecx
xor edx, edx
jmp 0x5b5c44
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
movzx eax, byte [esp + 0x38]
cmp eax, 0xc
je 0x5b5c60
cmp eax, 0x22
je 0x5b5c80
cmp eax, 0x78
jne 0x5b5c90
mov byte [esp + 0x38], 0x3d
jmp 0x5b5c95
mov byte [esp + 0x38], 0x22
or edx, ecx
jne 0x5b5cb0
mov eax, 3
sub eax, ecx
xor eax, ecx
mov eax, edi
mov edx, ebp
jne 0x5b5cb5
jmp 0x5b5cb0
mov byte [esp + 0x38], 0x78
jmp 0x5b5c95
mov byte [esp + 0x38], 0xc
mov eax, ecx
imul eax, eax
and eax, 3
cmp eax, 3
sete al
movzx eax, al
xor eax, ecx
or eax, edx
mov eax, edi
mov edx, ebp
je 0x5b5cb5
call fcn.0049af60
mov dword [esp + 0x2c], eax
mov esi, eax
sub esi, edi
mov edi, edx
sbb edi, ebp
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x70]
sub eax, esi
mov ecx, 0
sbb ecx, edi
jae 0x5b5ce3
mov ecx, esi
not ecx
and ecx, 1
add ecx, esi
jne 0x5b5f25
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0044f470
mov ecx, eax
not ecx
and ecx, 1
add ecx, eax
setne cl
movzx ecx, cl
add ecx, eax
jne 0x5b6530
mov esi, dword [esp + 0x34]
cmp esi, dword [esp + 0x74]
jb 0x5b5d32
xor eax, eax
test al, al
je 0x5b5f2f
movzx eax, byte [esp + 0x30]
cmp eax, 1
je 0x5b5d60
cmp eax, 5
jne 0x5b5d90
mov dword [esp], ebx
call fcn.0044e800
test eax, eax
mov eax, 0xffffffff
mov byte [esp + 0x30], 5
je 0x5b5daa
jmp 0x5b6530
mov dword [esp], ebx
call fcn.0044e800
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
sete cl
movzx ecx, cl
cmp eax, ecx
mov eax, 0xffffffff
mov byte [esp + 0x30], 0x3c
je 0x5b5daa
jmp 0x5b6530
mov dword [esp], ebx
call fcn.0044e800
test eax, eax
mov eax, 0xffffffff
mov byte [esp + 0x30], 1
jne 0x5b6530
mov eax, dword [esp + 0x44]
movzx eax, al
xor ebp, ebp
cmp eax, 0x1b
jne 0x5b5ea9
mov al, 0x27
mov dword [esp + 0x44], eax
mov eax, esi
and eax, 1
xor eax, esi
cmp eax, 0xffffffff
setne al
movzx eax, al
add esi, eax
mov dword [esp + 0x34], esi
call fcn.007c4fd0
mov edi, eax
call fcn.007c4bf0
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 0x14], esi
mov dword [esp], str.Error__s_server__s__in_connect_tcp___syserr__u__s___now_repeating_for_the__d_time_after__lld__ms__n
call fcn.004414c0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.0044c1d0
jmp 0x5b5c30
mov al, 0x1b
mov dword [esp + 0x44], eax
mov eax, ebp
and eax, 1
xor eax, ebp
cmp eax, 0xffffffff
setne al
movzx eax, al
add ebp, eax
mov eax, 3
sub eax, esi
xor eax, esi
setne al
movzx ebx, al
add ebx, esi
call fcn.007c4fd0
mov edi, eax
call fcn.007c4bf0
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp], str.Error__s_server__s__in_connect_tcp___syserr__u__s___now_repeating_for_the__d_time_after__lld__ms__n
call fcn.004414c0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.0044c1d0
mov eax, ebp
or eax, 2
mov ecx, ebp
xor ecx, 2
add ecx, eax
setne al
movzx eax, al
cmp ebp, eax
jb 0x5b5e30
mov dword [esp + 0x34], ebx
jmp 0x5b5c30
mov eax, dword [0x80dcd0]
mov dword [esp], eax
call fcn.007c74c0
test eax, eax
jne 0x5b5f16
mov eax, 6
mov dword [esp + 0x2c], 0
test edi, edi
je 0x5b5f39
mov ecx, 0xb
xor edx, edx
test dl, dl
mov dword [esp + 0x38], edx
mov byte [esp + 0x44], dl
mov byte [esp + 0x28], dl
mov byte [esp + 0x34], bl
mov dword [esp + 0x3c], esi
je 0x5b609a
jmp 0x5b63f3
mov eax, 0x6a6af1fd
xor eax, 0x6a6af1f7
jmp 0x5b62e1
mov eax, 0xffffffff
jmp 0x5b6530
mov eax, 0xffffffff
jmp 0x5b6530
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ecx
mov byte [esp + 0x34], cl
mov byte [esp + 0x44], cl
mov byte [esp + 0x28], cl
jmp 0x5b63f3
add eax, esi
setne al
movzx eax, al
add esi, eax
mov dword [edi + 0xa8], 1
call fcn.005b0100
mov eax, esi
not eax
and eax, 1
mov ecx, esi
add ecx, eax
setne cl
movzx ecx, cl
cmp esi, ecx
jb 0x5b5f60
mov esi, ebx
jmp 0x5b6413
mov dword [esp + 0x2c], 0
mov dword [esp], 0x80dca8
call fcn.0049a850
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.0040a870
mov eax, dword [esp + 0x64]
mov ecx, eax
imul eax, eax
and eax, 3
cmp eax, 3
sete al
movzx eax, al
cmp ecx, eax
jne 0x5b64c1
xor ebx, ebx
mov esi, 0xc
mov eax, dword [0x80dcd4]
mov dword [esp + 0x30], eax
test eax, eax
je 0x5b6036
xor eax, eax
test al, al
mov dword [esp + 0x3c], ebx
jne 0x5b6036
mov dword [esp + 0x40], ebx
mov ebx, ebp
mov esi, 0x10
mov byte [esp + 0x34], 0x7a
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
sub eax, 0xffffff80
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.007c58b0
test eax, eax
jne 0x5b6051
mov eax, dword [esp + 0x3c]
mov ebp, ebx
mov ebx, eax
cmp esi, 0xc
jne 0x5b6083
imul esi, esi
and esi, 3
cmp esi, 2
jae 0x5b6083
mov dword [esp + 0x40], ebx
mov ebx, ebp
jmp 0x5b612b
mov eax, 0x19
mov ebp, dword [ebp + 4]
test ebp, ebp
je 0x5b6111
mov dword [esp + 0x30], ebp
mov esi, 0xe
xor ecx, ecx
test cl, cl
mov ebp, ebx
mov cl, byte [esp + 0x44]
mov ebx, dword [esp + 0x40]
je 0x5b64f4
jmp 0x5b646e
mov ecx, 0x15
movzx eax, byte [esp + 0x34]
cmp eax, 0x6d
mov edx, dword [esp + 0x24]
jne 0x5b60e0
mov esi, dword [esp + 0x30]
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], edx
xor esi, esi
cmp ecx, 0xb
je 0x5b5f79
xor eax, eax
test al, al
jne 0x5b5f79
mov dword [esp + 0x40], ebx
mov byte [esp + 0x34], 0x7a
mov byte [esp + 0x44], 0x24
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x5b612b
mov eax, ebx
imul eax, eax
and eax, 3
cmp eax, 3
jne 0x5b631a
jmp 0x5b612b
mov dword [esp + 0x40], ebx
mov eax, 3
mov byte [esp + 0x34], 0x6d
mov byte [esp + 0x44], 0x24
test edx, edx
je 0x5b6124
mov ecx, 0xe
mov esi, edx
and edx, 1
inc edx
xor edx, esi
mov ebp, esi
jne 0x5b6305
jmp 0x5b6362
mov dword [esp + 0x30], ebp
mov ebp, ebx
mov cl, byte [esp + 0x44]
mov ebx, dword [esp + 0x40]
jmp 0x5b646e
mov ebp, edx
jmp 0x5b6362
mov esi, 2
mov dword [esp], 0xcc
call fcn.004939e0
mov ebp, eax
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp], ebp
mov dword [esp + 4], pe_nt_image_headers32
call fcn.004959f0
mov eax, ebp
sub eax, 0xffffff80
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], 0x29
call fcn.004959f0
mov dword [ebp + 0xac], 1
mov dword [ebp + 0xb0], 0x9060001
mov ecx, dword [esp + 0x40]
mov eax, ecx
imul eax, eax
and eax, 3
cmp eax, 3
sete al
movzx eax, al
cmp ecx, eax
sete al
movzx eax, al
mov dword [ebp + 0xb4], eax
mov ebp, ebx
jne 0x5b6227
cmp esi, 2
je 0x5b6208
imul esi, esi
and esi, 3
cmp esi, 3
je 0x5b6208
mov eax, dword [ebp + 0xb4]
mov ebx, dword [esp + 0x40]
mov ecx, ebx
or ecx, eax
or eax, ebx
mov eax, 3
mov byte [esp + 0x44], 0x3b
mov byte [esp + 0x28], 0x27
jne 0x5b63dd
mov edx, ecx
or edx, 2
xor ecx, 2
add ecx, edx
mov esi, dword [esp + 0x30]
je 0x5b63eb
add ebp, 0xb4
mov eax, ebp
jmp 0x5b6380
mov eax, dword [0x80dcc0]
mov ecx, eax
or ecx, 2
mov edx, eax
xor edx, 2
add edx, ecx
setne cl
movzx ecx, cl
add ecx, eax
mov dword [0x80dcc0], ecx
mov esi, dword [esp + 0x38]
lea eax, [esi + 0xbc]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 0x80dcd4
call fcn.007c5230
lea eax, [esi + 0xb8]
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 0xc], 0x16
mov dword [esp + 4], 0x5b11d0
call fcn.00493ca0
test eax, eax
jne 0x5b655c
mov al, 0x47
mov ecx, 2
movzx eax, al
cmp eax, 0x47
je 0x5b6305
mov esi, 0xe
cmp eax, 0x6d
je 0x5b62b3
mov esi, 0x1e
mov eax, dword [0x80dcd0]
mov dword [esp], eax
call fcn.007c74e0
test eax, eax
jne 0x5b62b3
mov ecx, eax
and ecx, 1
xor ecx, eax
not ecx
test ecx, ecx
jne 0x5b652e
cmp esi, 0xe
je 0x5b62c7
imul esi, esi
and esi, 3
cmp esi, 3
jne 0x5b654b
mov eax, dword [0x80dcd0]
mov dword [esp], eax
call fcn.007c74e0
test eax, eax
mov eax, 3
jne 0x5b654b
cmp eax, 3
je 0x5b652e
xor eax, eax
test al, al
jne 0x5b652e
mov dword [esp], str.Failed_to_lock_monitor_n
call fcn.00441610
call fcn.0044c0d0
mov ebx, ebp
cmp ecx, 2
je 0x5b63c3
xor eax, eax
test al, al
jne 0x5b63c3
mov esi, 0xe
mov al, byte [esp + 0x44]
movzx eax, al
mov ebp, ebx
cmp eax, 0x24
jne 0x5b61b2
lea eax, [ebp + 0xb4]
mov edx, dword [ebp + 0xb4]
mov esi, dword [esp + 0x40]
mov ecx, esi
or ecx, edx
or edx, esi
mov byte [esp + 0x28], 0x27
je 0x5b6380
mov edx, ecx
and edx, 1
inc edx
xor edx, ecx
je 0x5b6380
mov eax, 2
mov byte [esp + 0x44], 0x24
cmp eax, 2
je 0x5b6490
mov ebx, ebp
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
jne 0x5b612b
jmp 0x5b6490
xor ecx, ecx
jmp 0x5b63aa
mov edx, ecx
imul edx, edx
and edx, 3
cmp edx, 2
adc ecx, 0
mov dword [eax], 1
inc dword [0x80dcc0]
mov edx, ecx
and edx, 1
xor edx, ecx
cmp edx, 0xffffffff
setne dl
movzx edx, dl
cmp ecx, edx
jb 0x5b6390
jmp 0x5b6490
mov eax, dword [0x80dcd0]
mov dword [esp], eax
call fcn.007c74e0
test eax, eax
je 0x5b652e
jmp 0x5b654b
mov dword [esp + 0x3c], ebx
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
jmp 0x5b63f3
mov dword [esp + 0x3c], ebx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], edx
cmp eax, 3
mov esi, dword [esp + 0x3c]
je 0x5b6490
imul eax, eax
and eax, 3
cmp eax, 3
je 0x5b6490
mov eax, dword [esp + 0x2c]
test al, al
je 0x5b5f95
mov al, 0x77
mov dword [esp + 0x2c], eax
mov dword [esp], 0x80dca8
call fcn.0049a850
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.0040a870
mov eax, dword [esp + 0x64]
mov ecx, eax
and eax, 1
inc eax
xor eax, ecx
sete al
movzx eax, al
cmp ecx, eax
jne 0x5b64c1
mov dword [esp + 0x3c], esi
mov eax, 0xf
xor ebx, ebx
mov cl, byte [esp + 0x44]
cmp eax, 0xf
jne 0x5b6538
mov byte [esp + 0x44], cl
mov ecx, eax
or ecx, 2
xor eax, 2
add eax, ecx
jne 0x5b5fe0
jmp 0x5b653c
movzx eax, byte [esp + 0x28]
cmp eax, 0x54
jne 0x5b6517
mov eax, dword [0x80dcd0]
mov dword [esp], eax
call fcn.007c74e0
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete cl
movzx ecx, cl
cmp eax, ecx
je 0x5b652e
jmp 0x5b654b
mov dword [esp + 0x3c], esi
mov esi, 0x10
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00489030
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete cl
movzx ecx, cl
xor ebx, ebx
cmp eax, ecx
cmove ebx, dword [esp + 0x64]
mov cl, byte [esp + 0x44]
mov byte [esp + 0x44], cl
cmp esi, 0xe
jne 0x5b5fe0
mov eax, esi
and eax, 1
xor eax, esi
not eax
test eax, eax
jne 0x5b5ffc
jmp 0x5b5fe0
mov eax, dword [0x80dcd0]
mov dword [esp], eax
call fcn.007c74e0
test eax, eax
je 0x5b652e
xor eax, eax
test al, al
je 0x5b654b
xor eax, eax
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esp + 0x44], cl
mov ebx, ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
jmp 0x5b612b
mov dword [esp], str.Failed_to_unlock_monitor_n
call fcn.00441610
call fcn.0044c0d0
mov dword [esp], str.Failed_to_create_update_thread_n
call fcn.00441610
call fcn.0044c0d0
int3