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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x9c]
cmp eax, dword [ecx]
ja 0x409dc0
xor edx, edx
mov eax, 4
call fcn.00417120
sub esp, 0x11c
cmp byte [0x504d24], 0
je 0x409de1
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x60]
cmp eax, 0
jle 0x409de8
add esp, 0x11c
ret
cmp dword [0x503f48], 0
jne 0x409de1
cmp dword [0x4f6140], 0xfffffffe
jne 0x409e69
mov ecx, str.GOGC
mov dword [esp], ecx
call fcn.00410150
mov edx, eax
cmp eax, 0
je 0x40a638
movzx eax, byte [eax]
cmp eax, 0
je 0x40a638
mov dword [esp + 0xd8], edx
mov dword [esp], edx
mov ecx, 0x4f7951
mov dword [esp + 4], ecx
call fcn.00416120
cmp eax, 0
jne 0x40a61e
mov dword [0x4f6140], 0xffffffff
mov ecx, str.GOGCTRACE
mov dword [esp], ecx
call fcn.00410150
cmp eax, 0
je 0x409e69
mov dword [esp], eax
call fcn.004101f0
mov dword [0x4f8c88], eax
cmp dword [0x4f6140], 0
jge 0x409e79
add esp, 0x11c
ret
mov eax, 0x4f501c
mov dword [esp], eax
call fcn.004157c0
cmp dword [esp + 0x120], 0
jne 0x409ec2
mov eax, dword [0x5044a4]
cmp eax, dword [0x50450c]
ja 0x409ec2
jne 0x409eae
mov eax, dword [0x5044a0]
cmp eax, dword [0x504508]
jae 0x409ec2
mov eax, 0x4f501c
mov dword [esp], eax
call fcn.004158d0
add esp, 0x11c
ret
lea eax, [esp + 0x114]
mov dword [esp], eax
call fcn.00412830
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov dword [eax + 0x5c], 1
call fcn.0040eab0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
cmp dword [0x4f8c88], 0
je 0x409f65
mov dword [esp], 0
call fcn.00409bf0
lea ecx, [0x5044a0]
mov eax, dword [ecx]
mov dword [esp + 0xf4], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xf8], eax
lea eax, [0x504490]
lea ecx, [0x504498]
mov edx, dword [eax]
sub edx, dword [ecx]
mov ebx, dword [eax + 4]
sbb ebx, dword [ecx + 4]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], ebx
mov dword [0x4f923c], 0
mov dword [0x4f9240], 0
mov dword [0x4f9244], 0
call fcn.0040e9c0
mov dword [0x4f9238], eax
call fcn.004095a0
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
inc dword [eax + 0x60]
cmp dword [0x4f924c], 0
jne 0x409fbc
mov ecx, 8
mov dword [esp], ecx
call fcn.0040ca40
mov dword [0x4f924c], eax
mov eax, dword [0x4f924c]
mov dword [esp], eax
mov eax, dword [0x4f9238]
mov dword [esp + 4], eax
mov eax, dword [0x4f9264]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
mov eax, 0x408f60
mov dword [esp + 0x14], eax
call fcn.0040ca90
cmp dword [0x4f9250], 0
jne 0x40a010
mov ecx, 8
mov dword [esp], ecx
call fcn.0040ca40
mov dword [0x4f9250], eax
mov eax, dword [0x4f9250]
mov dword [esp], eax
mov eax, dword [0x4f9238]
mov dword [esp + 4], eax
mov eax, dword [0x508228]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov eax, 1
mov byte [esp + 0x10], al
mov eax, 0x409840
mov dword [esp + 0x14], eax
call fcn.0040ca90
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
dec dword [eax + 0x60]
cmp dword [0x4f9238], 1
jbe 0x40a07d
mov eax, 0x4f9248
mov dword [esp], eax
call fcn.004074c0
mov eax, dword [0x4f9238]
mov dword [esp], eax
call fcn.0040ea10
mov eax, dword [0x4f924c]
mov dword [esp], eax
call fcn.0040cca0
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.00408b20
lea eax, [esp + 0x10c]
mov dword [esp], eax
call fcn.00412830
mov eax, dword [0x4f9250]
mov dword [esp], eax
call fcn.0040cca0
lea eax, [esp + 0x104]
mov dword [esp], eax
call fcn.00412830
call fcn.00409ba0
lea eax, [esp + 0xb0]
mov dword [esp], eax
call fcn.00409bf0
cmp dword [0x4f9238], 1
jbe 0x40a0f5
mov eax, 0x4f9248
mov dword [esp], eax
call fcn.00407570
mov ecx, dword [0x4f9250]
add ecx, 0x34
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
add dword [esp + 0xc0], eax
adc dword [esp + 0xc4], ecx
mov ecx, dword [0x4f9250]
add ecx, 0x3c
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
add dword [esp + 0xc8], eax
adc dword [esp + 0xcc], ecx
mov ecx, dword [0x4f9250]
add ecx, 0x44
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
add dword [esp + 0xd0], eax
adc dword [esp + 0xd4], ecx
lea eax, [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [0x4f6140]
mov ecx, eax
sar ecx, 0x1f
mov ebx, eax
lea edx, [0x5044a0]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov ebp, ecx
or ebp, edx
cmp ebp, 0
jne 0x40a609
mul ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x64
mov dword [esp + 0x10], 0
call fcn.00413b10
mov ebx, dword [0x4f8c58]
lea eax, [0x5044a0]
mov ecx, dword [eax]
add ecx, dword [esp + 0xa0]
mov edx, dword [eax + 4]
adc edx, dword [esp + 0xa4]
lea eax, [0x504508]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
mov dword [eax + 0x5c], 0
cmp dword [0x4f8c64], 0
je 0x40a232
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
inc dword [eax + 0x60]
cmp ebx, 0
jne 0x40a5e5
mov ecx, 0x40a650
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov ecx, fcn.00409da0
mov dword [esp + 0x10], ecx
call fcn.0040f8b0
mov dword [0x4f8c58], eax
mov eax, dword fs:[0x14]
mov eax, dword [eax + 4]
dec dword [eax + 0x60]
lea ecx, [0x5044a0]
mov eax, dword [ecx]
mov dword [esp + 0xec], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xf0], eax
lea eax, [0x504490]
lea ecx, [0x504498]
mov edx, dword [eax]
sub edx, dword [ecx]
mov ebx, dword [eax + 4]
sbb ebx, dword [ecx + 4]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ebx
lea eax, [esp + 0xfc]
mov dword [esp], eax
call fcn.00412830
lea ecx, [0x504510]
mov eax, dword [esp + 0xfc]
mov dword [ecx], eax
mov eax, dword [esp + 0x100]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xfc]
sub eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x100]
sbb ecx, dword [esp + 0x118]
mov ebx, dword [0x504d20]
and ebx, 0xff
lea edx, [ebx*8 + 0x504520]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [esp + 0xfc]
sub eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x100]
sbb ecx, dword [esp + 0x118]
add dword [0x504518], eax
adc dword [0x50451c], ecx
inc dword [0x504d20]
cmp byte [0x504d25], 0
je 0x40a333
mov eax, str.pause__D_n
mov dword [esp], eax
mov eax, dword [esp + 0xfc]
sub eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x100]
sbb ecx, dword [esp + 0x118]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0040d260
cmp dword [0x4f8c88], 0
je 0x40a597
lea eax, [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0x10c]
sub eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x110]
sbb ecx, dword [esp + 0x118]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x10], 0
call fcn.00413cf0
lea eax, [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x104]
sub eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x108]
sbb ecx, dword [esp + 0x110]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x10], 0
call fcn.00413cf0
lea eax, [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0xfc]
sub eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x100]
sbb ecx, dword [esp + 0x108]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xf4240
mov dword [esp + 0x10], 0
call fcn.00413cf0
mov eax, str.gc_d__d_:__D_D_D_ms___D_____D_MB__D_____D___D__D__objects___D__D__handoff___D__D__steal___D__D__D_yields_n
mov dword [esp], eax
mov eax, dword [0x504d20]
mov dword [esp + 4], eax
mov eax, dword [0x4f9238]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
shrd eax, ecx, 0x14
shr ecx, 0x14
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xf0]
shrd eax, ecx, 0x14
shr ecx, 0x14
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x40], eax
lea ecx, [0x504490]
mov eax, dword [ecx]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x48], eax
lea ecx, [0x504498]
mov eax, dword [ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x60], eax
mov ecx, dword [0x4f9250]
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x68], eax
mov ecx, dword [0x4f9250]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x88], eax
call fcn.0040d260
call fcn.004151c0
mov eax, 0x4f501c
mov dword [esp], eax
call fcn.004158d0
call fcn.0040eb90
cmp dword [0x4f8c64], 0
je 0x40a5bc
call fcn.0040f0c0
cmp dword [0x4f8c88], 1
jle 0x40a5cf
cmp dword [esp + 0x120], 0
je 0x40a5d6
add esp, 0x11c
ret
mov eax, 1
mov dword [esp], eax
call fcn.00409da0
jmp 0x40a5cf
cmp dword [0x4f8c5c], 0
je 0x40a225
mov dword [0x4f8c5c], 0
mov dword [esp], ebx
call fcn.0040e500
jmp 0x40a225
imul edx, ebx
mov ebp, eax
imul ebp, ecx
add ebp, edx
mov edx, ebx
mul edx
add edx, ebp
jmp 0x40a17a
mov ecx, dword [esp + 0xd8]
mov dword [esp], ecx
call fcn.004101f0
mov dword [0x4f6140], eax
jmp 0x409e49
mov dword [0x4f6140], 0x64
jmp 0x409e49