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

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
push ebx
mov dword [esp + 0x14], ecx
call fcn.005951a0
mov ecx, dword [esp + 0x10]
lea ebp, [ecx + 0x38]
lea edi, [ecx + 0x44]
lea esi, [ecx + 0x50]
mov dword [esp + 0x20], edi
mov dword [ecx], vtable.hkbModifier.0
mov al, byte [ebx + 0x28]
mov byte [ecx + 0x28], al
lea eax, [ecx + 0x2c]
mov dword [ecx], vtable.hkbSequence.0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], connect
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], connect
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], connect
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], connect
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x5c]
mov dword [ecx + 0x5c], eax
mov eax, dword [ebx + 0x60]
mov dword [ecx + 0x60], eax
mov eax, dword [ebx + 0x64]
mov dword [esp + 0x28], esi
test eax, eax
je 0x5b4643
mov ecx, eax
call fcn.0045c0c0
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x64]
mov dword [ecx + 0x64], eax
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x5b465b
mov ecx, eax
call fcn.0045c0c0
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x68]
mov dword [ecx + 0x68], eax
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x5b4673
mov ecx, eax
call fcn.0045c0c0
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + 0x6c], eax
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x78], connect
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x80], 0
mov dword [ecx + 0x84], connect
mov dword [ecx + 0x88], 0
mov dword [ecx + 0x8c], 0
mov dword [ecx + 0x90], connect
mov dword [ecx + 0x94], 0
mov dword [ecx + 0x98], 0
mov dword [ecx + 0x9c], connect
mov dword [ecx + 0xa0], 0
mov byte [ecx + 0xa4], 0
xor ecx, ecx
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x5b4760
mov esi, dword [esp + 0x18]
mov edi, eax
nop dword [eax]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 8]
and eax, 0x3fffffff
mov dword [esp + 0x1c], ecx
cmp dword [esi + 4], eax
jne 0x5b473b
push 4
push esi
push 0x7d8954
call fcn.00467c00
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [eax + edx*4], ecx
inc dword [esi + 4]
call fcn.0045c0c0
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, edi
jl 0x5b4710
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov eax, dword [ebx + 0x3c]
xor ecx, ecx
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x5b47bd
mov esi, eax
nop
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp + 8]
and eax, 0x3fffffff
mov dword [esp + 0x20], ecx
cmp dword [ebp + 4], eax
jne 0x5b479b
push 4
push ebp
push 0x7d8954
call fcn.00467c00
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
mov dword [eax + edx*4], ecx
inc dword [ebp + 4]
call fcn.0045c0c0
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, esi
jl 0x5b4770
mov esi, dword [esp + 0x28]
mov eax, dword [ebx + 0x48]
xor ebp, ebp
test eax, eax
jle 0x5b4814
mov esi, eax
nop dword [eax + eax]
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax + ebp*4]
mov eax, dword [edi + 8]
and eax, 0x3fffffff
mov dword [esp + 0x20], ecx
cmp dword [edi + 4], eax
jne 0x5b47fb
push 4
push edi
push 0x7d8954
call fcn.00467c00
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [eax + edx*4], ecx
inc dword [edi + 4]
call fcn.0045c0c0
inc ebp
cmp ebp, esi
jl 0x5b47d0
mov esi, dword [esp + 0x28]
mov eax, dword [ebx + 0x54]
xor edi, edi
mov dword [esp + 0x28], eax
test eax, eax
jle 0x5b485d
mov eax, dword [ebx + 0x50]
mov ebp, dword [eax + edi*4]
mov eax, dword [esi + 8]
and eax, 0x3fffffff
cmp dword [esi + 4], eax
jne 0x5b4844
push 4
push esi
push 0x7d8954
call fcn.00467c00
add esp, 0xc
mov edx, dword [esi + 4]
mov ecx, ebp
mov eax, dword [esi]
mov dword [eax + edx*4], ebp
inc dword [esi + 4]
call fcn.0045c0c0
inc edi
cmp edi, dword [esp + 0x28]
jl 0x5b4821
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4