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

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49a23a
sub esp, 0x5c
mov ecx, dword [esp + 0x64]
nop
mov edx, dword [esp + 0x60]
test ecx, 0x80000000
je 0x499dec
shl ecx, 1
mov ebx, edx
shl edx, 1
mov ebp, ebx
shr ebx, 0x1f
or ebx, ecx
mov ecx, ebx
shl ebx, 1
shr ecx, 0x1f
shr edx, 0x1f
or ebx, edx
add ebx, 0xd7b17f80
adc ecx, 0xd
jmp 0x499df6
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov ebp, edx
and ebp, 0x3fffffff
test ecx, ecx
jge 0x499e33
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
xor esi, esi
sub esi, ebx
mov edi, 0
sbb edi, ecx
test ebp, ebp
jge 0x499e37
lea ebp, [edx - 0x3b9aca00]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov esi, 0xffffffff
sub esi, ebx
mov edi, 0xffffffff
sbb edi, ecx
jmp 0x499e37
mov edi, ecx
mov esi, ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x78]
test edx, edx
setl bl
sete al
mov esi, dword [esp + 0x74]
cmp esi, 0x3b9aca00
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, eax
or ebx, edi
test bl, bl
jne 0x499e70
xor eax, eax
jmp 0x499eb4
mov dword [esp], 0x3b9aca00
mov dword [esp + 4], 0
add esi, esi
mov dword [esp + 8], esi
adc edx, edx
mov dword [esp + 0xc], edx
call sym.runtime.int64mod
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
sete al
test ecx, ecx
sete cl
and eax, ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x74]
test al, al
je 0x499eef
test esi, esi
je 0x49a234
mov eax, ebp
cmp esi, 0xffffffff
je 0x499ecc
cdq
idiv esi
jmp 0x499ece
neg eax
mov edx, eax
mov eax, ebp
mov ebx, edx
cmp esi, 0xffffffff
je 0x499ede
cdq
idiv esi
jmp 0x499ee0
xor edx, edx
and ebx, 1
mov ebp, edx
sar edx, 0x1f
test ecx, ecx
jmp 0x49a049
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], 0x3b9aca00
mov dword [esp + 0xc], 0
call sym.runtime.int64mod
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
sete al
test ecx, ecx
sete cl
and eax, ecx
test al, al
jne 0x499f90
mov eax, 0x3b9aca00
mov ecx, dword [esp + 0x2c]
mul ecx
mov ecx, eax
mov eax, dword [esp + 0x28]
mov ebx, 0x3b9aca00
mov ebp, edx
mul ebx
add eax, 0
adc edx, ecx
cmp ecx, edx
jbe 0x499f53
add ebp, 1
mov ecx, 0
adc ecx, 0
jmp 0x499f55
xor ecx, ecx
mov ebx, dword [esp + 0x30]
mov esi, ebx
sar ebx, 0x1f
add esi, eax
adc ebx, edx
cmp ebx, edx
setb dl
xchg edi, ebx
sete bl
xchg edi, ebx
cmp esi, eax
setb al
and eax, edi
or edx, eax
test dl, dl
je 0x499f81
add ebp, 1
adc ecx, 0
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov edi, eax
jmp 0x49a09d
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x3b9aca00
mov dword [esp + 0xc], 0
call sym.runtime.int64div
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.runtime.int64div
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
call sym.runtime.int64mod
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, eax
mov eax, 0x3b9aca00
mul edx
imul ecx, ecx, 0x3b9aca00
add edx, ecx
mov ecx, dword [esp + 0x30]
mov ebx, ecx
sar ecx, 0x1f
mov ebp, dword [esp + 0x58]
and ebp, 1
add ebx, eax
adc edx, ecx
mov eax, dword [esp + 0x18]
test eax, eax
mov esi, dword [esp + 0x74]
mov eax, ebx
mov ebx, ebp
mov ebp, eax
jge 0x49a06e
test edx, edx
setne al
test ebp, ebp
setne cl
or eax, ecx
test al, al
je 0x49a068
xor ebx, 1
sub esi, ebp
mov eax, dword [esp + 0x78]
sbb eax, edx
jmp 0x49a072
mov eax, edx
mov esi, ebp
jmp 0x49a072
mov eax, edx
mov esi, ebp
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], eax
add esp, 0x5c
ret
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x3c]
shl eax, 1
shr edx, 0x1f
or eax, edx
mov edx, dword [esp + 0x34]
shl edx, 1
mov dword [esp + 0x3c], eax
shr eax, 0x1f
cmp eax, 1
jne 0x49a088
mov eax, dword [esp + 0x74]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x44], eax
jmp 0x49a101
mov ecx, ebp
shr ebp, 1
shr edi, 1
shl ecx, 0x1f
mov ebx, edx
and ebx, 1
shl ebx, 0x1f
shr edx, 1
shl eax, 0x1f
or ecx, edi
or ebx, ebp
or edx, eax
mov eax, dword [esp + 0x3c]
shr eax, 1
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x20], ecx
cmp edx, ebp
xchg edi, ebx
setb bl
xchg edi, ebx
mov eax, dword [esp + 0x3c]
cmp ecx, eax
sete al
seta cl
and edi, eax
or ecx, edi
test cl, cl
jne 0x49a15a
cmp edx, ebp
sete cl
and ecx, eax
test cl, cl
je 0x49a1b8
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x48]
cmp eax, ebx
setb cl
xchg edi, ebx
sete bl
xchg edi, ebx
mov edx, dword [esp + 0x44]
cmp edx, esi
setbe al
and eax, edi
or eax, ecx
test al, al
je 0x49a1a8
mov edx, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x44]
mov ecx, esi
sub esi, eax
mov edi, dword [esp + 0x48]
sbb ebx, edi
mov edi, dword [esp + 0x24]
cmp edi, ebx
xchg edi, ebx
setb bl
xchg edi, ebx
sete al
cmp esi, ecx
seta cl
and eax, ecx
or eax, edi
test al, al
je 0x49a195
add ebp, 0xffffffff
mov ecx, dword [esp + 0x20]
adc ecx, 0xffffffff
jmp 0x49a199
mov ecx, dword [esp + 0x20]
sub ebp, edx
mov eax, dword [esp + 0x3c]
sbb ecx, eax
mov edi, 1
jmp 0x49a1c2
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
xor edi, edi
jmp 0x49a1c2
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebx
test edx, edx
xchg edi, ebx
sete bl
xchg edi, ebx
test eax, eax
sete cl
and edi, ecx
xchg edi, eax
test al, al
xchg edi, eax
je 0x49a20e
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x44]
cmp ecx, edi
sete cl
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x48]
cmp ebx, ebp
sete bl
and ecx, ebx
test cl, cl
je 0x49a0bf
jmp 0x49a21b
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
jmp 0x49a0bf
mov eax, dword [esp + 0x18]
test eax, eax
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ebp, esi
mov esi, dword [esp + 0x74]
jmp 0x49a049
call sym.runtime.panicdivide
nop
call sym.runtime.morestack_noctxt
jmp sym.time.div