Function at 0x41aa20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx]
ja 0x41aa40
xor edi, edi
xor eax, eax
call fcn.0042a440
jmp fcn.0041aa20
sub esp, 0xac
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x288]
cmp eax, 0
je 0x41aa6b
mov eax, str.split_stack_after_fork
mov dword [esp], eax
call fcn.00411860
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x4c]
cmp eax, ecx
je 0x41ab09
mov eax, str.runtime:_newstack_called_from_g_p_n_tm_p_m__curg_p_m__g0_p_m__gsignal_p_n
mov dword [esp], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x14], eax
call fcn.00412350
mov eax, str.runtime:_wrong_goroutine_in_newstack
mov dword [esp], eax
call fcn.00411860
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x4c]
movsx eax, word [ebx + 0x4c]
mov dword [esp + 0xa0], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
mov dword [esp + 0xa8], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x24]
mov dword [esp + 0xa4], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov dword [eax + 4], 0
mov esi, dword fs:[0x14]
mov esi, dword [esi + 4]
add esi, 8
lea edi, [esp + 0x3c]
mov ecx, 6
cld
rep movsd dword es:[edi], dword [esi]
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov dword [eax + 0xc], 0
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov dword [eax + 0x1c], 0
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov dword [eax + 8], 0
mov word [ebx + 0x4c], 4
mov ecx, str.stack_growth
mov dword [ebx + 0x60], ecx
cmp dword [esp + 0xa8], 1
jne 0x41b1f8
mov eax, 1
mov cl, al
cmp cl, 0
je 0x41ac05
mov dword [esp + 0xa8], 0
cmp cl, 0
mov byte [esp + 0x37], cl
jne 0x41b1f3
mov eax, ebx
mov dword [esp + 0x6c], ebx
add eax, 0x14
mov dword [esp], eax
call fcn.0041b4c0
mov ebx, dword [esp + 0x6c]
mov ecx, dword [ebx + 0x14]
sub ecx, 4
mov eax, dword [ebx + 0x3c]
add eax, 0xfffff700
cmp ecx, eax
jb 0x41b14c
mov dword [esp + 0x6c], ebx
mov eax, dword [ebx + 0x3c]
add eax, 0xfffff700
cmp ecx, eax
jae 0x41ac7b
mov eax, str.runtime:_split_stack_overflow:__p____p_n
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [ebx + 0x3c]
add eax, 0xfffff700
mov dword [esp + 8], eax
call fcn.00412350
mov eax, str.runtime:_split_stack_overflow
mov dword [esp], eax
call fcn.00411860
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0xa4]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
cmp eax, 0
je 0x41b147
mov eax, str.runtime:_stack_growth_with_misaligned_argsize__d_n
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
call fcn.00412350
mov eax, str.runtime:_stack_growth_argsize
mov dword [esp], eax
call fcn.00411860
mov ebx, dword [esp + 0x6c]
mov eax, dword [ebx]
cmp eax, 0xfffffade
jne 0x41ad93
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp ebx, eax
jne 0x41acf0
mov eax, str.runtime:_preempt_g0
mov dword [esp], eax
call fcn.00411860
mov ebx, dword [esp + 0x6c]
cmp dword [esp + 0xa0], 2
jne 0x41ad13
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x54]
cmp eax, 0
je 0x41b118
cmp dword [esp + 0xa0], 3
jne 0x41ad36
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x6c]
cmp eax, 0
je 0x41b102
cmp dword [esp + 0xa0], 2
jne 0x41ad59
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x6c]
cmp eax, 0
je 0x41b0af
mov ecx, dword [ebx + 0x3c]
mov dword [ebx], ecx
mov ecx, dword [esp + 0xa0]
mov word [ebx + 0x4c], cx
mov eax, ebx
add eax, 0x14
mov dword [esp], eax
call fcn.0042a330
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa0]
mov word [ebx + 0x4c], cx
mov eax, ebx
mov dword [esp], ebx
call fcn.00415610
mov ebx, dword [esp + 0x6c]
cmp byte [0x76f09f], 0
je 0x41ae4d
cmp byte [0x76f0a1], 0
jne 0x41adba
mov eax, str.cant_copy_stacks_without_precise_stacks
mov dword [esp], eax
call fcn.00411860
mov ebx, dword [esp + 0x6c]
mov ecx, ebx
mov dword [esp], ebx
call fcn.0041a000
mov ebp, dword [esp + 0x6c]
mov ecx, eax
cmp eax, 0xffffffff
je 0x41ae4d
mov ebx, dword [ebp + 0x3c]
add ebx, 0xfffff700
mov edx, dword [ebp + 4]
add edx, 0x30
sub edx, ebx
add edx, edx
mov dword [esp], ebp
mov dword [esp + 4], eax
mov eax, edx
mov dword [esp + 8], edx
call fcn.0041a810
mov edx, dword [esp + 0x6c]
mov ecx, dword [0x764cfc]
mov eax, dword [edx + 0x44]
cmp eax, ecx
jbe 0x41b0aa
mov eax, 0x76a81e
mov dword [esp], eax
mov eax, ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.00412350
mov eax, 0x76a84e
mov dword [esp], eax
call fcn.00411860
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa0]
mov word [edx + 0x4c], cx
mov eax, edx
add eax, 0x14
mov dword [esp], eax
call fcn.0042a330
mov eax, dword [esp + 0xa4]
add dword [esp + 0xa8], eax
add dword [esp + 0xa8], 0x800
cmp dword [esp + 0xa8], 0x2000
jge 0x41ae7e
mov dword [esp + 0xa8], 0x2000
add dword [esp + 0xa8], 0x800
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call fcn.0041a9d0
mov edx, eax
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, eax
mov dword [esp + 0xa8], eax
mov dword [esp + 4], eax
call fcn.00419a60
mov ecx, dword [0x764cfc]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x88], eax
mov eax, dword [ebx + 0x44]
cmp eax, ecx
jbe 0x41aef7
mov eax, str.runtime:_goroutine_stack_exceeds__D_byte_limit_n
mov dword [esp], eax
mov eax, ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.00412350
mov eax, str.stack_overflow
mov dword [esp], eax
call fcn.00411860
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x88]
lea eax, [edx + ecx]
add eax, 0xffffffd0
mov ebp, eax
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [eax], ecx
mov edi, eax
add edi, 8
lea esi, [esp + 0x3c]
mov ecx, 6
cld
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x28], ecx
mov ecx, dword [esp + 0xa4]
mov dword [ebp + 0x20], ecx
movzx ecx, byte [ebx + 0x68]
mov byte [ebp + 0x2c], cl
mov byte [ebx + 0x68], 0
mov edx, dword [ebp + 4]
cmp edx, 0
je 0x41af5a
movzx eax, byte [edx + 0x2c]
cmp al, 0
jne 0x41b088
mov ecx, dword [ebx + 8]
mov dword [ebp + 0x24], ecx
mov dword [ebx + 8], 0
mov dword [ebx + 4], ebp
mov ecx, dword [esp + 0x88]
add ecx, 0x900
mov dword [ebx + 0x3c], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [ebx], ecx
mov ecx, ebp
mov dword [esp + 0x7c], ebp
cmp dword [esp + 0xa4], 0
jle 0x41afd0
mov eax, dword [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x7c], ecx
mov ebx, ecx
mov edx, dword [esp + 0xa4]
mov ecx, edx
sar edx, 0x1f
and edx, 3
add ecx, edx
sar ecx, 2
lea eax, [ebx + ecx*4]
mov esi, eax
mov edx, dword [ebp + 0x28]
cmp ebx, esi
jae 0x41afd0
mov eax, ebx
add ebx, 4
mov ecx, edx
add edx, 4
mov ecx, dword [ecx]
mov dword [eax], ecx
cmp ebx, esi
jb 0x41afbe
lea eax, [esp + 0x54]
mov dword [esp], eax
mov eax, 0x18
mov dword [esp + 4], eax
call fcn.0042c2c0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x54], eax
mov eax, 0x42b650
mov dword [esp + 0x58], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x5c], eax
cmp byte [esp + 0x37], 0
je 0x41b061
lea eax, [esp + 0x54]
mov dword [esp], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x28]
mov dword [esp + 4], eax
call fcn.0041b210
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa0]
mov word [eax + 0x4c], cx
lea eax, [esp + 0x54]
mov dword [esp], eax
call fcn.0042a330
mov dword [0x159], 0x7b
add esp, 0xac
ret
lea eax, [esp + 0x54]
mov dword [esp], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 8], eax
call fcn.0041b470
mov eax, dword [esp + 0x6c]
mov dword [eax + 0x20], 0
jmp 0x41b035
mov eax, dword [edx + 0x20]
mov ecx, edx
sub ecx, eax
mov eax, ecx
mov ecx, dword [ebx + 8]
sub eax, ecx
mov ecx, dword [ebp + 0x28]
cmp ecx, eax
jne 0x41af5a
mov byte [ebp + 0x2c], 1
jmp 0x41af5a
jmp 0x41ae35
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x60]
cmp eax, 0
jne 0x41ad59
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x68]
cmp eax, 0
jne 0x41ad59
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x41ad59
jmp 0x41ad7a
mov eax, str.runtime:_stack_growth_during_syscall
mov dword [esp], eax
call fcn.00411860
mov ebx, dword [esp + 0x6c]
jmp 0x41ad36
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x6c]
cmp eax, 0
jne 0x41ad13
mov eax, str.runtime:_g_is_running_but_p_is_not
mov dword [esp], eax
call fcn.00411860
mov ebx, dword [esp + 0x6c]
jmp 0x41ad13
jmp 0x41acbf
mov eax, str.runtime:_newstack_framesize_p_argsize_p_sp_p_stack__p___p__n_tmorebufpc:_p_sp:_p_lr:_p_n_tschedpc:_p_sp:_p_lr:_p_ctxt:_p_n
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xc], ecx
mov eax, dword [ebx + 0x3c]
add eax, 0xfffff700
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x6c], ebx
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x30], eax
call fcn.00412350
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x6c]
jmp 0x41ac3d
jmp 0x41ac27
xor eax, eax
jmp 0x41abf3