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

Disassembly:
mov ecx, dword [0x69e340]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x503673
sub esp, 0x5c
mov eax, 0
mov dword [esp + 0x58], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x503271
mov ecx, dword [esp + 0x60]
movzx edx, byte [ecx + 1]
test dl, dl
jne 0x50317d
movzx edx, byte [ecx + 2]
test dl, dl
je 0x5031e7
lea edx, [0x651570]
cmp dword [edx + 4], eax
je 0x50318f
mov edx, 1
jmp 0x5031bb
mov ecx, dword [0x651570]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x60]
mov edx, eax
mov eax, dword [esp + 0x68]
test dl, dl
jne 0x5031c5
mov edx, dword [esp + 0x64]
jmp 0x5031eb
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.strings.ToLower
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x60]
jmp 0x5031eb
mov edx, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], edx
movzx ebx, byte [ecx + 0x50]
mov byte [esp + 0x22], bl
test bl, bl
je 0x50324e
lea eax, [ecx + 0x54]
mov dword [esp + 0x4c], eax
mov dword [esp], eax
call sym.sync._RWMutex_.Lock
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [sym.gopkg.in_ini_2ev1._File_.NewSection.deferwrap1]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x58], eax
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
movzx ebx, byte [esp + 0x22]
movzx ebp, byte [ecx + 0x40]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x50326d
mov ebp, dword [ecx + 0x6c]
mov dword [esp + 0x38], ebp
mov esi, dword [ecx + 0x70]
mov dword [esp + 0x28], esi
xor edi, edi
jmp 0x5035fd
xor ebp, ebp
jmp 0x5032ac
lea eax, [0x539680]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x557377]
mov dword [eax], ecx
mov dword [esp + 0x6c], 0
lea ecx, [0x589bf0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
add esp, 0x5c
ret
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x50358e
mov ebp, dword [ecx + 0x74]
mov esi, dword [ecx + 0x70]
inc esi
mov edi, dword [ecx + 0x6c]
cmp ebp, esi
jae 0x503328
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5339e0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x74], eax
mov eax, dword [0x69e3e8]
test eax, eax
je 0x503310
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x6c]
mov dword [edi + 4], eax
mov dword [ebx + 0x6c], ecx
mov eax, dword [esp + 0x24]
movzx ebx, byte [esp + 0x22]
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x70], esi
lea ebp, [edi + esi*8 - 4]
mov dword [ebp], eax
mov ebp, dword [0x69e3e8]
lea esi, [edi + esi*8 - 8]
test ebp, ebp
je 0x50334c
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebp, dword [esi]
mov dword [edi + 4], ebp
mov dword [esi], edx
mov ebx, dword [ecx + 0x84]
lea ebp, [0x535240]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
inc edx
mov ebx, dword [esp + 0x10]
mov ebp, dword [eax + 0x78]
mov ebx, dword [ebx + 4]
cmp ecx, edx
jae 0x5033e8
mov dword [esp + 0x2c], ebx
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x533c20]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x80], eax
mov eax, dword [0x69e3e8]
test eax, eax
je 0x5033dd
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x78]
mov dword [edi + 4], eax
mov dword [ebx + 0x78], ecx
mov eax, ebx
mov ebx, dword [esp + 0x2c]
mov ebp, ecx
mov dword [eax + 0x7c], edx
mov dword [ebp + edx*4 - 4], ebx
nop
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x48], eax
lea ecx, [0x5339e0]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xa
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x40], eax
lea ecx, [0x546b20]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [0x69e3e8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x503460
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
jmp 0x503487
call sym.runtime.gcWriteBarrier5
mov eax, dword [esp + 0x60]
mov dword [edi], eax
mov edx, dword [esp + 0x30]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [edi + 8], ebx
mov ebp, dword [esp + 0x44]
mov dword [edi + 0xc], ebp
mov esi, dword [esp + 0x40]
mov dword [edi + 0x10], esi
mov dword [esp + 0x34], ecx
mov dword [ecx], eax
mov edi, dword [esp + 0x24]
mov dword [ecx + 0x10], edi
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0xa
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x24], esi
mov eax, dword [eax + 0x84]
lea ebx, [0x535240]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x503534
mov dword [esp + 0x3c], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x54c140]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 8], eax
mov eax, dword [0x69e3e8]
test eax, eax
je 0x50352e
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
mov eax, dword [0x69e3e8]
test eax, eax
jne 0x503547
mov eax, dword [esp + 0x34]
jmp 0x503559
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x34]
mov dword [edi], eax
mov ecx, dword [ebx + edx*4 - 4]
mov dword [edi + 4], ecx
mov dword [ebx + edx*4 - 4], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
movzx eax, byte [esp + 0x22]
test al, 1
je 0x50358a
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
mov ecx, dword [ecx + 0x84]
lea ebx, [0x535240]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
test ecx, ecx
jbe 0x5035ee
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
movzx eax, byte [esp + 0x22]
test al, 1
je 0x5035ea
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
inc edi
movzx ebx, byte [esp + 0x22]
cmp edi, esi
jge 0x50365e
lea ebx, [ebp + edi*8]
cmp dword [ebx + 4], eax
jne 0x5035f7
mov dword [esp + 0x2c], edi
mov ecx, dword [ebx]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x503643
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x5035f7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
movzx ebx, byte [esp + 0x22]
xchg ebp, ebx
setl bl
xchg ebp, ebx
jmp 0x5032ac
call sym.runtime.morestack_noctxt
jmp sym.gopkg.in_ini_2ev1._File_.NewSection