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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416353
sub esp, 0x6c
mov eax, dword [esp + 0x70]
test byte [eax], al
lea ecx, [eax + 0x40]
mov dword [esp + 0x68], ecx
mov dword [esp], ecx
call fcn.00402050
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
cmp ecx, eax
setb dl
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x78]
cmp ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
setl bl
xchg edi, ebx
and esi, edx
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4161b0
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x70]
mov esi, dword [edx + 0x4c]
mov dword [esp + 0x54], esi
mov edi, ecx
sub ecx, eax
mov dword [esp + 0x50], ecx
mov eax, ecx
mul esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x20]
sub edi, ecx
sbb ebp, ebx
mov dword [esp + 0x48], ebp
nop
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
call fcn.00402010
nop
mov ecx, dword [esp + 0x70]
lea edx, [ecx + 0x28]
mov dword [esp + 0x68], edx
mov dword [esp], edx
call fcn.00402050
mov ecx, dword [esp + 4]
mov dword [esp + 0x1c], ecx
test ecx, ecx
setne dl
mov ebx, dword [esp + 8]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
imul esi, edi
mov eax, ebx
mov ebx, dword [esp + 0x4c]
add ebx, esi
sar edi, 0x1f
mov esi, dword [esp + 0x50]
imul edi, esi
add ebx, edi
mov dword [esp + 0x50], ebx
or edx, ebp
mov ebp, dword [esp + 8]
mov dword [esp + 0x28], ebp
test dl, dl
je 0x4160eb
xor edx, edx
sub edx, ecx
mov ebx, 0
sbb ebx, eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
call fcn.00402070
nop
mov eax, dword [esp + 0x70]
lea ecx, [eax + 0x38]
mov dword [esp + 0x68], ecx
mov dword [esp], ecx
call fcn.00402050
mov eax, dword [esp + 4]
test eax, eax
setne cl
mov edx, dword [esp + 8]
test edx, edx
setne bl
or ecx, ebx
mov ebx, dword [esp + 8]
test cl, cl
je 0x41614a
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
xor ecx, ecx
sub ecx, eax
mov ebx, 0
sbb ebx, edx
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
call fcn.00402070
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
movzx edx, byte [ecx + 0x50]
test dl, dl
jne 0x4161a6
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov esi, dword [edx + 0x18]
nop
inc dword [esi + 0x7c]
mov esi, dword [0x6b0b28]
mov dword [esp + 0x64], esi
mov edi, dword [0x6b0b2c]
mov dword [esp + 0x44], edi
mov edx, dword [edx + 0x18]
mov dword [esp + 0x60], edx
xor ebp, ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
xor ebp, ebp
jmp 0x416265
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
jmp 0x4161b4
add esp, 0x6c
ret
movzx esi, byte [ecx + 0x20]
xchg esi, eax
test al, al
xchg esi, eax
je 0x41621a
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
call fcn.0044d070
movsd xmm0, qword [0x5f951c]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.0044cfd0
mov ebp, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
add ebp, eax
mov eax, dword [esp + 0x3c]
adc edx, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
sub esi, eax
mov eax, dword [esp + 0x50]
sbb eax, ebx
sub esi, ebp
sbb eax, edx
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebp
call fcn.00416360
add esp, 0x6c
ret
mov edx, dword [esp + 0x40]
inc edx
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], ebp
mov ecx, dword [esp + 0x70]
mov ebp, edx
mov edx, dword [esp + 0x60]
cmp ebp, edi
jge 0x416304
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebp
mov eax, dword [esi + ebp*4]
test byte [eax], al
add eax, 0x948
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00416770
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp al, 1
ja 0x4162c3
test al, al
jne 0x4162eb
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x416246
cmp al, 2
je 0x4162cd
cmp al, 3
jne 0x4162e6
mov ebp, dword [esp + 0x4c]
add ebp, ecx
mov ecx, dword [esp + 0x54]
adc ecx, edx
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x416246
cmp al, 4
jne 0x41633c
mov eax, dword [esp + 0x30]
add eax, ecx
mov ebx, dword [esp + 0x34]
adc ebx, edx
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x4c]
jmp 0x416246
nop
mov ebp, dword fs:[0x14]
mov ebp, dword [ebp]
mov esi, dword [edx + 0x7c]
lea edi, [esi - 1]
mov dword [edx + 0x7c], edi
cmp esi, 1
jne 0x41632f
movzx edx, byte [ebp + 0x65]
test dl, dl
je 0x41632f
mov dword [ebp + 8], 0xfffffade
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x4c]
jmp 0x4161b4
lea eax, str.invalid_limiter_event_type_foundremovespecial_on_invalid_pointerruntime.semasleep_wait_abandonedruntime:_failed_to_release_pagesruntime:_fixalloc_size_too_largeruntime:_mcall_function_returnedruntime:_stack_split_at_bad_timeruntime:_sudog_with_non_nil_elemruntime:_sudog_with_non_nil_nextruntime:_sudog_with_non_nil_prevscanstack:_goroutine_not_stoppedscavenger_state_is_already_wiredslice_bounds_out_of_range___x::_slice_bounds_out_of_range__:_x:_slice_bounds_out_of_range__::_x_sweep_increased_allocation_countxa
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.0042ee20
nop
call fcn.00450c10
jmp fcn.00415fc0