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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5250f1
sub esp, 0x74
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov eax, dword [eax]
xor edx, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], eax
cmp edx, ecx
jge 0x524871
mov ebx, dword [eax + 4]
mov dword [esp + 0x24], ebx
mov ebp, dword [eax]
test ebx, ebx
jne 0x524875
add eax, 0xc
inc edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], eax
cmp edx, ecx
jl 0x524854
add esp, 0x74
ret
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x44], ebp
cmp esi, ebx
jge 0x524861
test byte [ebp], al
lea edi, [esp + 0x60]
mov esi, ebp
call fcn.0044a34e
lea edi, [esp + 0x4c]
lea esi, [esp + 0x60]
call fcn.0044a34e
mov ecx, dword [esp + 0x78]
mov esi, edx
mov edx, dword [ecx + 0x64]
mov edi, eax
mov eax, dword [ecx + 0x68]
mov ebx, dword [ecx + 0x6c]
lea ebp, [ecx + 0x64]
mov dword [esp + 0x40], ebp
lea ebp, [eax + 1]
cmp ebp, ebx
jg 0x52507f
lea ebx, [eax + 1]
mov dword [ecx + 0x68], ebx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [0x7e38e0]
test edx, edx
jne 0x525058
mov edx, edi
mov edi, eax
mov ebx, esi
lea esi, [esp + 0x4c]
call fcn.0044a34e
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
lea ebp, [0x5fc520]
cmp ebp, ecx
jne 0x525049
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], ecx
jne 0x52503a
mov esi, ebx
mov ebx, dword [esp + 0x4c]
mov edi, edx
mov edx, dword [esp + 0x50]
cmp edx, 4
jne 0x525031
mov edx, dword [ebx]
cmp edx, 2
jne 0x525031
mov edx, dword [ebx + 4]
cmp edx, 5
jne 0x525031
mov edx, dword [ebx + 8]
cmp edx, 4
jne 0x525031
mov edx, dword [ebx + 0xc]
cmp edx, 7
jg 0x524bb7
cmp edx, 5
jg 0x524a04
cmp edx, 3
jne 0x5249bd
mov edx, dword [esp + 0x78]
mov dword [edx + 0x60], eax
mov eax, dword [0x7e38e0]
lea ebx, [edx + 0x5c]
test eax, eax
jne 0x52499d
mov dword [edx + 0x5c], ecx
mov eax, dword [esp + 0x44]
add eax, 0x14
mov ecx, dword [esp + 0x2c]
inc ecx
mov edx, esi
mov ebx, dword [esp + 0x24]
mov esi, ecx
mov ebp, eax
mov eax, edi
mov ecx, dword [esp + 0x34]
jmp 0x524877
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x78]
lea ebp, [0x5fc520]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
jmp 0x52497c
cmp edx, 5
jne 0x5249fb
mov edx, dword [esp + 0x78]
mov dword [edx + 0x58], eax
mov eax, dword [0x7e38e0]
lea ebx, [edx + 0x54]
test eax, eax
jne 0x5249db
mov dword [edx + 0x54], ecx
jmp 0x52497c
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x78]
lea ebp, [0x5fc520]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
jmp 0x52497c
mov edx, dword [esp + 0x78]
jmp 0x52497c
cmp edx, 6
jne 0x524ada
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 8]
mov ebp, dword [edx]
mov ecx, dword [edx + 4]
lea eax, [ecx + 1]
cmp eax, ebx
jg 0x524a72
lea eax, [ecx + 1]
mov dword [edx + 4], eax
mov eax, ecx
shl ecx, 3
mov ebx, dword [esp + 0x20]
mov dword [ebp + ecx + 4], ebx
lea eax, [ebp + eax*8]
mov ebx, dword [0x7e38e0]
test ebx, ebx
jne 0x524a54
mov eax, dword [esp + 0x38]
mov dword [ebp + ecx], eax
lea ebp, [0x5fc520]
jmp 0x52497c
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
jmp 0x524a49
lea esi, [0x5fc520]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
mov dword [ebx + 8], edx
mov edx, dword [0x7e38e0]
test edx, edx
jne 0x524ac4
mov dword [ebx], eax
mov ebp, dword [ebx]
mov edx, ebx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
jmp 0x524a20
mov dword [esp], ebx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x78]
jmp 0x524ab3
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x24]
mov ebp, dword [edx + 0x28]
mov ecx, dword [edx + 0x2c]
lea eax, [edx + 0x24]
mov dword [esp + 0x3c], eax
lea eax, [ebp + 1]
cmp eax, ecx
jg 0x524b45
lea eax, [ebp + 1]
mov dword [edx + 0x28], eax
mov eax, ebp
shl ebp, 3
mov ecx, dword [esp + 0x20]
mov dword [ebx + ebp + 4], ecx
lea eax, [ebx + eax*8]
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x524b27
mov eax, dword [esp + 0x38]
mov dword [ebx + ebp], eax
lea ebp, [0x5fc520]
jmp 0x52497c
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
jmp 0x524b1c
lea esi, [0x5fc520]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x7e38e0]
test edx, edx
jne 0x524b9d
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x24]
mov edx, ebx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
mov ebp, ecx
mov ebx, eax
jmp 0x524af5
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x78]
jmp 0x524b87
cmp edx, 9
jg 0x524d81
cmp edx, 8
jne 0x524ca4
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x38]
mov ebp, dword [edx + 0x30]
mov ecx, dword [edx + 0x34]
lea eax, [edx + 0x30]
mov dword [esp + 0x3c], eax
lea eax, [ecx + 1]
cmp eax, ebx
jg 0x524c36
lea eax, [ecx + 1]
mov dword [edx + 0x34], eax
mov eax, ecx
shl ecx, 3
mov ebx, dword [esp + 0x20]
mov dword [ebp + ecx + 4], ebx
mov ebx, dword [0x7e38e0]
lea eax, [ebp + eax*8]
test ebx, ebx
jne 0x524c18
mov eax, dword [esp + 0x38]
mov dword [ebp + ecx], eax
lea ebp, [0x5fc520]
jmp 0x52497c
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
jmp 0x524c0d
lea esi, [0x5fc520]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
mov dword [ebx + 0x38], edx
mov edx, dword [0x7e38e0]
test edx, edx
jne 0x524c8a
mov dword [ebx + 0x30], eax
mov ebp, dword [ebx + 0x30]
mov edx, ebx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
jmp 0x524be4
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x78]
jmp 0x524c78
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x3c]
mov ebp, dword [edx + 0x40]
mov ecx, dword [edx + 0x44]
lea eax, [edx + 0x3c]
mov dword [esp + 0x3c], eax
lea eax, [ebp + 1]
cmp eax, ecx
jg 0x524d0f
lea eax, [ebp + 1]
mov dword [edx + 0x40], eax
mov eax, ebp
shl ebp, 3
mov ecx, dword [esp + 0x20]
mov dword [ebx + ebp + 4], ecx
mov ecx, dword [0x7e38e0]
lea eax, [ebx + eax*8]
test ecx, ecx
jne 0x524cf1
mov eax, dword [esp + 0x38]
mov dword [ebx + ebp], eax
lea ebp, [0x5fc520]
jmp 0x52497c
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
jmp 0x524ce6
lea esi, [0x5fc520]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
mov dword [ebx + 0x44], edx
mov edx, dword [0x7e38e0]
test edx, edx
jne 0x524d67
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x3c]
mov edx, ebx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
mov ebp, ecx
mov ebx, eax
jmp 0x524cbf
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x78]
jmp 0x524d51
cmp edx, 0xa
jne 0x524e65
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x14]
mov ebp, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
lea eax, [edx + 0xc]
mov dword [esp + 0x3c], eax
lea eax, [ecx + 1]
cmp eax, ebx
jg 0x524df7
lea eax, [ecx + 1]
mov dword [edx + 0x10], eax
mov eax, ecx
shl ecx, 3
mov ebx, dword [esp + 0x20]
mov dword [ebp + ecx + 4], ebx
lea eax, [ebp + eax*8]
mov ebx, dword [0x7e38e0]
test ebx, ebx
jne 0x524dd9
mov eax, dword [esp + 0x38]
mov dword [ebp + ecx], eax
lea ebp, [0x5fc520]
jmp 0x52497c
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
jmp 0x524dce
lea esi, [0x5fc520]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
mov dword [ebx + 0x14], edx
mov edx, dword [0x7e38e0]
test edx, edx
jne 0x524e4b
mov dword [ebx + 0xc], eax
mov ebp, dword [ebx + 0xc]
mov edx, ebx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
jmp 0x524da5
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x78]
jmp 0x524e39
cmp edx, 0xb
jne 0x524f4b
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x18]
mov ebp, dword [edx + 0x1c]
mov ecx, dword [edx + 0x20]
lea eax, [edx + 0x18]
mov dword [esp + 0x3c], eax
lea eax, [ebp + 1]
cmp eax, ecx
jg 0x524ed9
lea eax, [ebp + 1]
mov dword [edx + 0x1c], eax
mov eax, ebp
shl ebp, 3
mov ecx, dword [esp + 0x20]
mov dword [ebx + ebp + 4], ecx
lea eax, [ebx + eax*8]
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x524ebb
mov eax, dword [esp + 0x38]
mov dword [ebx + ebp], eax
lea ebp, [0x5fc520]
jmp 0x52497c
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
jmp 0x524eb0
lea esi, [0x5fc520]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
mov dword [ebx + 0x20], edx
mov edx, dword [0x7e38e0]
test edx, edx
jne 0x524f31
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x18]
mov edx, ebx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
mov ebp, ecx
mov ebx, eax
jmp 0x524e89
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x78]
jmp 0x524f1b
cmp edx, 0x11
jne 0x5249fb
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x4c]
mov ebp, dword [edx + 0x50]
mov ecx, dword [edx + 0x48]
lea eax, [edx + 0x48]
mov dword [esp + 0x3c], eax
lea eax, [ebx + 1]
cmp eax, ebp
jg 0x524fbf
lea eax, [ebx + 1]
mov dword [edx + 0x4c], eax
mov eax, ebx
shl ebx, 3
mov ebp, dword [esp + 0x20]
mov dword [ecx + ebx + 4], ebp
lea eax, [ecx + eax*8]
mov ebp, dword [0x7e38e0]
test ebp, ebp
jne 0x524fa1
mov eax, dword [esp + 0x38]
mov dword [ecx + ebx], eax
lea ebp, [0x5fc520]
jmp 0x52497c
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
jmp 0x524f96
lea esi, [0x5fc520]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
mov dword [ebx + 0x50], edx
mov edx, dword [0x7e38e0]
test edx, edx
jne 0x525017
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x48]
mov edx, ebx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
mov ebx, ecx
mov ecx, eax
jmp 0x524f6f
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x78]
jmp 0x525001
mov edx, dword [esp + 0x78]
jmp 0x52497c
mov edx, dword [esp + 0x78]
mov esi, ebx
mov edi, dword [esp + 0x48]
jmp 0x52497c
mov eax, 0
mov ecx, 0
jmp 0x524905
lea edx, [0x60b840]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
call dbg.runtime.typedmemmove
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
jmp 0x5248ea
lea esi, [0x60b840]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
mov dword [ebx + 0x6c], edx
mov edx, dword [0x7e38e0]
test edx, edx
jne 0x5250d7
mov dword [ebx + 0x64], eax
mov edx, dword [ebx + 0x64]
mov ecx, ebx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
jmp 0x5248c1
mov edx, dword [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x78]
jmp 0x5250c1
call dbg.runtime.morestack_noctxt
jmp dbg.crypto/x509/pkix.(*Name).FillFromRDNSequence