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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6da45d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7cb114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov edx, dword [esi]
mov byte [ebp - 0x14], 0
or dword [ebx + 8], 1
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x5b7b64
and ecx, 0xfffffffc
jmp 0x5b7b75
mov eax, ecx
shr eax, 1
test al, 1
je 0x5b7b70
xor ecx, ecx
jmp 0x5b7b75
and ecx, 0xfffffffc
mov ecx, dword [ecx]
push ecx
push edx
push dword [ebp - 0x14]
lea ecx, [ebx + 0x78]
call fcn.0046d840
mov edx, dword [esi + 4]
cmp dword [edx + 0x10], 0
je 0x5b7bbe
or dword [ebx + 8], 2
mov ecx, dword [ebx + 4]
mov byte [ebp - 0x14], 0
test cl, 3
jne 0x5b7ba0
and ecx, 0xfffffffc
jmp 0x5b7bb1
mov eax, ecx
shr eax, 1
test al, 1
je 0x5b7bac
xor ecx, ecx
jmp 0x5b7bb1
and ecx, 0xfffffffc
mov ecx, dword [ecx]
push ecx
push edx
push dword [ebp - 0x14]
lea ecx, [ebx + 0x7c]
call fcn.0046d840
cmp dword [esi + 0x2c], 3
jne 0x5b7bd6
push 3
call fcn.005c7c40
add esp, 4
mov ecx, ebx
push eax
call fcn.005cd5b0
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jle 0x5b7c74
mov edi, dword [esi + 0xc]
test edi, edi
je 0x5b7c3e
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x5b7f4c
cmp dword [ebp - 0x14], 0
je 0x5b7c3e
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 4
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.005c1770
push 0
push 0
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x5b7f4c
mov eax, dword [esi + 0x34]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ebx*4]
lea ecx, [ecx + 0x10]
mov edi, dword [eax]
call fcn.0046f150
cmp eax, edi
je 0x5b7c6a
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x5b7c5f
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
mov ecx, eax
call fcn.004662d0
inc ebx
cmp ebx, dword [esi + 0x10]
jl 0x5b7be1
xor edi, edi
cmp dword [esi + 0x14], edi
jle 0x5b7c9d
mov eax, dword [ebp + 8]
add eax, 0x60
mov ebx, eax
mov eax, dword [esi + 0x3c]
mov ecx, ebx
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0046ef80
inc edi
cmp edi, dword [esi + 0x14]
jl 0x5b7c83
mov ebx, dword [ebp + 8]
xor edi, edi
cmp dword [esi + 0x18], edi
jle 0x5b7ccd
lea eax, [ebx + 0x6c]
mov dword [ebp - 0x14], eax
mov ebx, eax
nop
mov eax, dword [esi + 0x40]
mov ecx, ebx
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046ef80
inc edi
cmp edi, dword [esi + 0x18]
jl 0x5b7cb0
mov ebx, dword [ebp + 8]
cmp dword [esi + 0x1c], 0
mov dword [ebp - 0x10], 0
jle 0x5b7d4f
lea edi, [ebx + 0x20]
mov dword [ebp - 0x14], 0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x5b7d05
mov ecx, dword [edi + 4]
mov edx, dword [eax]
cmp ecx, edx
jge 0x5b7d00
mov ebx, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
jmp 0x5b7d2f
cmp edx, dword [edi + 8]
jne 0x5b7d14
mov eax, dword [edi + 8]
mov ecx, edi
inc eax
push eax
call fcn.0046f930
mov eax, dword [edi + 0xc]
inc dword [eax]
push dword [edi]
call fcn.0059f3d0
mov edx, dword [edi + 4]
mov ebx, eax
mov ecx, dword [edi + 0xc]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [edi + 4]
mov ecx, dword [esi + 0x44]
push ebx
mov ebx, dword [ebp - 0x14]
add ecx, ebx
call fcn.005b6eb0
mov ecx, dword [ebp - 0x10]
add ebx, 0x5c
inc ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [esi + 0x1c]
jl 0x5b7ce4
cmp dword [esi + 0x20], 0
mov dword [ebp - 0x14], 0
jle 0x5b7dd3
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x5b7d87
mov ecx, dword [edi + 0x34]
mov edx, dword [eax]
cmp ecx, edx
jge 0x5b7d82
mov ebx, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [edi + 0x34], eax
jmp 0x5b7db3
cmp edx, dword [edi + 0x38]
jne 0x5b7d97
mov eax, dword [edi + 0x38]
lea ecx, [edi + 0x30]
inc eax
push eax
call fcn.0046f930
mov eax, dword [edi + 0x3c]
inc dword [eax]
push dword [edi + 0x30]
call fcn.0059f570
mov edx, dword [edi + 0x34]
mov ebx, eax
mov ecx, dword [edi + 0x3c]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [edi + 0x34]
mov ecx, dword [esi + 0x48]
push ebx
mov ebx, dword [ebp - 0x10]
add ecx, ebx
call fcn.005b7450
mov ecx, dword [ebp - 0x14]
add ebx, 0x30
inc ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [esi + 0x20]
jl 0x5b7d66
cmp dword [esi + 0x24], 0
mov dword [ebp - 0x14], 0
jle 0x5b7e60
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
nop
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x5b7e11
mov edx, dword [edi + 0x44]
mov eax, dword [ecx]
cmp edx, eax
jge 0x5b7e0c
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [edi + 0x44], eax
jmp 0x5b7e40
cmp eax, dword [edi + 0x48]
jne 0x5b7e23
mov eax, dword [edi + 0x48]
lea ecx, [edi + 0x40]
inc eax
push eax
call fcn.0046f930
mov ecx, dword [edi + 0x4c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [edi + 0x40]
call fcn.005a0240
mov edx, dword [edi + 0x44]
mov ebx, eax
mov ecx, dword [edi + 0x4c]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [edi + 0x44]
mov ecx, dword [esi + 0x4c]
push ebx
mov ebx, dword [ebp - 0x10]
add ecx, ebx
call fcn.005b8260
mov eax, dword [ebp - 0x14]
add ebx, 0x18
inc eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
cmp eax, dword [esi + 0x24]
jl 0x5b7df0
cmp dword [esi + 0x28], 0
mov dword [ebp - 0x14], 0
jle 0x5b7ee7
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x5b7e98
mov edx, dword [edi + 0x54]
mov eax, dword [ecx]
cmp edx, eax
jge 0x5b7e93
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [edi + 0x54], eax
jmp 0x5b7ec7
cmp eax, dword [edi + 0x58]
jne 0x5b7eaa
mov eax, dword [edi + 0x58]
lea ecx, [edi + 0x50]
inc eax
push eax
call fcn.0046f930
mov ecx, dword [edi + 0x5c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [edi + 0x50]
call fcn.0059f9d0
mov edx, dword [edi + 0x54]
mov ebx, eax
mov ecx, dword [edi + 0x5c]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [edi + 0x54]
mov ecx, dword [esi + 0x50]
push ebx
mov ebx, dword [ebp - 0x10]
add ecx, ebx
call fcn.005b76d0
mov eax, dword [ebp - 0x14]
add ebx, 0x58
inc eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
cmp eax, dword [esi + 0x28]
jl 0x5b7e77
cmp dword [esi + 0x54], 0x7cbf10
je 0x5b7f38
mov ebx, dword [ebp + 8]
or dword [ebx + 8], 8
mov eax, dword [ebx + 0x84]
test eax, eax
jne 0x5b7f2e
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x5b7f0e
and ecx, 0xfffffffc
jmp 0x5b7f1f
mov eax, ecx
shr eax, 1
test al, 1
je 0x5b7f1a
xor ecx, ecx
jmp 0x5b7f1f
and ecx, 0xfffffffc
mov ecx, dword [ecx]
push ecx
call fcn.0059fc50
add esp, 4
mov dword [ebx + 0x84], eax
push dword [esi + 0x54]
mov ecx, eax
call fcn.005a31e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.005637a9
int3