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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d47c8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x64e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov eax, dword [eax + 0x10]
dec eax
mov dword [esp + 0x20], eax
test eax, eax
jle 0x55f837
lea ebx, [esi + 0x2c]
mov byte [esp + 0x24], 0
mov dword [esp + 0x28], vtable.ByteArray.0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], vtable.ByteArray.0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], vtable.CArrayNoThrow_class_ASN1__class_ASN1_const__.0
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x64], 0
mov dword [esp + 0x78], 0
mov edi, dword [ebx + 8]
test edi, edi
js 0x55f87c
push ecx
lea eax, [edi + 1]
push eax
mov ecx, ebx
call fcn.00401520
test eax, eax
je 0x55f87c
lea eax, [esp + 0x24]
mov ecx, edi
shl ecx, 4
push eax
mov eax, dword [ebx + 4]
add ecx, edi
lea ecx, [eax + ecx*4]
call fcn.005603d0
mov eax, dword [esi + 0x30]
push dword [ebp + 0xc]
mov ecx, edi
shl ecx, 4
add ecx, edi
lea esi, [eax + ecx*4]
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
call fcn.0055f510
test al, al
je 0x55f873
mov al, byte [esi]
test al, al
je 0x55f852
test al, 0x20
je 0x55f7aa
test byte [esi + 0x40], 2
jne 0x55f7aa
mov eax, dword [ebp + 0xc]
test al, al
je 0x55f7aa
push eax
lea eax, [esi + 4]
push eax
mov ecx, esi
call fcn.0055f640
test al, al
je 0x55f87c
mov eax, dword [esp + 0x1c]
add dword [esp + 0x14], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], 0xffffffff
call fcn.00401070
mov esi, dword [esp + 0x44]
mov dword [esp + 0x3c], vtable.ByteArray.0
test esi, esi
je 0x55f7ec
lea eax, [esi + 4]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x55f7ec
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], vtable.ByteArray.0
test esi, esi
je 0x55f825
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x55f825
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x14], eax
jl 0x55f690
or byte [esi + 0x40], 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x50]
call fcn.00401070
lea ecx, [esp + 0x3c]
call fcn.005610c0
lea ecx, [esp + 0x28]
call fcn.005610c0
mov esi, dword [esp + 0x18]
jmp 0x55f837
push ecx
push edi
mov ecx, ebx
call fcn.00401100
lea ecx, [esp + 0x50]
call fcn.00401070
lea ecx, [esp + 0x3c]
call fcn.005610c0
lea ecx, [esp + 0x28]
call fcn.005610c0
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8