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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4114d7
sub esp, 0x90
mov ecx, dword [esp + 0x94]
xor ebx, ebx
mov ebx, dword [0xb30160]
mov ebp, ecx
sub ebp, ebx
mov ebx, dword [0xb30160]
sub ecx, ebx
shr ecx, 2
xor ebx, ebx
mov edi, dword [0xb30160]
mov ebp, ecx
shr ebp, 2
sub edi, ebp
dec edi
and ecx, 3
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], ecx
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 0x14]
mov dword [esp + 0x5c], ebp
mov ebx, dword [esp + 0x98]
cmp ebx, 8
jne 0x410ddd
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx]
cmp ebp, 4
jne 0x410d80
mov ebx, dword [esp + 0x9c]
cmp ebx, 4
jne 0x410d2e
mov ebx, dword [0xb3da08]
cmp ebx, 0
jne 0x410d08
mov eax, edi
movzx ebp, byte [edi]
mov edx, ebp
mov ecx, dword [esp + 0x7c]
mov ebx, 1
cmp ecx, 8
jae 0x410d04
shl ebx, cl
or ebx, edx
mov byte [eax], bl
add esp, 0x90
ret
xor ebx, ebx
jmp 0x410cf7
mov dword [esp + 0x78], edi
mov dword [esp], edi
mov ecx, dword [esp + 0x7c]
mov ebx, 1
cmp ecx, 8
jae 0x410d2a
shl ebx, cl
mov byte [esp + 4], bl
call dbg.runtime/internal/atomic.Or8
jmp 0x410cfd
xor ebx, ebx
jmp 0x410d1d
mov ebx, dword [0xb3da08]
cmp ebx, 0
jne 0x410d5a
mov eax, edi
movzx ebp, byte [edi]
mov edx, ebp
mov ecx, dword [esp + 0x7c]
mov ebx, 3
cmp ecx, 8
jae 0x410d56
shl ebx, cl
or ebx, edx
mov byte [eax], bl
jmp 0x410cfd
xor ebx, ebx
jmp 0x410d4e
mov dword [esp + 0x78], edi
mov dword [esp], edi
mov ecx, dword [esp + 0x7c]
mov ebx, 3
cmp ecx, 8
jae 0x410d7c
shl ebx, cl
mov byte [esp + 4], bl
call dbg.runtime/internal/atomic.Or8
jmp 0x410cfd
xor ebx, ebx
jmp 0x410d6f
mov ebx, dword [esp + 0x5c]
movzx ebp, byte [ebx]
mov eax, ebp
and eax, 3
mov ebx, dword [0xb3da08]
cmp ebx, 0
jne 0x410dba
mov edx, edi
movzx ebp, byte [edi]
mov esi, ebp
mov ecx, dword [esp + 0x7c]
mov ebx, eax
cmp ecx, 0x20
jae 0x410db6
shl ebx, cl
or ebx, esi
mov byte [edx], bl
add esp, 0x90
ret
xor ebx, ebx
jmp 0x410da9
mov dword [esp + 0x78], edi
mov dword [esp], edi
mov ecx, dword [esp + 0x7c]
mov ebx, eax
cmp ecx, 0x20
jae 0x410dd9
shl ebx, cl
mov byte [esp + 4], bl
call dbg.runtime/internal/atomic.Or8
jmp 0x410daf
xor ebx, ebx
jmp 0x410dcc
xor ecx, ecx
mov dword [esp + 0x40], ecx
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x78], edi
mov dword [esp + 0x68], edi
mov ebx, dword [esp + 0xa0]
movzx ebp, byte [ebx + 0xf]
xchg ebp, eax
mov byte [esp + 0x1f], al
xchg ebp, eax
movzx ebx, byte [esp + 0x1f]
and ebx, 0x40
cmp bl, 0
je 0x410e8c
mov ebx, dword [esp + 0xa0]
mov eax, dword [ebx + 0x14]
mov ecx, 4
add eax, ecx
mov dword [esp], edi
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 4]
mov dword [esp + 8], ebp
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx]
mov dword [esp + 0xc], ebp
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call dbg.runtime.heapBitsSetTypeGCProg
add esp, 0x90
ret
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx]
mov dword [esp + 0x54], ebp
mov ebx, dword [esp + 0x9c]
cmp dword [esp + 0x54], ebx
jae 0x411001
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 4]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x54], ebp
mov ebx, dword [esp + 0x54]
shr ebx, 2
cmp ebx, 0x19
ja 0x411440
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 4]
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 4]
shr ebx, 2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], 0
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
cmp ebx, ebp
jae 0x410f3b
mov dword [esp + 0x54], ecx
movzx esi, byte [edi]
mov ebx, esi
mov ecx, dword [esp + 0x34]
cmp ecx, 0x20
jae 0x411439
shl ebx, cl
or ebx, dword [esp + 0x54]
mov ecx, ebx
inc edi
mov ebx, dword [esp + 0x34]
add ebx, 8
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
cmp ebx, ebp
jb 0x410f05
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx]
mov ebx, dword [esp + 0xa0]
mov esi, dword [ebx]
shr esi, 2
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], esi
mov ebx, esi
add ebx, ebx
mov dword [esp + 0x2c], esi
cmp ebx, 0x19
ja 0x410ff7
mov ebx, dword [esp + 0x3c]
cmp ebx, 0x20
ja 0x410fa8
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x20
jae 0x411432
shl ebx, cl
or ebx, ebp
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x3c]
add ebx, dword [esp + 0x3c]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x3c]
cmp ebx, 0x20
jbe 0x410f76
mov ebx, 0x19
mov dword [esp + 0x48], eax
mov edi, edx
mov eax, ebx
xor edx, edx
div esi
mov ebx, eax
mov edx, edi
mov eax, dword [esp + 0x48]
imul ebx, esi
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0x24]
mov ebx, 1
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x20
jae 0x41142b
shl ebx, cl
dec ebx
and ebx, ebp
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x2c], esi
xor edi, edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x60], edi
xor ebp, ebp
cmp edi, ebp
je 0x411022
movzx ebp, byte [edi]
mov ecx, ebp
mov dword [esp + 0x40], ebp
inc edi
mov dword [esp + 0x60], edi
mov esi, 8
mov dword [esp + 0x2c], esi
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx]
mov dword [esp + 0x4c], ebp
mov ebx, dword [esp + 0x9c]
cmp dword [esp + 0x4c], ebx
jne 0x41137f
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 4]
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 4]
shr ebx, 2
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x28]
cmp ebx, 0
jne 0x4110ef
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 0x18]
cmp ebp, 0
je 0x4110ea
mov ebx, dword [ebp]
mov dword [esp + 0x80], ebx
mov ebx, dword [ebp + 4]
mov dword [esp + 0x84], ebx
call dbg.runtime.printlock
mov ebx, 0x565800
mov dword [esp], ebx
mov dword [esp + 4], 0x16
call dbg.runtime.printstring
call dbg.runtime.printsp
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 4], ebx
call dbg.runtime.printstring
call dbg.runtime.printnl
call dbg.runtime.printunlock
mov ebx, 0x577a20
mov dword [esp], ebx
mov dword [esp + 4], 0x2d
call dbg.runtime.throw
add esp, 0x90
ret
mov dword [ebp], eax
jmp 0x411077
mov ebx, dword [esp + 0x28]
cmp ebx, 2
jae 0x411100
mov dword [esp + 0x28], 2
mov ebx, dword [esp + 0x7c]
cmp ebx, 0
jne 0x411355
mov ebx, ecx
and ebx, 0xf
or ebx, 0xc0
mov dword [esp + 0x38], ebx
mov edx, dword [esp + 0x20]
add edx, 4
mov ebp, dword [esp + 0x28]
cmp edx, ebp
jb 0x411215
mov ebp, dword [esp + 0x28]
cmp edx, ebp
jbe 0x411168
mov ecx, edx
sub ecx, dword [esp + 0x28]
mov ebp, 4
sub ebp, ecx
mov ecx, ebp
mov ebx, 1
cmp ebp, 0x20
jae 0x41120e
shl ebx, cl
dec ebx
mov ecx, dword [esp + 0x38]
mov eax, ebx
shl ebx, 4
or ebx, eax
and ebx, ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x98]
shr ecx, 2
cmp edx, ecx
ja 0x4111b0
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x68]
mov byte [ebx], al
mov ebx, dword [esp + 0x68]
dec ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x38], 0
add edx, 4
cmp edx, ecx
ja 0x4111b0
xor eax, eax
mov ebx, dword [esp + 0x68]
mov byte [ebx], al
mov ebx, dword [esp + 0x68]
dec ebx
mov dword [esp + 0x68], ebx
add edx, 4
cmp edx, ecx
jbe 0x411198
mov eax, ecx
add eax, 2
cmp eax, edx
jne 0x4111e0
mov ebx, dword [0xb3da08]
cmp ebx, 0
jne 0x4111e7
mov ebx, dword [esp + 0x68]
movzx esi, byte [ebx]
mov ebx, esi
and ebx, 0xcc
mov ebp, dword [esp + 0x38]
or ebx, ebp
mov ebp, dword [esp + 0x68]
mov byte [ebp], bl
add esp, 0x90
ret
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov byte [esp + 4], 0xcc
call dbg.runtime/internal/atomic.And8
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov ebx, dword [esp + 0x38]
mov byte [esp + 4], bl
call dbg.runtime/internal/atomic.Or8
jmp 0x4111e0
xor ebx, ebx
jmp 0x411154
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x68]
mov byte [ebx], al
mov ebx, dword [esp + 0x68]
dec ebx
mov dword [esp + 0x68], ebx
shr ecx, 4
mov eax, esi
sub eax, 4
sub eax, 4
mov ebx, ecx
and ebx, 0xf
or ebx, 0xf0
mov dword [esp + 0x38], ebx
add edx, 4
mov ebp, dword [esp + 0x28]
cmp edx, ebp
jae 0x41112f
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x68]
xchg esi, eax
mov byte [ebx], al
xchg esi, eax
mov ebx, dword [esp + 0x68]
dec ebx
mov dword [esp + 0x68], ebx
shr ecx, 4
mov ebp, dword [esp + 0x6c]
cmp edi, ebp
je 0x4112d3
cmp eax, 8
jae 0x4112ce
mov dword [esp + 0x58], ecx
movzx esi, byte [edi]
mov ebx, esi
mov ecx, eax
cmp eax, 0x20
jae 0x4112ca
shl ebx, cl
or ebx, dword [esp + 0x58]
mov ecx, ebx
inc edi
mov ebx, ecx
and ebx, 0xf
or ebx, 0xf0
mov dword [esp + 0x38], ebx
add edx, 4
mov ebp, dword [esp + 0x28]
cmp edx, ebp
jae 0x41112f
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x68]
xchg esi, eax
mov byte [ebx], al
xchg esi, eax
mov ebx, dword [esp + 0x68]
dec ebx
mov dword [esp + 0x68], ebx
shr ecx, 4
jmp 0x411233
xor ebx, ebx
jmp 0x411286
sub eax, 8
jmp 0x41128f
xor ebp, ebp
cmp edi, ebp
jne 0x4112fe
cmp eax, 8
jae 0x4112f5
mov ebp, ecx
mov ebx, dword [esp + 0x24]
mov ecx, eax
cmp eax, 0x20
jae 0x4112fa
shl ebx, cl
or ebx, ebp
mov ecx, ebx
add eax, dword [esp + 0x3c]
sub eax, 8
jmp 0x41128f
xor ebx, ebx
jmp 0x4112eb
mov dword [esp + 0x50], ecx
movzx esi, byte [edi]
mov ebx, esi
mov ecx, eax
cmp eax, 0x20
jae 0x411351
shl ebx, cl
or ebx, dword [esp + 0x50]
mov ecx, ebx
add eax, dword [esp + 0x3c]
cmp eax, 8
jae 0x411345
mov edi, ecx
mov ebx, dword [esp + 0x5c]
movzx esi, byte [ebx]
mov ebx, esi
mov ecx, eax
cmp eax, 0x20
jae 0x411341
shl ebx, cl
or ebx, edi
mov ecx, ebx
mov edi, dword [esp + 0x5c]
inc edi
jmp 0x41128f
xor ebx, ebx
jmp 0x411331
sub eax, 8
mov edi, dword [esp + 0x5c]
jmp 0x41128f
xor ebx, ebx
jmp 0x41130e
mov ebx, 0x56f2a0
mov dword [esp], ebx
mov dword [esp + 4], 0x21
call dbg.runtime.throw
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x60]
jmp 0x411230
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x9c]
xor edx, edx
div ebx
mov ebx, eax
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
dec ebx
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx]
mov dword [esp + 0x50], ebp
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
imul ebp, ebx
mov dword [esp + 0x4c], ebp
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x50], ebp
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
add ebp, ebx
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x9c]
xor edx, edx
div ebx
mov ebp, eax
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
dec ebp
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx]
imul ebp, ebx
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 4]
add ebp, ebx
mov ebx, ebp
shr ebx, 2
mov dword [esp + 0x28], ebx
jmp 0x41105b
xor ebx, ebx
jmp 0x410fde
xor ebx, ebx
jmp 0x410f8b
xor ebx, ebx
jmp 0x410f1b
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 4]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x50], ebp
mov ebx, dword [esp + 0x50]
shr ebx, 2
add ebx, 7
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x50], ebp
mov ebx, dword [esp + 0x50]
shr ebx, 2
add ebx, 7
shr ebx, 3
dec ebx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x64], ebx
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x50]
add ebx, ebp
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx]
mov dword [esp + 0x4c], ebp
mov ebx, dword [esp + 0x4c]
shr ebx, 2
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x30]
shl ebx, 3
mov ebp, dword [esp + 0x4c]
sub ebp, ebx
mov dword [esp + 0x3c], ebp
jmp 0x411001
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.heapBitsSetType