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

Disassembly:
mov ecx, dword [0x776294]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x59a025
sub esp, 0x9c
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x599899
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x14]
mov ebp, dword [edx + 0x10]
mov dword [ecx + 4], ebx
mov ebx, dword [0x776350]
test ebx, ebx
je 0x599892
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov ebx, dword [ecx]
mov dword [edi + 4], ebx
mov dword [ecx], ebp
jmp 0x59999b
mov eax, dword [esp + 0xa4]
cmp dword [eax + 0x14], edx
jne 0x5998ce
mov ebx, dword [ecx]
mov ebp, dword [eax + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x59998d
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c2b40]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa4]
mov edx, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
mov dword [esp], edx
mov dword [esp + 4], ebx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c2b40]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov dword [esp], 0
lea eax, [0x5f842f]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0x8c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call sym.main.error_
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov ebx, dword [ecx + 0x40]
test ebx, ebx
jne 0x5999c4
mov ebx, dword [0x776350]
mov ebp, dword [edx + 0x44]
test ebx, ebx
je 0x5999bc
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov ebx, dword [ecx + 0x40]
mov dword [edi + 4], ebx
mov dword [ecx + 0x40], ebp
jmp 0x599ce0
mov ecx, dword [edx + 0x44]
mov dword [esp + 0x50], ecx
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.0046ab94
lea ecx, [0x5c3dc0]
mov dword [esp], ecx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
lea ebx, [esp + 0x5c]
mov dword [esp + 8], ebx
call sym.runtime.mapiterinit
jmp 0x599a02
lea eax, [esp + 0x5c]
mov dword [esp], eax
call sym.runtime.mapiternext
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x599cd9
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 0x40]
mov edx, dword [edx]
mov dword [esp + 0x34], edx
lea esi, [0x5c3dc0]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x599c80
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x40]
lea edx, [0x5c3dc0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x599c27
mov ecx, dword [eax]
mov edx, dword [eax + 4]
test ecx, ecx
sete cl
test edx, edx
sete dl
and edx, ecx
test dl, dl
je 0x599ac1
cmp dword [eax + 8], 0xffffffff
sete cl
cmp dword [eax + 0xc], 0xffffffff
sete al
and ecx, eax
test cl, cl
jne 0x599c27
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x5999f6
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
test edx, edx
sete dl
test ebx, ebx
sete bl
and ebx, edx
test bl, bl
je 0x599afd
cmp dword [ecx + 8], 0xffffffff
sete dl
cmp dword [ecx + 0xc], 0xffffffff
sete cl
and edx, ecx
test dl, dl
jne 0x5999f6
mov eax, dword [0x736da8]
lea ecx, [0x5c41c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
jne 0x5999f6
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x40]
lea edx, [0x5c3dc0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
lea ecx, [0x5ca0c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call sym.reflect.DeepEqual
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5999f6
mov eax, dword [esp + 0x28]
cmp eax, 8
jne 0x599bba
mov ecx, dword [esp + 0x38]
cmp dword [ecx], 0x614d435f
jne 0x599bbe
cmp dword [ecx + 4], 0x636f6c6c
jne 0x599bbe
mov eax, 6
lea ecx, [0x5ed56e]
jmp 0x599bbe
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c2b40]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov dword [esp], 0
lea eax, [0x5f7c0d]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x21
lea edx, [esp + 0x54]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call sym.main.error_
jmp 0x5999f6
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x40]
lea edx, [0x5c3dc0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
test byte [eax], al
mov ecx, dword [0x776350]
test ecx, ecx
jne 0x599c69
mov ecx, dword [esp + 0x34]
jmp 0x599c79
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
jmp 0x5999f6
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x40]
lea edx, [0x5c3dc0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
test byte [eax], al
mov ecx, dword [0x776350]
test ecx, ecx
jne 0x599cc2
mov ecx, dword [esp + 0x34]
jmp 0x599cd2
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
jmp 0x5999f6
mov edx, dword [esp + 0xa4]
mov ecx, dword [edx + 0x4c]
mov dword [esp + 0x4c], ecx
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.0046ab94
lea ecx, [0x5c3e40]
mov dword [esp], ecx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
lea ebx, [esp + 0x5c]
mov dword [esp + 8], ebx
call sym.runtime.mapiterinit
jmp 0x599d60
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x60]
movzx edx, byte [edx]
mov byte [esp + 0x27], dl
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 0x8c]
lea esi, [0x5c3e40]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x27]
mov byte [eax], cl
lea eax, [esp + 0x5c]
mov dword [esp], eax
call sym.runtime.mapiternext
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x599d12
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x50]
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.0046ab94
lea ecx, [0x5c3e40]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea edx, [esp + 0x5c]
mov dword [esp + 8], edx
call sym.runtime.mapiterinit
jmp 0x599de7
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x60]
movzx edx, byte [edx]
mov byte [esp + 0x26], dl
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 0x90]
lea esi, [0x5c3e40]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x26]
mov byte [eax], cl
lea eax, [esp + 0x5c]
mov dword [esp], eax
call sym.runtime.mapiternext
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x599d99
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x599f43
mov edx, dword [eax + 0x3c]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 0x48]
lea esi, [edx + ebp]
mov edi, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x44]
cmp edi, esi
jae 0x599e5d
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], ecx
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
lea eax, [0x5b7ac0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x44], eax
lea ebx, [0x5b7ac0]
mov dword [esp], ebx
sub esi, ebp
sub edi, ebp
xchg edi, ebx
neg ebx
xchg edi, ebx
shl ebp, 2
sar edi, 0x1f
and ebp, edi
add ebp, eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call sym.runtime.typedslicecopy
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x4c], eax
mov eax, dword [0x776350]
test eax, eax
jne 0x599ec0
mov eax, dword [esp + 0x44]
jmp 0x599ed1
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x44]
mov dword [edi], eax
mov edx, dword [ecx + 0x44]
mov dword [edi + 4], edx
mov dword [ecx + 0x44], eax
mov eax, dword [ecx + 0x74]
mov edx, dword [ecx + 0x78]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [ebx + 0x18]
mov esi, dword [ebx + 0x1c]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
lea eax, str._n_tX__0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
call sym.runtime.concatstring3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xa0]
mov dword [edx + 0x78], eax
mov eax, dword [0x776350]
test eax, eax
je 0x599f3e
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x74]
mov dword [edi + 4], eax
mov dword [edx + 0x74], ecx
jmp 0x599f4a
mov edx, dword [esp + 0xa0]
mov eax, dword [edx + 0x54]
mov ecx, dword [edx + 0x58]
mov ebx, dword [esp + 0xa4]
mov ebx, dword [ebx]
mov ebp, dword [ebx + 0x10]
lea esi, [eax + ebp]
mov edi, dword [edx + 0x50]
mov ebx, dword [ebx + 0xc]
cmp ecx, esi
jae 0x599fab
mov dword [esp + 0x30], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], eax
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
lea eax, [0x5cc5e0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], esi
lea edx, [0x5cc5e0]
mov dword [esp], edx
sub esi, eax
sub ecx, eax
neg ecx
shl eax, 3
sar ecx, 0x1f
and eax, ecx
add eax, edi
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call sym.runtime.typedslicecopy
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x54], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x58], eax
mov eax, dword [0x776350]
test eax, eax
jne 0x59a00a
mov eax, dword [esp + 0x3c]
jmp 0x59a01b
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
mov edx, dword [ecx + 0x50]
mov dword [edi + 4], edx
mov dword [ecx + 0x50], eax
add esp, 0x9c
ret
call sym.runtime.morestack_noctxt
jmp sym.main._Package_.Record